In situations when using the addEqualTo method on a Criteria object, if the column being compared against is of type VARCHAR, does OJB enclose the criteria in single quotes?
What if the string has a single quote in it?
In Oracle SQL syntax, you would need double quotes....
WHERE name = 'O''Neil'


--Bobby





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to