[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6079) Random order of generated columns for a class hierarchy using @Inheritance(strategy = InheritanceType.SINGLE_TABLE)

Saša Obradović (JIRA) noreply at atlassian.com
Mon Apr 4 10:22:08 EDT 2011


Random order of generated columns for a class hierarchy using @Inheritance(strategy = InheritanceType.SINGLE_TABLE)
-------------------------------------------------------------------------------------------------------------------

                 Key: HHH-6079
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6079
             Project: Hibernate Core
          Issue Type: Bug
          Components: annotations, core
    Affects Versions: 3.6.1
         Environment: hibernate-tools-3.4.0.CR1, Oracle Database
            Reporter: Saša Obradović
         Attachments: bugreport.zip

hbm2ddl (org.hibernate.tool.ant.HibernateToolTask) using JPA generates a common table with all columns needed by inherited classes correctly.

Bug description: The columns are generated in a not predictable order. Each invocation could result in a completely new order.

This makes ensuring consistency of the domain model after each iteration (for example using svn diff) virtually impossible.

We have been experiencing this behaviour after upgrading Hibernate from version 3.3.2 to version 3.6.1.



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