Branch: refs/heads/4.4
Home:
https://github.com/hibernate/hibernate-search
Commit: 8e1ae85c19fbf6cdf6c7f152e9fe9bf35467588c
https://github.com/hibernate/hibernate-search/commit/8e1ae85c19fbf6cdf6c7...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2014-04-08 (Tue, 08 Apr 2014)
Changed paths:
M
engine/src/main/java/org/hibernate/search/engine/metadata/impl/AnnotationMetadataProvider.java
A
orm/src/test/java/org/hibernate/search/test/engine/optimizations/mappedsuperclasscollection/CollectionOfStringsFieldBridge.java
A
orm/src/test/java/org/hibernate/search/test/engine/optimizations/mappedsuperclasscollection/EntityExtendingMappedSuperclassWithCollectionField.java
A
orm/src/test/java/org/hibernate/search/test/engine/optimizations/mappedsuperclasscollection/InheritedCollectionFieldCollectionUpdateEventTest.java
A
orm/src/test/java/org/hibernate/search/test/engine/optimizations/mappedsuperclasscollection/MappedSuperclassWithCollectionField.java
Log Message:
-----------
HSEARCH-1583 Collect collectionRoles taken into account in the optimizations to declare
them for all subclasses
ORM considers that a field belonging to a @MappedSuperClass is attached to the first
@Entity subclass.
Adding every collectionRoles to the subclasses seems to be a nice way to fix this without
depending too
much on ORM behavior or JPA API.