AttributeConverter's convertToDatabaseColumn is called on save, but convertToEntityAttribute is not called when returning the saved entity.

Description

class Demo {
@Convert(converter = SomeTypeConverter.class)
List<SomeType> someTypes;
}

Now when
Demo saved = demoRepository.save(demo);
is called.
convertToDatabaseColumn is corretly called but, convertToEntityAttribute for the returned object "saved" object is not called.

If you convert null to json array "[]" , then you expect returned object to have empty list instead of null.

Environment

None

Assignee

Unassigned

Reporter

vijay rawat

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Priority

Major
Configure