You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ArrayType causes org.hibernate.tool.schema.spi.SchemaManagementException: Schema-validation: wrong column type encountered in column found (Types#ARRAY), but expecting (Types#OTHER) with Hibernate 6.3 and 6.4 #697
hypersistence-utils-hibernate-62:3.7.1
to hypersistence-utils-hibernate-63:3.7.1
The following code:
@Type(
value = ListArrayType::class,
parameters = [Parameter(
value = "house",
name = ListArrayType.SQL_ARRAY_TYPE,
)]
)
@Column(columnDefinition = "house[]")
val houses: List<House>,
Throws this error:
org.hibernate.tool.schema.spi.SchemaManagementException: Schema-validation: wrong column type encountered in column [houses] in table [dok_card]; found [_house (Types#ARRAY)], but expecting [house[] (Types#OTHER)]