You are right! Creating a custom converter solved the issue. I'm not sure tho why did this issue pop-up only now. Thank you so much for the help! Have a great day!
On Monday, April 24, 2023 at 10:36:14 AM UTC+3 Evgenij Ryazanov wrote: > MySQL mentioned in your question on StackOverflow doesn't have the TIMESTAMP > WITH TIME ZONE data type. It means your application uses different data > types with different database systems. > > JDBC drivers by default return TIMESTAMP values as java.sql.Timestamp > (R2DBC returns them as java.time.LocalDateTime). > > Both JDBC and R2DBC drivers return TIMESTAMP WITH TIME ZONE values as > java.time.OffsetDateTime. > > spring-data-commons is able to convert LocalDateTime to Instant, but it > doesn't have a built-in converter from OffsetDateTime to Instant. > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/h2-database/2bf4175f-6ab6-4f6c-80c2-29ebbbff87fdn%40googlegroups.com.
