[hibernate-issues] [Hibernate-JIRA] Created: (ANN-586) Do no inherit context from subclasses when ordering entities

Emmanuel Bernard (JIRA) noreply at atlassian.com
Wed Mar 21 14:25:09 EDT 2007


Do no inherit context from subclasses when ordering entities
------------------------------------------------------------

         Key: ANN-586
         URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-586
     Project: Hibernate Annotations
        Type: Improvement

  Components: binder  
    Versions: 3.3.0.ga    
    Reporter: Emmanuel Bernard


This is an arguable decision and need to be deeply tested.

In AnnotationConfiguration#orderHierarchy(...)
add
> int existingIndex = original.indexOf(clazz);
> if (existingIndex != -1) clazz = original.get(existingIndex);
orderHierarchy( copy, newList, original, clazz.getSuperclass() );

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