[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-2517) org.hibernate.tool.hbm2ddl.SchemaExport create() method drop tables before creation
Diego Pires Plentz (JIRA)
noreply at atlassian.com
Sun Aug 19 01:57:13 EDT 2007
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Diego Pires Plentz resolved HHH-2517.
-------------------------------------
Resolution: Duplicate
That is the expected behavior. Btw, we improved the docs to explain this in a more user-friendly way.
> org.hibernate.tool.hbm2ddl.SchemaExport create() method drop tables before creation
> -----------------------------------------------------------------------------------
>
> Key: HHH-2517
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2517
> Project: Hibernate3
> Issue Type: Bug
> Components: core
> Affects Versions: 3.2.2
> Reporter: Oleg Byelkin
> Assignee: Diego Pires Plentz
> Priority: Minor
>
> IMO slightly unexpected behavior. The method should just create tables and foreign keys. Besides, in previous Hibernate versions that method just create tables.
> If you are agree with me, pls. fix it as:
> public void create(boolean script, boolean export)
> {
> execute(script, export, false, TRUE);
> }
--
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