File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
spring-jdbc/src/main/java/org/springframework/jdbc/core/metadata Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright 2002-2015 the original author or authors.
2+ * Copyright 2002-2017 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
@@ -361,15 +361,14 @@ else if (found.isEmpty()) {
361361 columnType == DatabaseMetaData .procedureColumnOut )) {
362362 if (logger .isDebugEnabled ()) {
363363 logger .debug ("Skipping metadata for: " + columnType + " " + procs .getInt ("DATA_TYPE" ) +
364- " " + procs .getString ("TYPE_NAME" ) + " " + procs .getBoolean ("NULLABLE" ) +
365- " (probably a member of a collection)"
366- );
364+ " " + procs .getString ("TYPE_NAME" ) + " " + procs .getInt ("NULLABLE" ) +
365+ " (probably a member of a collection)" );
367366 }
368367 }
369368 else {
370369 CallParameterMetaData meta = new CallParameterMetaData (columnName , columnType ,
371- procs .getInt ("DATA_TYPE" ), procs .getString ("TYPE_NAME" ), procs . getBoolean ( "NULLABLE" )
372- );
370+ procs .getInt ("DATA_TYPE" ), procs .getString ("TYPE_NAME" ),
371+ procs . getInt ( "NULLABLE" ) == DatabaseMetaData . procedureNullable );
373372 this .callParameterMetaData .add (meta );
374373 if (logger .isDebugEnabled ()) {
375374 logger .debug ("Retrieved metadata: " + meta .getParameterName () + " " +
You can’t perform that action at this time.
0 commit comments