Results 1 to 4 of 4
- 11-08-2009, 03:15 PM #1
Member
- Join Date
- Oct 2009
- Posts
- 16
- Rep Power
- 0
One-To-many & Many-To-One - @Join columns on both sides or mapped-by:
[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?
- 11-09-2009, 06:38 AM #2
Senior Member
- Join Date
- Aug 2009
- Posts
- 2,388
- Rep Power
- 6
In what way?
- 11-18-2009, 06:59 PM #3
Member
- Join Date
- Oct 2009
- Posts
- 16
- Rep Power
- 0
Stmt1: It says you can specify this annotation on both sides
Stmt2: It will give you deployment time errors.
- 11-18-2009, 07:36 PM #4
Senior Member
- Join Date
- Aug 2009
- Posts
- 2,388
- Rep Power
- 6
Similar Threads
-
3D Texture-Mapped Rectangle with a Billboard behavior
By aRTx in forum Advanced JavaReplies: 5Last Post: 05-11-2009, 04:27 PM -
Memory-Mapped File-(MappedByteBuffer )
By lenah in forum Advanced JavaReplies: 3Last Post: 12-22-2008, 07:00 PM -
Triangle Sides program
By jamesov89 in forum New To JavaReplies: 6Last Post: 10-06-2008, 03:36 AM -
Bean data not mapped to database
By kriskras in forum Enterprise JavaBeans (EJB)Replies: 1Last Post: 07-19-2008, 09:13 AM -
Need help making ball move and bounce off of sides of JPanel
By adlb1300 in forum New To JavaReplies: 2Last Post: 12-01-2007, 07:48 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks