[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-2970) hbm2ddl does not respect constraint when generating DROP Statements (at least with DB2,)

Diego Pires Plentz (JIRA) noreply at atlassian.com
Sat Dec 8 18:14:56 EST 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Diego Pires Plentz resolved HHH-2970.
-------------------------------------

      Assignee: Diego Pires Plentz
    Resolution: Incomplete

Philippe, if you have some more details on this issue, please comment and I will reopen it. If you find some problem, let me know (and with the highest level of details that you can provide ;-) )

> hbm2ddl does not respect constraint when generating DROP Statements (at least with DB2,)
> ----------------------------------------------------------------------------------------
>
>                 Key: HHH-2970
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2970
>             Project: Hibernate3
>          Issue Type: Bug
>    Affects Versions: 3.2.5
>         Environment: Hibernate 3.2.5, DB2 , Postgres
>            Reporter: Philippe Mouawad
>            Assignee: Diego Pires Plentz
>
> I use hbm2ddl to generate the Schema of my Database.
> Hibernate generates Drop Table statements using alphabetic order ignoring Constraints between tables.
> It works fine with Oracle thanks to "cascade constraints" statements but fails with at least Postgres and DB2.
> Would be great if constraints were dropped before dropping tables.
> Thanks.
> Philippe.

-- 
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