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

Hibernate JIRA | Max Ross | 1 decade ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Query Level 2 Caching throwing ClassCastException

    Stack Overflow | 6 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