public static RecordSet findRecordSet(String sSqlWhere, boolean isAutoRelease) throws Exception { PtmenuBean bean = new PtmenuBean(); bean.setAutoRelease(isAutoRelease); return bean.findRecordSetByWhere(sSqlWhere); }
public static PtmenuBean findFirstAndLock(String sSqlWhere, boolean isAutoRelease) throws Exception { PtmenuBean bean = new PtmenuBean(); bean.setAutoRelease(isAutoRelease); return (PtmenuBean) bean.findFirstAndLockByWhere(sSqlWhere); }