Hibernate version:
2.1.7
Dialect:
GenericDialect
Hi All,
I have come across a situation where I need some assitance. I have a Criteria query that is failing when apostrophe's are present. I am using a priopriatary flat file db. The JDBC driver that I am using wants a \ to escape apostrophe's in a string. I assume the the GenericDialect is either using another apostrophe for the escape, or not doing anything at all. I have read the API for Dialect, and am unable to understand where the apostrophe's are being checked at.
Can someone point me to the method that needs to be changed so I can extend GenericDialect with my own implemenation? I hope I am heading down the right path. We have a generic class that is using the Criteria query, and I would like to avoid having to change the way the query is being done if possible.
TIA for the help,
Paul Zepernick
|