Some body know if is possible translate this code to hibernate, I'm unable to find how do it, or hibernate at this moment is unable to do calls to some stored procedures? several limitations or inability from hibernate to do it?
callableStatement = session.connection().prepareCall("{call SPDB.GET_DATAPROPS(?,?,?,?,?)}");
callableStatement.setString(1,"callback_nb");
callableStatement.setInt(2,134);
callableStatement.registerOutParameter(3, OracleTypes.CURSOR);
callableStatement.registerOutParameter(4, OracleTypes.NUMBER);
callableStatement.registerOutParameter(5, OracleTypes.VARCHAR);
callableStatement.execute();
Obviously hibernate is so green at this time to be used mapping complete Oracle based data integration. Thanks for all.
|