[hibernate-issues] [Hibernate-JIRA] Created: (HHH-5073) SchemaExport tries to drop foreign key for non-existent table
wavemaker (JIRA)
noreply at atlassian.com
Mon Apr 5 18:40:39 EDT 2010
SchemaExport tries to drop foreign key for non-existent table
-------------------------------------------------------------
Key: HHH-5073
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5073
Project: Hibernate Core
Issue Type: Bug
Components: core
Affects Versions: 3.5.0-Final
Environment: Windows / MySQL
Reporter: wavemaker
We execute SchemaExport in our java program to export a new database to mysql. The DDL SchemaExport generates always contains statements to drop foreign keys (eg. alter table cbusermgntdb.Users drop foreign key FK4E39DE8F69B1523;) on the top and it causes an error message (eg. Table 'cbusermgntdb.users' doesn't exist) to be returned.
The DDL should not include the "drop foreign key" statements for new tables.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list