-
Notifications
You must be signed in to change notification settings - Fork 366
Closed
Labels
type: regressionA regression from a previous releaseA regression from a previous release
Milestone
Description
Opening a new ticket since I cannot reopen #1544 and the issue seems to also be present in the latest 3.0.x releases.
When updating from Spring v3.0.x to v3.1.1 we get the following database error when trying to persist an empty list of an enum type (kotlin emptyList()) to an array column in PostgreSQL:
null value in column "foo" of relation "bar" violates not-null constraint
I've created a small example project with a test that can reproduce the issue. It shows that it's not possible to persist arrays of enums, whether they are empty or not on spring-boot 3.0.9/3.1.x, but can on earlier spring boot versions:
koenpunt
Metadata
Metadata
Assignees
Labels
type: regressionA regression from a previous releaseA regression from a previous release