Connection con = DriverManager.getConnection(ENLACE_LOGICO,USER,PASSWORD);
ResultSet rs = null;
java.sql.CallableStatement cs = con.prepareCall("{call PRO_CALC_CARTERA(?,?,?,?,?,?,?,?,?,?,?,?,?,?)}");
cs.setTimestamp(1,java.sql.Timestamp.valueOf("2006-11-11 00:00:00.0"));
cs.registerOutParameter(2,java.sql.Types.VARCHAR);
cs.registerOutParameter(3,java.sql.Types.VARCHAR);
cs.registerOutParameter(4,java.sql.Types.VARCHAR);
cs.registerOutParameter(5,java.sql.Types.VARCHAR);
cs.registerOutParameter(6,java.sql.Types.VARCHAR);
cs.registerOutParameter(7,java.sql.Types.VARCHAR);
cs.registerOutParameter(8,java.sql.Types.VARCHAR);
cs.registerOutParameter(9,java.sql.Types.INTEGER);
cs.registerOutParameter(10,java.sql.Types.VARCHAR);
cs.registerOutParameter(11,java.sql.Types.DATE);
cs.registerOutParameter(12,java.sql.Types.FLOAT);
cs.registerOutParameter(13,java.sql.Types.FLOAT);
cs.registerOutParameter(14,java.sql.Types.INTEGER);
//rs = (ResultSet)cs.getObject(1);
rs = cs.executeQuery();
while(rs.next()) {
System.out.println(rs.getObject(1));
System.out.println(rs.getObject(2));
System.out.println(rs.getObject(3));
System.out.println(rs.getObject(4));
System.out.println(rs.getObject(5));
System.out.println(rs.getObject(6));
System.out.println(rs.getObject(7));
System.out.println(rs.getObject(8));
System.out.println(rs.getObject(9));
System.out.println(rs.getObject(10));
System.out.println(rs.getObject(11));
System.out.println(rs.getObject(12));
System.out.println(rs.getObject(13));
}