com.atlassian.crowd.acceptance.tests.persistence
Class PersistenceTestHelper
java.lang.Object
com.atlassian.crowd.acceptance.tests.persistence.PersistenceTestHelper
public class PersistenceTestHelper
- extends Object
A helper with methods and constants used for persistence/DAO integration tests
- Since:
- v2.7
Method Summary |
static void |
fixHiLo(com.atlassian.hibernate.extras.ResetableHiLoGeneratorHelper resetableHiLoGeneratorHelper)
|
static void |
populateDatabase(String dataFileName,
org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TEST_DATA_XML
public static final String TEST_DATA_XML
- See Also:
- Constant Field Values
PersistenceTestHelper
public PersistenceTestHelper()
populateDatabase
public static void populateDatabase(String dataFileName,
org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
throws org.dbunit.DatabaseUnitException,
IOException,
SQLException
- Throws:
org.dbunit.DatabaseUnitException
IOException
SQLException
fixHiLo
public static void fixHiLo(com.atlassian.hibernate.extras.ResetableHiLoGeneratorHelper resetableHiLoGeneratorHelper)
Copyright © 2013 Atlassian. All Rights Reserved.