openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Goldner <>
Subject Problems with MappingTool runtime synchronization and Turkish locale
Date Thu, 21 Jun 2012 14:09:25 GMT
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 to support a locale different from
the default.  

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 toUpper/toLower issue.

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


Mike Goldner

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message