Fix SybaseASEDialect column length resolution

This commit is contained in:
Christian Beikov 2024-04-23 16:50:20 +02:00
parent 7adab31924
commit 969ecaae58
2 changed files with 2 additions and 0 deletions

View File

@ -167,6 +167,7 @@ public class SybaseLegacyDialect extends AbstractTransactSQLDialect {
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:

View File

@ -149,6 +149,7 @@ public class SybaseDialect extends AbstractTransactSQLDialect {
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: