/* (non-Javadoc)
  * @see net.ymate.platform.persistence.jdbc.support.IEntityRepository#deleteAll(java.util.List)
  */
 public <T> List<T> deleteAll(List<T> entities) throws OperatorException, ConnectionException {
   ISession _session = JDBC.openSession(getDataSourceName());
   try {
     return _session.deleteAll(entities);
   } finally {
     _session.close();
   }
 }
 /* (non-Javadoc)
  * @see net.ymate.platform.persistence.jdbc.support.IEntityRepository#deleteAll(java.lang.Class, java.lang.Object[])
  */
 public <T> int[] deleteAll(Class<T> t, Object[] ids)
     throws OperatorException, ConnectionException {
   ISession _session = JDBC.openSession(getDataSourceName());
   try {
     return _session.deleteAll(t, ids);
   } finally {
     _session.close();
   }
 }