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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...