Ejemplo n.º 1
0
 public static RecordSet findRecordSet(String sSqlWhere, boolean isAutoRelease) throws Exception {
   PtroleresBean bean = new PtroleresBean();
   bean.setAutoRelease(isAutoRelease);
   return bean.findRecordSetByWhere(sSqlWhere);
 }
Ejemplo 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);
 }