2012년 4월 26일 목요일
procedure SimpleJdbcCall
String procedureName = "procedure name";
this.procCall = new SimpleJdbcCall(jdbcTemplate)
.withProcedureName(procedureName)
.withoutProcedureColumnMetaDataAccess()
.useInParameterNames("year","buildId","ofSavings")
.declareParameters(
new SqlParameter("",Types.VARCHAR),
new SqlParameter("",Types.VARCHAR),
new SqlParameter("",Types.VARCHAR),
new SqlOutParameter("",Types.VARCHAR),
new SqlOutParameter("",Types.VARCHAR));
Map in = new HashMap<String,Object>();
in.put("parameter Id", parameterValue);
in.put("parameter Id", parameterValue);
in.put("parameter Id", parameterValue);
in.put("parameter Id", parameterValue );
in.put("parameter Id", parameterValue);
Map out = procCall.execute(in);
return out;
피드 구독하기:
댓글 (Atom)
댓글 없음:
댓글 쓰기