-
由 Philippe Marschall 提交于
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.
f4507bb3