¡@

Home 

java Programming Glossary: meid

Mapping same class relation

http://stackoverflow.com/questions/3813941/mapping-same-class-relation

myFriendsId class MyFriends MyFriendsId key property name meId key property name myFriendId composite id many to one name me.. class MyFriendsId implements Serializable private Integer meId private Integer myFriendId getter's and setter's public MyFriendsId.. and setter's public MyFriendsId public MyFriendsId Integer meId Integer myFriendId this.meId meId this.myFriendId myFriendId..

Mapping same class relation - continuation

http://stackoverflow.com/questions/3845772/mapping-same-class-relation-continuation

class MyFriendsId implements Serializable private long meId private long myFrId getter's and setter's public MyFriendsId.. and setter's public MyFriendsId public MyFriendsId long meId long myFriendId this.meId meId this.myFrId myFriendId getter's.. public MyFriendsId long meId long myFriendId this.meId meId this.myFrId myFriendId getter's and setter's public long..