[ojb-users] 1->M<->N Again, different question
Brought to you by:
thma
From: Grim S. <gri...@ya...> - 2002-06-19 05:20:02
|
Thanks for the rapid patch... OJB is now generating SQL, however the last insert is: INSERT INTO ACCOUNT_ROLE (ACCOUNT_OID,ROLE_OID) VALUES ( 0,1,0 ) I'm no sure what the third 0 is for... While the Account<->Role is M-N, the Person->Account is 1-N, but the Person OID shouldn't be part of the mapping between Account<->Role. Do I need a third field for the PERSON_OID? or is my code messed up somehow? repository_user.xml is attached... Okay, it's the same message I posted a few days ago... with the exception fo this line and the following: Point me in the right direction and I'll fix it myself.. don't mind at all.. just don't feel like going through the entire bit right now :) ===== Grim Shieldsson (James A Barrows) Acting Chieftain of Clan StormWolf Barbarian Freehold Alliance "The real destroyer of the liberties of the people is he who spreads among them bounties, donations and benefits." --Plutarch __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com |