com.atlassian.crowd.acceptance.tests.persistence
Class PersistenceTestHelper

java.lang.Object
  extended by 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

Field Summary
static String TEST_DATA_XML
           
 
Constructor Summary
PersistenceTestHelper()
           
 
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
 

Field Detail

TEST_DATA_XML

public static final String TEST_DATA_XML
See Also:
Constant Field Values
Constructor Detail

PersistenceTestHelper

public PersistenceTestHelper()
Method Detail

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.