I'm glad you found it easy to switch, that's what we want to hear! Max
On Sun, Oct 18, 2009 at 7:13 AM, Raphael André Bauer < raphael.andre.ba...@gmail.com> wrote: > > On Fri, Oct 16, 2009 at 10:09 PM, Max Ross > <maxr+appeng...@google.com<maxr%2bappeng...@google.com>> > wrote: > > I'm surprised to hear that you're getting USER with JDO as opposed to > User. > > Can you send me your jdoconfig.xml? Are you passing any additional > options > > when you create the PersistenceManagerFactory? > > > > FYI everything you need to know about changing this behavior is here, but > it > > shouldn't be necessary on App Engine because our JDO/JPA implementation > > defaults to PreserveCase > > > http://www.datanucleus.org/products/accessplatform_1_0/jdo/orm/datastore_identifiers.html > > Hey Max, > > thanks for your quick reply. After cleaning up I saw that my build > process copied a wrong jdoconfig.xml causing the uppercase behaviour. > Thanks for pointing me to that. > > Maybe it's interesting for you (@google) to know that it is pretty > straight forward to change from JPA to JDO. I did not use any fancy > JPA features, but all I had to do is updating my persistent classes > and creating the default jdoconfig.xml. My app now runs with JDO and > there was no need to convert the raw data in the datastore. Nice :) > > > Raphael > > > > Max > > On Fri, Oct 16, 2009 at 10:52 AM, Raphael André Bauer > > <raphael.andre.ba...@gmail.com> wrote: > >> > >> Hi, > >> > >> > >> I am currently trying to switch my app from JPA to JDO. > >> Works fine, but there is one stopper in the moment: > >> > >> A class called User will be stored as Entity "User" by JPA and as > >> Entity "USER" by JDO. > >> > >> Is there a way to tell JDO (or datanucleus) to retain the > >> upper/lowercase chars when creating a mapping from a class to an > >> entity by default? > >> > >> > >> thanks, > >> > >> ra > >> > >> > > > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 google-appengine-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~----------~----~----~----~------~----~------~--~---