public static void generateDataSet(String path, Connection connection) {
		try {
			IDatabaseConnection dbUnitConnection = new DatabaseConnection(connection);
			IDataSet dataSet = dbUnitConnection.createDataSet();
			File file = new File(path);
			if (!file.getParentFile().exists()) {
				file.getParentFile().mkdirs();
			}
			FlatXmlDataSet.write(dataSet, new FileOutputStream(file));
		} catch (SQLException e) {
			throw new JStrykerException(e.getMessage(), e);
		} catch (DataSetException e) {
			throw new JStrykerException(e.getMessage(), e);
		} catch (FileNotFoundException e) {
			throw new JStrykerException(e.getMessage(), e);
		} catch (IOException e) {
			throw new JStrykerException(e.getMessage(), e);
		} catch (DatabaseUnitException e) {
			throw new JStrykerException(e.getMessage(), e);
		}
	}