[hibernate-commits] [hibernate/hibernate-orm] bf2eb0: HHH-10264 - Values weren't cached after persist
GitHub
noreply at github.com
Tue Nov 10 10:14:19 EST 2015
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: bf2eb018563c09162308981193a26055e4d5e09c
https://github.com/hibernate/hibernate-orm/commit/bf2eb018563c09162308981193a26055e4d5e09c
Author: Janario Oliveira <janarioliver at gmail.com>
Date: 2015-11-10 (Tue, 10 Nov 2015)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/cache/internal/CollectionCacheInvalidator.java
M hibernate-core/src/test/java/org/hibernate/test/cache/CollectionCacheEvictionTest.java
A hibernate-core/src/test/java/org/hibernate/test/cache/CollectionCacheEvictionWithoutMappedByTest.java
Log Message:
-----------
HHH-10264 - Values weren't cached after persist
HHH-9140 - Allow to look for id outside of context
ERROR CollectionCacheInvalidator:145 - org.hibernate.TransientObjectException: The instance was not associated with this session
at org.hibernate.internal.SessionImpl.getIdentifier(SessionImpl.java:1511)
(cherry picked from commit f0d8fcd)
Added property to propagate error in test case
Test case without mappedBy
org.hibernate.HibernateException: Unable to resolve property:
at org.hibernate.tuple.entity.EntityMetamodel.getPropertyIndex(EntityMetamodel.java:926)
Commit: 1d5b0779d6df327f935e9be306ac203a84345ae0
https://github.com/hibernate/hibernate-orm/commit/1d5b0779d6df327f935e9be306ac203a84345ae0
Author: Steve Ebersole <steve at hibernate.org>
Date: 2015-11-10 (Tue, 10 Nov 2015)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/cache/internal/CollectionCacheInvalidator.java
M hibernate-core/src/test/java/org/hibernate/test/cache/CollectionCacheEvictionTest.java
M hibernate-core/src/test/java/org/hibernate/test/cache/CollectionCacheEvictionWithoutMappedByTest.java
Log Message:
-----------
HHH-10264 - hibernate.cache.auto_evict_collection_cache problems;
HHH-9140 - Error in CollectionCacheInvalidator when hibernate.cache.auto_evict_collection_cache is enabled
Compare: https://github.com/hibernate/hibernate-orm/compare/cd2b031b6b16...1d5b0779d6df
More information about the hibernate-commits
mailing list