ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mkhitaryan, Aram" <Aram.Mkhitar...@lycos-europe.com>
Subject RE: CDATA inside or outside of statement tag
Date Thu, 24 Aug 2006 07:23:57 GMT
Only the second will work.


In first case you will get a lot of SQLExcwptions because “<dynamic ….” also will
be in your sql statement.






From: Mississippi John Hurt [mailto:johnhurt@gmail.com] 
Sent: Thursday, August 24, 2006 1:01 AM
To: user-java@ibatis.apache.org
Subject: CDATA inside or outside of statement tag


In my statement in xml, if I use <dynamic> tag, does the CDATA wrap around the whole
statement, ie

<dynamic>  </dynamic>
<dynamic> </dynamic>

or I use to use separate CDATA sections as in below...
<dynamic>  CDATASTART  CDATAEND </dynamic>
<dynamic>  CDATASTART   CDATAEND</dynamic>

View raw message