Vojtech Toman opened DATACMNS-1217 and commented
We use many entity types that contain:
@CreatedDate
private OffsetDateTime created;
This works fine with spring-data 1.x but is no longer supported in spring-data-2.x ("Invalid date type for member ..."). After some debugging, it seems to me that it's because the method DateConvertingAuditableBeanWrapper.getDateValueToSet() no longer attempts the conversion from java.util.Calendar to the target type (for which there is a built-in converter in DateTimeConverters).
Is this a deliberate change, or an oversight? If the former, what is the recommended way to add support for java.util.OffsetDateTime in the audited fields?
Affects: 2.0.1 (Kay SR1)
1 votes, 2 watchers