On 7 October 2010 05:15, hadf hadrien.for...@gmail.com wrote:
how jpa or jdo knows that Car is associated to User ?
public class Car {
@OneToMany
private SetKey users; //this relation ship is untyped
}
Two alternative datastore frameworks add typing in different ways. Twig
uses
Hello,
I read that many to many relation ship must resolved by using sets of
Key.
But what I don't understand is how do I specify the type the Key is
referencing.
I mean that if I have a many to many relation ship between Car and
User, how jpa or jdo knows that Car is associated to User ?
public
Not sure why the datastore needs to know that a Car is associated with a
particular User.
There is no easy way for the datastore to handle cascading deletes in a
M-to-M relationship w/o reference counting.
Also setting the Fetch policy to load children with the parent load is not
an option due to