Branch: refs/heads/master
Home:
https://github.com/hibernate/hibernate-search
Commit: d43b49e8613a137edba3ce5aa2a0a89d99532029
https://github.com/hibernate/hibernate-search/commit/d43b49e8613a137edba3...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2016-06-20 (Mon, 20 Jun 2016)
Changed paths:
M
orm/src/main/java/org/hibernate/search/query/hibernate/impl/CriteriaObjectInitializer.java
A
orm/src/test/java/org/hibernate/search/test/query/initandlookup/CriteriaObjectInitializerAndHierarchyInheritanceTest.java
Log Message:
-----------
HSEARCH-2301 Use the most specific type to build the criteria
When building the criteria to get the entities, we used to always use
the root entity type of the hierarchy even if we only want to get
entities from one subtype.
This is especially counter productive when we are in the case of a join
inheritance with many subtypes: we then build a query with a left join
for each subtype instead of a query only targeting the most specific
subtype possible.
Commit: cd09b0252e37fb5520d7db952330e85261c53993
https://github.com/hibernate/hibernate-search/commit/cd09b0252e37fb5520d7...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2016-06-20 (Mon, 20 Jun 2016)
Changed paths:
M
orm/src/test/java/org/hibernate/search/test/query/initandlookup/CriteriaObjectInitializerAndHierarchyInheritanceTest.java
Log Message:
-----------
HSEARCH-2301 Test for the effect of full-text filtering on the generated loading
Criteria
Compare:
https://github.com/hibernate/hibernate-search/compare/397ea5aa7780...cd09...