--
View this message in context:
http://www.nabble.com/Ibatis-%2B-Spring-tp22745182p22745182.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
I am currently working on a project using Spring + Ibatis. DBA's have
recently switched a varchar field into a CLOB field to support large Strings
of data.
My SQL map has the following
which maps to a String object in my java class.
I can retrieve data ok. Its when I try to insert data t
a.rubalcaba wrote:
>
> I am currently working on a project using Spring + Ibatis. DBA's have
> recently switched a varchar field into a CLOB field to support large
> Strings of data.
>
> My SQL map has the following
>
>
>
> which maps to a String
So what parameter marks should I be using?
Larry Meadors wrote:
>
> Yikes, be careful with that thing, it's loaded. ;-)
>
> $variable$ does substitution, so should really only be used as an
> absolute last resort because of the SQL injection risk.
>
> Also, this statement will be sent to the
Normally if you had a SQL XML File like Friend.xml this file would be
referenced in the sql-map-config.xml file when its loaded. Normally the
Friend.xml would be packaged in the .war file @ deployment time. Is it
possible to store those SQL XML files outside of the .war package. For
example if