exactly.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4116362#4116362
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4116362
___
jboss-user mailing list
jboss-user@lists.jboss.org
I haven't try to use seam-gen to generate many-to-many relationship from DB.
But I use the new generate-ui target to do it from existing classes.
It needs changes not only in view templates (view, list and edit.xhtml.ftl)
but also in EntityHome.java.ftl.
About M2M and reverse DB: you should
When I say doesn't support, perhaps what I mean is isn't garunteed to do it
correctly. I believe it works fine in Hibernate Tools (the reveng from db
part) but not in generating the UI as atao says.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4114428#4114428
Hello,
Thanks for the reply, but it seams to do.
Indeed, I've managed to generate a many-to-many relationship with seam-gen
between two tables NAME1 and NAME2:
The many-to-many relationship table should:
- its name should be NAME1_NAME2
- it has the right to have only 2 columns : a double
seam-gen doesn't support many-to-many relationships.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4113989#4113989
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113989
___