if (datasetFile.exists()) {
DataSource ds = jdbcTemplate.getDataSource();
Connection con = DataSourceUtils.getConnection(ds);
IDatabaseConnection dbUnitCon = new DatabaseConnection(con);
DatabaseConfig config = dbUnitCon.getConfig();
config.setProperty(DatabaseConfig.PROPERTY_DATATYPE_FACTORY, new MySqlDataTypeFactory());
IDataSet dataSet = new FlatXmlDataSetBuilder().build(datasetFile);
databaseOperation.execute(dbUnitCon, dataSet);
DataSourceUtils.releaseConnection(con, ds);
} else {
System.out.println("No initial test data loaded.");