R2dbcType.TIMESTAMP_WITH_TIME_ZONE lists wrong javaType
lukaseder opened this issue · comments
Bug Report
Versions
- Driver: 0.9.0.M1
- Database: N/A
- Java: N/A
- OS: N/A
Current Behavior
The R2dbcType.TIMESTAMP_WITH_TIME_ZONE
type is wrong:
TIMESTAMP_WITH_TIME_ZONE(LocalDateTime.class),
Expected behavior/code
TIMESTAMP_WITH_TIME_ZONE(OffsetDateTime.class),
This better matches the spec: https://r2dbc.io/spec/0.9.0.M1/spec/html/#datatypes.mapping.datetime and JDBC. I'll file a PR shortly