public void closeMemoDataCursor(CFSecurityCursor Cursor) { try { Cursor.getResultSet().close(); } catch (SQLException e) { throw CFLib.getDefaultExceptionFactory().newDbException(getClass(), "closeMemoDataCursor", e); } }
public CFAccFeeDetailBuff nextFeeDetailCursor(CFSecurityCursor Cursor) { final String S_ProcName = "nextFeeDetailCursor"; try { ResultSet resultSet = Cursor.getResultSet(); if (!resultSet.next()) { throw CFLib.getDefaultExceptionFactory() .newRuntimeException(getClass(), S_ProcName, "No more results available"); } CFAccFeeDetailBuff buff = unpackFeeDetailResultSetToBuff(resultSet); return (buff); } catch (SQLException e) { throw CFLib.getDefaultExceptionFactory().newDbException(getClass(), S_ProcName, e); } }