Discussion:
[Middlegen-user] jboss 3.2rc1
Jon Finanger
2003-01-17 12:33:05 UTC
Permalink
Have anyone tried jboss 32rc1 ??
It states this in its release notes: "added support for foreign keys mapped to primary keys"

Assuming that fkcmp know is true, middlegen generates cmp methods in addition to the cmr methods which may be the reason of my
error(se below).
But it seems like jboss wants to create two equal fields in the table.

Setting fkcmp to false gives problems in tables where the fk is both fk and pk.

any suggestions?

-Jon

11:56:26,092 ERROR [EntityContainer] Starting failed
org.jboss.deployment.DeploymentException: Error while creating table; - nested t
hrowable: (java.sql.SQLException: Invalid argument value: Duplicate column name
'controlpointtypeid')

Loading...