I am getting Duplicate Annotation errors with my User class.  I have
User_Account and User_Territory as association tables.  I also have Account
and Territory tables as well.  My User_Account table has more than just a
user_id and an account_id.  Similarly my User_Territory table has more than
just a User_id and a territory_id.
>From what I understand it is necessary for me to create UserTerritory.java
and UserAccount.java.  I don't see a way to accomplish this connection
without having duplicate annotations in atleast my User.java file.  I looked
at the CaveatEmptor examples from Hibernate and it seems that the examples
freely use duplicate annotations.  Yet, when I try to compile my Java files
I fail due to the Duplicate annotation error.  I am wondering how the
CaveatEmptor examples are getting around this problem.
-- 
View this message in context: 
http://www.nabble.com/Duplicate-Annotation-tf4753324s2369.html#a13592073
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to