We're updating the issue view to help you get more done. 

ConcurrentNaturalIdCacheStatisticsImpl#getEntries() fails with ClassCastException

Description

ConcurrentNaturalIdCacheStatisticsImpl#getEntries() fails with ClassCastException. Exception stack trace:

1 2 java.lang.ClassCastException: org.hibernate.cache.spi.NaturalIdCacheKey cannot be cast to org.hibernate.cache.spi.CacheKey at org.hibernate.stat.internal.ConcurrentNaturalIdCacheStatisticsImpl.getEntries(ConcurrentNaturalIdCacheStatisticsImpl.java:148)

Environment

None

Status

Assignee

Lukasz Antoniak

Reporter

Lukasz Antoniak

Labels

Components

Fix versions

Affects versions

4.3.5

Priority

Minor