|
HHH-8163
replaces old hibernate-specific @IndexColumn annotation by use of JPA annotation @OrderColumn + hibernate-specific @ListIndexBase for list base collection relations of entities.
The ListIndexBase annotation is the only way to set an offset on the list-index position in the collection.
The annotation @ListIndexBase misses the @Retention(RUNTIME) annotation, so ListIndexBase is not available through java reflexion API and hence not available to AnnotationBinder.
All the List collection are then 0-indexed base collections
Find here a simplistic fix for this issue.
I have seen some tests taht are using this annotation, but don't know if they need to be updated to reflect this fix.
|