Process NULLABLE column as integer instead of boolean
Issue: SPR-15333
This commit is contained in:
parent
899f235998
commit
79ea77908a
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2002-2016 the original author or authors.
|
||||
* Copyright 2002-2017 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
@ -361,15 +361,14 @@ public class GenericCallMetaDataProvider implements CallMetaDataProvider {
|
|||
columnType == DatabaseMetaData.procedureColumnOut)) {
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug("Skipping metadata for: " + columnType + " " + procs.getInt("DATA_TYPE") +
|
||||
" " + procs.getString("TYPE_NAME") + " " + procs.getBoolean("NULLABLE") +
|
||||
" (probably a member of a collection)"
|
||||
);
|
||||
" " + procs.getString("TYPE_NAME") + " " + procs.getInt("NULLABLE") +
|
||||
" (probably a member of a collection)");
|
||||
}
|
||||
}
|
||||
else {
|
||||
CallParameterMetaData meta = new CallParameterMetaData(columnName, columnType,
|
||||
procs.getInt("DATA_TYPE"), procs.getString("TYPE_NAME"), procs.getBoolean("NULLABLE")
|
||||
);
|
||||
procs.getInt("DATA_TYPE"), procs.getString("TYPE_NAME"),
|
||||
procs.getInt("NULLABLE") == DatabaseMetaData.procedureNullable);
|
||||
this.callParameterMetaData.add(meta);
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug("Retrieved metadata: " + meta.getParameterName() + " " +
|
||||
|
|
|
|||
Loading…
Reference in New Issue