This content has been marked as final.
Show 2 replies
-
1. Annotation error with Many-to-Many.
wdfink Feb 7, 2011 10:36 AM (in response to samwun9988)I suppose that only the leading attribute should have the 'mappedBy' attribute.
-
2. Annotation error with Many-to-Many.
samwun9988 Feb 8, 2011 3:48 AM (in response to wdfink)Thank you very much for the suggestion.
The database design had a little issue with many-to-many relationship.
After removed the Foreign Key on the table, made it becomes one-to-many relationship, and re-generate the codes, problem is gone.
Thanks
Sam