You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by Mike Goldner <mi...@gmail.com> on 2012/06/20 22:27:17 UTC

Problems with MappingTool runtime synchronization and Turkish locale

I have an issue with the MappingTool when the computer locale is set to
Turkish.  This is a pretty well known locale quirk and I see that a
"sqlEncode" flag was added to MappingTool which would override the default
locale.  

Unfortunately, when runtime synchronization is configured in the
persistence.xml (via the "openjpa.jdbc.SynchronizeMappings" property), it
doesn't seem possible to provide the "sqlEncode" flag and MappingTool throws
an exception caused by the Turkish locale.

Is there some other way to force UTF-8 (or ENGLISH) at the OpenJPA level
when using runtime synchronization?

Thanks,

Mike Goldner