The reason I have changed

  |  @In (create=true) TeamHome teamHome;

to


  |  @In (create=true) TeamHome oppTeamHome;

is because I also have a second TeamHome attribute in GameHome.java

@In(create = true) TeamHome oppTeamHome;
  | @In(create = true)
  | RoundHome roundHome;
  | @In(create = true)
  | GroundHome groundHome;
  | @In(create = true) TeamHome homeTeamHome;

Do i need to rename TeamHome.java to OppTeamHome.java  and make another similar 
class called HomeTeamHome.java.

My database table Game has multiple foreign keys to the same table Team.



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052029#4052029

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052029
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to