hello,
i'm working on a web application with GWT,JPA, and google app engine, and i
have this kind of association between entity :
@Entity
public class Person{
@id
Long person_Id;
@OneToOne(cascade=CascadeType.ALL,*fetch=FetchType.LAZY*)
@JoinColumn(name="car_Id",referencedColumnName="car_Id")
private Car car;
}
@Entity
public class Car{
@id
Long car_Id;
string color;
}
can someone tell me how can i get the color of the car of each person with *
entitymanager*
thanks
--
Akram MONCER
Personne
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.