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