【发布时间】:2013-11-10 06:17:42
【问题描述】:
这是我的 DAO 代码
this.calcRTRDetails = new SimpleJdbcCall(dataSource).withCatalogName("score_rtr").
withProcedureName("calc_rtr_dtls").declareParameters(
new SqlParameter("p_repy_track", Types.ARRAY)
).returningResultSet("p_track_dtls",new RowMapper<String>() {
@Override
public String mapRow(ResultSet rs, int arg1)
throws SQLException {
// TODO Auto-generated method stub
return rs.getString(1);
}
} );
我收到以下错误
org.springframework.dao.InvalidDataAccessApiUsageException: Unable to determine the correct call signature - multiple procedures/functions/signatures for CALC_RTR_DTLS found [SCORE_RTR.SCORE.CALC_RTR_DTLS, SCORE_RTR.SCORE.CALC_RTR_DTLS]
可能是什么原因??
【问题讨论】:
-
第3行真的叫“p_repy_track”吗?
-
可能是您的 JDBC 用户没有对该包/函数/表或其他任何内容的权限...
标签: oracle spring-mvc spring-jdbc