I am getting error
aliases expected length is 1; actual length is 4 at org.hibernate.transform.CacheableResultTransformer.transformTuple
I
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/