Hibernate Ehcache NOT working for SQL Native query cache

前端 未结 3 2058
清歌不尽
清歌不尽 2021-02-06 07:50

I am getting error

aliases expected length is 1; actual length is 4
    at org.hibernate.transform.CacheableResultTransformer.transformTuple

I

3条回答
  •  渐次进展
    2021-02-06 08:16

    OMG, you should not use cache with native queries, hibernate is not designed for that:

    https://www.link-intersystems.com/blog/2011/10/08/impact-of-native-sql-queries-on-hibernates-second-level-cache/

提交回复
热议问题