Commit 9912697b authored by Quxl's avatar Quxl

x

parent ff2575d0
...@@ -532,8 +532,8 @@ public class JdbcTemplate extends org.springframework.jdbc.core.JdbcTemplate { ...@@ -532,8 +532,8 @@ public class JdbcTemplate extends org.springframework.jdbc.core.JdbcTemplate {
Object arg = args[i]; Object arg = args[i];
if(arg != null && arg instanceof OutParameter) { if(arg != null && arg instanceof OutParameter) {
OutParameter outArg = (OutParameter)arg; OutParameter outArg = (OutParameter)arg;
out.put(index, outArg);
cs.registerOutParameter(index, outArg.getSqlType()); cs.registerOutParameter(index, outArg.getSqlType());
out.put(index, outArg);
} else { } else {
cs.setObject(index, arg); cs.setObject(index, arg);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment