IDEA 6.0 - Persistence Unit many-to-many not working?
What are the pre-requisites to get a many to many mapping with the EJB3 "Generate Persistence Mapping Tool"?
The okay button seems grayed out every time I try to map a many-to many relationship.
Please see the attached picture for the database layout, etc...
Attachment(s):
Picture 4.png
Please sign in to leave a comment.
MySQL tables seem to need to be of type "innodb". Seems to fix the issue.
milmber wrote:
The screenshot shows that JoinColumns are not set for the JoinTable.
Regards,
Gregory Shrago
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"