[hibernate-commits] [hibernate/hibernate-orm] 6dbb3a: HHH-10264 - Values weren't cached after persist

GitHub noreply at github.com
Tue Nov 10 10:15:31 EST 2015


  Branch: refs/heads/5.0
  Home:   https://github.com/hibernate/hibernate-orm
  Commit: 6dbb3a8f57d1ff348d7fe6867343e712c03434ce
      https://github.com/hibernate/hibernate-orm/commit/6dbb3a8f57d1ff348d7fe6867343e712c03434ce
  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)

(cherry picked from commit bf2eb018563c09162308981193a26055e4d5e09c)


  Commit: 60e8f8cfe4d2cbb7593dca5d3cc7ee131eeb4c7f
      https://github.com/hibernate/hibernate-orm/commit/60e8f8cfe4d2cbb7593dca5d3cc7ee131eeb4c7f
  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

(cherry picked from commit 1d5b0779d6df327f935e9be306ac203a84345ae0)


Compare: https://github.com/hibernate/hibernate-orm/compare/92a830a5dd4f...60e8f8cfe4d2


More information about the hibernate-commits mailing list