• Philippe Marschall's avatar
    TimestampWithTimeZone can not be bound · 04673de8
    Philippe Marschall 提交于
    Clients that are still on Java 7 and can not use OffsetDateTime need a
    way to bind TimestampWithTimeZone. Unfortunately TimestampWithTimeZone
    can currently not be used as a bind parameter
    The obvious way to bind TimestampWithTimeZone would be to use
    PreparedStatement.setObject(int, Object). This does not work because
    DataTye#convertTo currently does not check for TimestampWithTimeZone.
    
    This commit fixes this by adding a check and conversion in
    DataTye#convertTo and also adding a unit test.
    04673de8
名称
最后提交
最后更新
h2 Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
README.md Loading commit data...