There is some more information about this over here:

http://www.datanucleus.org/servlet/forum/viewthread_thread,5975

Why is Google disabling this functionality?  What potential harm comes
from using ObjectStringConverters for simple types, especially all the
common ones datanucleus provides?

On Feb 17, 4:51 pm, Jeremy Norris <[email protected]> wrote:
> I have a simple JPA @Entity that has a property of type
> java.util.Locale.
>
> When I try and persist this, I get the following error:
>
> >> java.lang.IllegalArgumentException: locale: java.util.Locale is not a 
> >> supported property type.
> >>        at 
> >> com.google.appengine.api.datastore.DataTypeUtils.checkSupportedSingleValue(
> >>  DataTypeUtils.java:174)
> >> ...
>
> In the appengine SDK (1.3.1) in datanucleus-core-1.1.5.jar contains
> plugin.xml contains the following type conversion "extension":
>
> <java-type name="java.util.Locale" persistent="true" embedded="true"
> string-converter="org.datanucleus.store.types.LocaleStringConverter"/>
>
> How do I "activate" this type converter in my @Entity class?
>
> Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to