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

Archie Cobbs (JIRA) noreply at atlassian.com
Sun Jul 10 16:25:14 EDT 2011


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42933#comment-42933 ] 

Archie Cobbs commented on HHH-6079:
-----------------------------------

I'm seeing this also in 3.6.2.Final, confounding our schema check verification.


> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the hibernate-issues mailing list