Fix SybaseASEDialect column length resolution
This commit is contained in:
parent
06139cf5da
commit
94bade568a
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue