: Unable to resolve name [org.hibernate.dialect.MySQL5Dialect ] as strategy [org.hibernate.dialect.Dialect: Unable to resolve name [org.hibernate.dialect.MySQL5Dialect ] as strategy [org.hibernate.dialect.Dialect:128)
at org.hibernate.boot.registry.select
</artifactId>并将hibernate设置为访问application.properties中的数据库# this not helps as puts in quotes table field name only
#spring.jpa.properties.hibernate.globally_quoted_identifiers
我启用了L2和查询缓存,当我有一个缓存的查询时,我会遇到一个奇怪的问题。实体中的所有关系都是延迟初始化的。当我调用一个缓存的查询时,问题就来了。当第二次调用使用查询缓存时,问题就出现了。当我访问惰性初始化关系时抛出此异常:
Caused by: org.hibernate.LazyInitializationException: could not initialize proxy -