Код: Выделить всё
Caused by: java.lang.ClassCastException: class org.hibernate.type.internal.BasicTypeImpl cannot be cast to class org.hibernate.type.BasicPluralType (org.hibernate.type.internal.BasicTypeImpl and org.hibernate.type.BasicPluralType are in unnamed module of loader 'app')
at org.hibernate.type.descriptor.sql.internal.ArrayDdlTypeImpl.getCastTypeName(ArrayDdlTypeImpl.java:34)
at org.hibernate.sql.ast.spi.AbstractSqlAstTranslator.getCastTypeName(AbstractSqlAstTranslator.java:6992)
at org.hibernate.sql.ast.spi.AbstractSqlAstTranslator.visitCastTarget(AbstractSqlAstTranslator.java:6939)
Код: Выделить всё
4.0.0
org.springframework.boot
spring-boot-starter-parent
3.3.2
Подробнее здесь: [url]https://stackoverflow.com/questions/78837294/classcastexception-in-hibernate-with-basictypeimpl-and-basicpluraltype[/url]