Who is responsible for escaping the string in EntityWhereString

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Who is responsible for escaping the string in EntityWhereString

Crazy Java
Hi,


I am currently solving an issue with ofbiz. We are using EntityWhereString
and it turned out that we are passing a string with apostrophe character as
the sqlString argument (in our case it is completely legal to use such
character). It makes sense that it will fail.

The question is how to write an EntityCondition that will respect such
value?


Thanks,
Martin Skurla