Spring JDBC Template. How can get outcome variables of the pl/sql script
I am using NamedParameterJdbcTemplate for run pl/sql script. But I don't know how can I get the values of out variables ( :id_out ). Thanks in advance. String script = "declare begin if myFunc(:id_in) is null then :id_out := 0; else :id_out := 1; end if; end;"; Map<String,Object> bindVars = new HashMap<String, Object>(); bindVars.put(id_in,1); bindVars.put(id_out,2); jdbcTmpl.execute(script, bindVars, new PreparedStatementCallback<Object>() { @Override public Object doInPreparedStatement(PreparedStatement cs) throws SQLException, DataAccessException { cs.execute(); return null; } } ); I don