Re: [appengine-java] Questions about JDO/JPA versioning

2010-01-28 Thread Ikai L (Google)
1. No, the parent will not be updated. You are updating a Child - not a parent. However - you will want to be very careful with Child entities in a Collection. I believe there is an outstanding issues where if you only update the Child entity, the Parent entity will not know the Collection has chan

[appengine-java] Questions about JDO/JPA versioning

2010-01-19 Thread Brandon
Hi, Consider an example where class A has a "child" property of class B, and B has a property "title", as follows: @PersistenceCapable @Version(... field-name="version") Class A { protected long version; @Persistent protected B child; } @PersistenceCapable Class B { @P