This content has been marked as final.
Show 2 replies
-
1. Re: Seam / Hibernate adds extra foriegn keys?
gavin.king Apr 12, 2007 6:18 PM (in response to dustismo)Yes, this is a problem affecting Hibernate SchemaUpdate with MySQL. I suggest that you disable automatic SchemaUpdate.
-
2. Re: Seam / Hibernate adds extra foriegn keys?
dustismo Apr 20, 2007 3:42 PM (in response to dustismo)For anyone else having this problem, commenting out this section in /seam-gen/build.xml fixed the problem.
<!-- <condition property="hibernate.hbm2ddl.auto" value="update"> <and> <equals arg1="${database.exists}" arg2="n"/> <equals arg1="${database.drop}" arg2="n"/> </and> </condition> -->
-Dustin