Skip to content

Commit

Permalink
Fix SybaseASEDialect column length resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
beikov committed Apr 23, 2024
1 parent 7adab31 commit 969ecaa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ public int resolveSqlTypeLength(
int displaySize) {
// Sybase jconnect driver reports the "actual" precision in the display size
switch ( jdbcTypeCode ) {
case Types.CHAR:
case Types.VARCHAR:
case Types.REAL:
case Types.DOUBLE:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ public int resolveSqlTypeLength(
int displaySize) {
// Sybase jconnect driver reports the "actual" precision in the display size
switch ( jdbcTypeCode ) {
case Types.CHAR:
case Types.VARCHAR:
case Types.REAL:
case Types.DOUBLE:
Expand Down

0 comments on commit 969ecaa

Please sign in to comment.