java.lang.ClassCastException: org.hibernate.cache.QueryKey

Hibernate JIRA | Max Ross | 1 decade ago
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Query Level 2 Caching throwing ClassCastException

    Stack Overflow | 7 years ago | Sameer Malhotra
    java.lang.ClassCastException: org.hibernate.cache.QueryKey incompatible with org.hibernate.cache.CacheKey

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException


      at org.hibernate.stat.SecondLevelCacheStatistics.getEntries()
    2. Hibernate
      1. org.hibernate.stat.SecondLevelCacheStatistics.getEntries(
      1 frame