Skip to content

Commit

Permalink
Extend fix for DATETIME and TIMESTAMP types.
Browse files Browse the repository at this point in the history
Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
  • Loading branch information
Yury-Fridlyand committed Dec 13, 2022
1 parent 522901d commit 6a495cb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ public enum OpenSearchType {
OBJECT(JDBCType.STRUCT, null, 0, 0, false),
DATE(JDBCType.DATE, Date.class, 10, 10, false),
TIME(JDBCType.TIME, Time.class, 8, 8, false),
DATETIME(JDBCType.TIMESTAMP, Timestamp.class, 24, 24, false),
TIMESTAMP(JDBCType.TIMESTAMP, Timestamp.class, 24, 24, false),
DATETIME(JDBCType.TIMESTAMP, Timestamp.class, 29, 29, false),
TIMESTAMP(JDBCType.TIMESTAMP, Timestamp.class, 29, 29, false),
BINARY(JDBCType.VARBINARY, String.class, Integer.MAX_VALUE, 0, false),
NULL(JDBCType.NULL, null, 0, 0, false),
UNDEFINED(JDBCType.NULL, null, 0, 0, false),
Expand Down

0 comments on commit 6a495cb

Please sign in to comment.