code: public int deleteObjects(DatabaseConnection databaseConnection, Collection<T> datas, ObjectCache objectCache)
  			throws SQLException {
  		// have to build this on the fly because the collection has variable number of args
  		int result = MappedDeleteCollection.deleteObjects(dao, tableInfo, databaseConnection, datas, objectCache);
  		if (dao != null && !localIsInBatchMode.get()) {
  			dao.notifyChanges();
  		}
  		return result;
  	}
docs: Delete a collection of objects from the database.