Fix SybaseASEDialect column length resolution
This commit is contained in:
parent
7adab31924
commit
969ecaae58
|
@ -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