Hi, Could anyone share the impelmentation of your JPA demo in GAE? Actually I encounter some problem during deploy them in GAE.
a. The keys, GAE do not like Long as Key in OneToMany relation, So I use the Key type provided by GAE b. Model.mergeAndFlush(author) did not work as I expected. It could not update, and only do insert. So I changed the code if (author.id == null) { Model.persistAndFlush(author) } else { val tmp = Model.find(classOf[Author], author.id) tmp.get.name = author.name Model.mergeAndFlush(tmp.get) } I think it is some attach/detach problem. Thanks 2009/4/15 Derek Chen-Becker <dchenbec...@gmail.com> > Doh. There are my Hibernate roots showing through. HQL doesn't require the > select (it's implicit if you only have one class to select from). I don't > like inconsistent behavior, so that's a little strang about find working > again. > > Derek > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---