I'm having a problem with Hibernate where is saving single and double quotes as question marks. I debug the application and see the string to be saved just before a Hibernate "this.save(content);"
A sample string to be saved is as follows:
Lorem Ipsum 'is simply dummy' text of the "printing" and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,
The string persistences to the database as follows:
Lorem Ipsum ?is simply dummy? text of the ?printing? and typesetting industry. Lorem Ipsum has been the industry?s standard dummy text ever since the 1500s,
I've been using Hibernate for a couple years now and never ran into this before. The database is MySQL 5.* and the data type in the DB is TEXT.
Any suggestions would be greatly appreciated. I feel sure I will be humbled by missing something obvious but cannot think of what that might be at the moment.
Thanks in Advance
|