code: public static <T, ID> int deleteObjects(Dao<T, ID> dao, TableInfo<T, ID> tableInfo,
  			DatabaseConnection databaseConnection, Collection<T> datas, ObjectCache objectCache) throws SQLException {
  		MappedDeleteCollection<T, ID> deleteCollection = MappedDeleteCollection.build(dao, tableInfo, datas.size());
  		Object[] fieldObjects = new Object[datas.size()];
  		FieldType idField = tableInfo.getIdField();
  		int objC = 0;
  		for (T data : datas) {
  			fieldObjects[objC] = idField.extractJavaFieldToSqlArgValue(data);
  			objC++;
  		}
  		return updateRows(databaseConnection, tableInfo.getDataClass(), deleteCollection, fieldObjects, objectCache);
  	}
docs: Delete all of the objects in the collection. This builds a {@link MappedDeleteCollection} on the fly because the
  datas could be variable sized.