[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Empty foreign key circular dependency
lrc
do-not-reply at jboss.com
Fri May 1 08:56:04 EDT 2009
Hi!
I'm implementing a new (fairly simple) model using JBoss 5.1.0.CR1 (but saw the same problem with 5.0.1). While my model doesn't appear to have any circular dependencies, on deployment I get the following:
14:48:51,397 ERROR [AbstractKernelController] Error installing to Start: name=persistence.unit:unitName=ampep.ear/AasSystem.jar#Aas state=Create
org.hibernate.AnnotationException: Foreign key circularity dependency involving the following tables:
at org.hibernate.cfg.AnnotationConfiguration.buildRecursiveOrderedFkSecondPasses(AnnotationConfiguration.java:518)
...more stack trace...
WTF? Empty dependency? I have not assigned any foreign keys in the database, so I can only assume this is a hibernate problem. Anyone seen this before? Any ideas whay could be happenening?
For the record, the database is an Oracle 11, and JBoss is running on an Ubuntu 8.10 x86 box.
Thanks in advance,
-Lars
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228000#4228000
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228000
More information about the jboss-user
mailing list