spring-data-relational
spring-data-relational copied to clipboard
Use JSR 310 converters instead of ObjectToObject converters
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