spring-data-relational icon indicating copy to clipboard operation
spring-data-relational copied to clipboard

Use JSR 310 converters instead of ObjectToObject converters

Open schauder opened this issue 1 year ago • 0 comments

Currently we are using Spring Frameworks ObjectToObject converters for some date conversions, which uses a lot of reflection. This could be improved on when we use our dedicated JSR 310 converters, which unfortunately doesn't seem to be straight forward.

See https://github.com/spring-projects/spring-data-relational/blob/dafe44840860d0c553bee72c0c177335268cc85c/spring-data-jdbc/src/main/java/org/springframework/data/jdbc/core/convert/Jsr310TimestampBasedConverters.java#L58

schauder avatar Apr 23 '24 10:04 schauder