[jboss-user] [JBoss Seam] - Re: @In (create=true)

blackers do-not-reply at jboss.com
Thu Jun 7 05:53:06 EDT 2007


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



More information about the jboss-user mailing list