Please use [ code][/code ] tags when posting code, that way it remains readable...
Post your code instead of snippets hard to determine what is wrong.
Code:
SimpleJdbcCall callGetBusinessDate = new SimpleJdbcCall(dataSource).withCatalogName("BUSINESSDATE").declareParameters(new SqlParameter( "inDATE", Types.VARCHAR ),
new SqlParameter( "inISO_COUNTRY_CODE", Types.VARCHAR ),
new SqlParameter( "inISO_PROVINCE_CODE", Types.VARCHAR),
new SqlParameter( "inOFFSET", Types.INTEGER),
new SqlOutParameter("outRESULT", Types.VARCHAR),
new SqlOutParameter("outERROR_TEXT", Types.VARCHAR)
);
MapSqlParameterSource inSqlParms = new MapSqlParameterSource();
inSqlParms.addValue("inDATE", inDATE);
inSqlParms.addValue("inISO_COUNTRY_CODE", inISO_COUNTRY_CODE);
inSqlParms.addValue("inISO_PROVINCE_CODE", inISO_PROVINCE_CODE);
inSqlParms.addValue("inOFFSET", inOFFSET);
callBusinessDateMap = callGetBusinessDate.execute(inSqlParms)
Something like that should work... The SimpleJdbcCall methods (most of them) return a modified SimpleJdbcCall you need to assign it to a variable else it gets lots.
Instead of withCatalogName you could try withSchemaName instead.