Branch: refs/heads/master
Home:
https://github.com/hibernate/hibernate-search
Commit: 9bc1feadec57270b4325795a646416be8fbb3361
https://github.com/hibernate/hibernate-search/commit/9bc1feadec57270b4325...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-25 (Mon, 25 May 2020)
Changed paths:
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmIndexedTypeContext.java
R
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmByIdEntityLoader.java
R
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmCriteriaEntityLoader.java
A
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmEntityIdEntityLoader.java
A
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmNonEntityIdPropertyEntityLoader.java
Log Message:
-----------
HSEARCH-3925 Rename and document Hibernate ORM entity loaders
To clarify that the main difference between the two implementations is
the nature of the document ID.
Commit: f4fb0c455c50b713f8b36b6f25757f01f9396a8d
https://github.com/hibernate/hibernate-search/commit/f4fb0c455c50b713f8b3...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-25 (Mon, 25 May 2020)
Changed paths:
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/common/impl/HibernateOrmUtils.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmEntityIdEntityLoader.java
Log Message:
-----------
HSEARCH-3925 Move a few metamodel-related methods out of
HibernateOrmEntityIdEntityLoader
Just to make the class simpler, as we're going to change it.
Commit: 328a1ab07b1c797a087bdfc53e9a7d72ad98c4b5
https://github.com/hibernate/hibernate-search/commit/328a1ab07b1c797a087b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-25 (Mon, 25 May 2020)
Changed paths:
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmEntityIdEntityLoader.java
Log Message:
-----------
HSEARCH-3925 Clarify that we're dealing with an entityPersister, not a type
descriptor, in HibernateOrmEntityIdEntityLoader
Commit: a1eee31a248800ab5bbcb1f2e0d89f1a750d7e03
https://github.com/hibernate/hibernate-search/commit/a1eee31a248800ab5bbc...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-25 (Mon, 25 May 2020)
Changed paths:
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmEntityIdEntityLoader.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/PersistenceContextLookupStrategy.java
Log Message:
-----------
HSEARCH-3925 Rely on ORM queries rather than session.multiLoad for entity loading
Commit: be1e80e5c32dacd52790ce31072de8f4587b4592
https://github.com/hibernate/hibernate-search/commit/be1e80e5c32dacd52790...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-25 (Mon, 25 May 2020)
Changed paths:
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/EntityLoadingCacheLookupStrategyImplementor.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmEntityIdEntityLoader.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/PersistenceContextLookupStrategy.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/PersistenceContextThenSecondLevelCacheLookupStrategy.java
Log Message:
-----------
HSEARCH-3925 Remove a few EntityKey and List instantiations in
HibernateOrmEntityIdEntityLoader
This is just an optimization.
Commit: 64b0137d4bc206346528dc51a58b304a037bcca8
https://github.com/hibernate/hibernate-search/commit/64b0137d4bc206346528...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-25 (Mon, 25 May 2020)
Changed paths:
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/common/impl/HibernateOrmUtils.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmEntityIdEntityLoader.java
Log Message:
-----------
HSEARCH-3925 Use the criteria API for entity loading where possible
We only have to fall back to HQL for dynamic-map entities.
Commit: cc54e43377bd2268c21a2a21c1d56ad395bdf4fa
https://github.com/hibernate/hibernate-search/commit/cc54e43377bd2268c21a...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-25 (Mon, 25 May 2020)
Changed paths:
M
integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/dynamicmap/DynamicMapBaseIT.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmIndexedTypeContext.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmLoadingIndexedTypeContext.java
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/loading/impl/HibernateOrmNonEntityIdPropertyEntityLoader.java
Log Message:
-----------
HSEARCH-3772 Use an HQL query or a Criteria query as necessary in
HibernateOrmNonEntityIdPropertyEntityLoader
So that the loader supports dynamic-map entities, too.
Commit: f37290a256255322baeb2b531d734ddf044df970
https://github.com/hibernate/hibernate-search/commit/f37290a256255322baeb...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-25 (Mon, 25 May 2020)
Changed paths:
M
mapper/orm/src/main/java/org/hibernate/search/mapper/orm/common/impl/HibernateOrmUtils.java
Log Message:
-----------
HSEARCH-3925 Simplify HibernateOrmUtils.toRootEntityType
Compare:
https://github.com/hibernate/hibernate-search/compare/8f636e1c772d...f372...