Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String procedureName = "SWBAPPS.PC_INTERFACE_PORTAL_CTBC_2.PR_INFO_REPARO"
- + parameterService.getValue(PortalParametros.DBLINK_CRM_KEY);
- List<ProcedureParameter> parameters = new ArrayList<ProcedureParameter>();
- parameters.add(new ProcedureParameter(InOut.IN, Types.VARCHAR, "1", acao));
- parameters.add(new ProcedureParameter(InOut.IN, Types.VARCHAR, "2", codPai));
- parameters.add(new ProcedureParameter(InOut.OUT, OracleTypes.CURSOR, "outCursor"));
- parameters.add(new ProcedureParameter(InOut.OUT, Types.NUMERIC, "outCod"));
- parameters.add(new ProcedureParameter(InOut.OUT, Types.VARCHAR, "outMsg"));
- RetornoOpcaoBean bean = new RetornoOpcaoBean();
- Map<String, Object> a = procedureCallerDAO.executeProcedure(procedureName, parameters);
Add Comment
Please, Sign In to add comment