Esempio n. 1
0
 public static RecordSet findRecordSet(String sSqlWhere, boolean isAutoRelease) throws Exception {
   PtroleresBean bean = new PtroleresBean();
   bean.setAutoRelease(isAutoRelease);
   return bean.findRecordSetByWhere(sSqlWhere);
 }
Esempio n. 2
0
 public static PtroleresBean findFirstAndLock(String sSqlWhere, boolean isAutoRelease)
     throws Exception {
   PtroleresBean bean = new PtroleresBean();
   bean.setAutoRelease(isAutoRelease);
   return (PtroleresBean) bean.findFirstAndLockByWhere(sSqlWhere);
 }