Closed as not planned
Description
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 think this is due to this commit:
c55ba78#diff-959f5816c3648926ab975cd65e6f5d130ab2f51607d7d2e7de40543223705c32L179
The empty array with an enum componentType is not processed properly and eventually a null is returned here: