Skip to content

Commit

Permalink
Change default Precison and DisplaySize for TIME and DATE types.
Browse files Browse the repository at this point in the history
Signed-off-by: Yury-Fridlyand <yuryf@bitquilltech.com>
  • Loading branch information
Yury-Fridlyand committed Dec 8, 2022
1 parent 2af7321 commit 522901d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ public enum OpenSearchType {
IP(JDBCType.VARCHAR, String.class, 15, 0, false),
NESTED(JDBCType.STRUCT, null, 0, 0, false),
OBJECT(JDBCType.STRUCT, null, 0, 0, false),
DATE(JDBCType.DATE, Date.class, 24, 24, false),
TIME(JDBCType.TIME, Time.class, 24, 24, 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),
BINARY(JDBCType.VARBINARY, String.class, Integer.MAX_VALUE, 0, false),
Expand Down

0 comments on commit 522901d

Please sign in to comment.