Exemple #1
0
 public Collection batchSave(Collection coll) throws DBLevelException {
   Connection conn = null;
   try {
     conn = DBPower.getConnection(table.getId());
     return batchSave(conn, coll);
   } finally {
     DBUtil.close(conn);
   }
 }
Exemple #2
0
 public int[] batchSave(Object[] os) throws DBLevelException {
   Connection conn = null;
   try {
     conn = DBPower.getConnection(table.getId());
     return batchSave(conn, os);
   } finally {
     DBUtil.close(conn);
   }
 }
 public void delete(WhereElement emt, Object o) {
   Connection conn = null;
   try {
     conn = DBPower.getConnection(table.getId());
     delete(conn, emt, o);
   } finally {
     DBUtil.close(conn);
   }
 }
Exemple #4
0
 public void save(Object o) throws EntityExistException, DBLevelException {
   Connection conn = null;
   try {
     conn = DBPower.getConnection(table.getId());
     save(conn, o);
   } finally {
     DBUtil.close(conn);
   }
 }
 public void deleteByIdColumns(Object o) {
   Connection conn = null;
   try {
     conn = DBPower.getConnection(table.getId());
     deleteByIdColumns(conn, o);
   } finally {
     DBUtil.close(conn);
   }
 }