[jboss-user] [JBoss Seam] - how to make seam generate-entities detect many to many relat
do-not-reply at jboss.com
Mon Apr 23 06:18:13 EDT 2007
I am using 'seam generate-entities' to reverge engineer an existing database.
It seams that it doesn't correclty recognise a many to many relation i have and it generates a new entity to represent the relashioship.
Currently my schema is:
Table 'Request' id: 'RequestID'
Table 'Document' id: 'DocumentID'
many to many relationship table: 'RequestDocumentIDs'
columns: 'RequestID', 'DocumentID' (with foreign key contraints)
How does seam detects many to many relatioships? do i have to give the tables specific names?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039773#4039773
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039773
More information about the jboss-user