[jboss-user] [EJB 3.0] - Re: @SecondaryTable
NigelWhite
do-not-reply at jboss.com
Wed Jun 13 10:04:11 EDT 2007
I think the answer is
| @ManyToOne(fetch=FetchType.LAZY, optional = false)
| @JoinColumn(table="ContactDetails", name="player_id")
| public Player getPlayer() {
| return player;
| }
| public void setPlayer(Player player) {
| this.player = player;
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053987#4053987
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053987
More information about the jboss-user
mailing list