public class PersistenceTestHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
TEST_DATA_XML |
Constructor and Description |
---|
PersistenceTestHelper(String dataTypeFactoryClassName) |
Modifier and Type | Method and Description |
---|---|
void |
fixHiLo(com.atlassian.hibernate.extras.ResetableHiLoGeneratorHelper resetableHiLoGeneratorHelper) |
void |
populateDatabase(String dataFileName,
org.springframework.jdbc.core.JdbcTemplate jdbcTemplate) |
public static final String TEST_DATA_XML
public PersistenceTestHelper(String dataTypeFactoryClassName)
dataTypeFactoryClassName
- name of the IDataTypeFactory
implementation to use with DbUnitpublic void populateDatabase(String dataFileName, org.springframework.jdbc.core.JdbcTemplate jdbcTemplate) throws org.dbunit.DatabaseUnitException, IOException, SQLException
org.dbunit.DatabaseUnitException
IOException
SQLException
public void fixHiLo(com.atlassian.hibernate.extras.ResetableHiLoGeneratorHelper resetableHiLoGeneratorHelper)
Copyright © 2016 Atlassian. All rights reserved.