You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we are using spring-data-jdbc together with mysql and receive the following warn log after upgrading to version 2.3.0 every time the spring context boot up:
WARN o.s.data.convert.CustomConversions: Registering converter from class java.time.OffsetDateTime to class org.springframework.data.jdbc.core.convert.JdbcValue as writing converter although it doesn't convert to a store-supported type! You might want to check your annotation setup at the converter implementation.
It looks like, storing entities with a java.time.OffsetDateTime type works fine - therefore we think the warning is misleading and should be removed.
You can find a demo project to reproduce the problem here: demo Just run the application test and watch the console.
After digging a bit through the code, it looks like the following class adds the OffsetDateTime converter:
org.springframework.data.jdbc.core.dialect.JdbcMySqlDialect.
Thanks for looking into this.
The text was updated successfully, but these errors were encountered:
Dear Spring Data team,
we are using spring-data-jdbc together with mysql and receive the following warn log after upgrading to version 2.3.0 every time the spring context boot up:
WARN o.s.data.convert.CustomConversions: Registering converter from class java.time.OffsetDateTime to class org.springframework.data.jdbc.core.convert.JdbcValue as writing converter although it doesn't convert to a store-supported type! You might want to check your annotation setup at the converter implementation.
It looks like, storing entities with a java.time.OffsetDateTime type works fine - therefore we think the warning is misleading and should be removed.
You can find a demo project to reproduce the problem here: demo Just run the application test and watch the console.
After digging a bit through the code, it looks like the following class adds the OffsetDateTime converter:
org.springframework.data.jdbc.core.dialect.JdbcMySqlDialect.
Thanks for looking into this.
The text was updated successfully, but these errors were encountered: