[jboss-user] [JBoss Seam] - Re: Problem with: seam-gen deploy
pete007
do-not-reply at jboss.com
Wed Feb 6 03:28:56 EST 2008
Okay, thank you, I fixed the problem by a nasty workaround, but I will take a look at it when I find some time and report if I succeeded.
NASTY WORKAROUND:
- create three SQL-tables nodex, nodey, nodez
- change the foreignkey constraints to point to this tables
- run seam-gen
- change foreign keys to point to original intended table node
- change annotated tablename to "node" in classes Nodex, Nodey, Nodez
I know, that this isn't a good solution because the Cache is filled with three instances for every database-row, and you can get inconsistencies when editing the Nodexzy-classes, but I only use them for assigning the links between routings and nodes, so only the routings get changed.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126897#4126897
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126897
More information about the jboss-user
mailing list