Add JSR-310 Support (#386)
Add support for Java 8 Date and Time API AKA JSR-310. On the face of it the existing JDBC types java.sql.Date, java.sql.Time and java.sql.Timestamp offer conversion methods to and from JSR-310 data types. Unfortunately java.sql.Timestamp does silent data truncation when the timestamp falls into a DST transition on the JVM time zone. Worse still for java.time.OffsetDateTime there is no corresponding JDBC type. Therefore these conversions have to be implemented. All of this has to be programmed using reflection so the code compiles and can be executed on Java 7.
正在显示
请
注册
或者
登录
后发表评论