[jboss-user] [EJB 3.0 Users] - One-To-many & Many-To-One - @Join columns on both sides or

CatchSandeepVaid do-not-reply at jboss.com
Sun Nov 8 09:38:15 EST 2009


   [P-279 of EJB3 In Action] states:
   "Note that the exact @JoinColumn vspecification could have been repeated for both the Bid.item and Item.bids persistent fields on
     either side of the relationship."
     
	 [P-280 of EJB3 In Action] states:
	 "The persistence provider will generate deployment-time errors if you specify @JoinColumn on both sides of a bidirectional one-tomany
     relationship."
     
     Aren;t these 2 statements contradictory?

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

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4264446



More information about the jboss-user mailing list