When an entity is loaded using query, postLoad() call back is not invoked. postLoad() works only with entityManager.find(clazz, id)
As per the JPA specification: "The PostLoad method is invoked before a query result is returned or accessed or before an association is traversed." Example: @EntityListeners(value={FooEntityListner.class}) @Entity public class Foo extends BaseEntity { } public class UnownedRelationLoader { public void postLoad(BaseEntity entity) { --- } Query q = getEntityManager().createQuery("select from " + Foo.class.getName()); callback will not be called in above case. Reported the issue here http://code.google.com/p/googleappengine/issues/detail?id=3326 Please vote for it. -- Sudhir Ramanandi http://www.ramanandi.org -- 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-j...@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.