One warning about JPA: Unless something has changed in the last year, the datanucleus JPA interface doesn't provide a detach() method. This means you cannot (ever) serialize your entities (say, into memcache). This is a bit of a mess because JPA doesn't presume bytecode manipulation (Hibernate & friends do dirty change detection by comparing against a cached copy of the fields) but datanucleus uses their JDO implementation (including bytecode manipulation) to implement JPA. Thus JDO has a detach() method but JPA does not.
Of course, the "mid-level APIs" like Objectify/Twig/SimpleDS/Slim3 which do not use bytecode manipulation do not have this issue. Jeff On Fri, Dec 3, 2010 at 9:18 AM, har_shan <harsha...@gmail.com> wrote: > yes, this is there all over internet and like any other appengine > newbie am in same dilemma but now i want to hear recommendation from > those who have used/tried both and hence their experiences > > also i know that Google doesn't play favorites and > > Max Ross has said in his blog... > > I'll give you the same answer I give whenever I'm asked this > question: > If you're not already familiar with JDO or JPA, use JDO because > our documentation is better. If you're more familiar with JDO than > JPA, use JDO. If you're more familiar with JPA than JDO, use JPA. If > you're equally familiar with both then you probably have a preference, > so use the one you prefer. > > Personally i have worked in a pet project using JPA + Hibernate, so am > inclined towards JPA as am bit familiar. > > BUT am starting a new app in appengine so want to be sure that am in > right path. I know that in appengine some features are missing in impl > from both JPA/JDO, due to datastore constraints, but i do not want to > face a situation in future when i hear that life would have been easy > when i have chosen JDO for AppEngine! > > Am also ready to spend time learning JDO if its really worth it. So > guys, please share your experiences! As always thank much in advance.. > Ask me more if needed.. > > Hari > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to google-appeng...@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.