public void insertMod(String name, Iterable<String> parts) {
		Iterator<String> partIterator = parts.iterator();

		try {
			while (partIterator.hasNext()) {
				for (int i = 0; i < BATCH_SIZE && partIterator.hasNext(); i++) {
					String part = partIterator.next();
					
					insertPartStatement.setString(1, name);
					insertPartStatement.setString(2, part);
					insertPartStatement.addBatch();
					
					inMemory.put(part, name);
				}
				
				insertPartStatement.executeBatch();
			}
		} catch (SQLException e) {
			LOG.log(Level.FATAL, "Could insert mod!", e);
		}
	}