public abstract class BaseCoreFunctionalTestCase extends BaseUnitTestCase
BaseUnitTestCase
Modifier and Type | Class and Description |
---|---|
class |
BaseCoreFunctionalTestCase.RollbackWork |
Modifier and Type | Field and Description |
---|---|
static Dialect |
DIALECT |
protected static Class<?>[] |
NO_CLASSES |
protected static String[] |
NO_MAPPINGS |
protected Session |
session |
static String |
USE_NEW_METADATA_MAPPINGS |
static String |
VALIDATE_DATA_CLEANUP |
globalTimeout
Constructor and Description |
---|
BaseCoreFunctionalTestCase() |
releaseTransactions
public static final String VALIDATE_DATA_CLEANUP
public static final String USE_NEW_METADATA_MAPPINGS
public static final Dialect DIALECT
protected Session session
protected static final String[] NO_MAPPINGS
protected static final Class<?>[] NO_CLASSES
protected static Dialect getDialect()
protected Configuration configuration()
protected StandardServiceRegistryImpl serviceRegistry()
protected SessionFactoryImplementor sessionFactory()
protected Session openSession() throws HibernateException
HibernateException
protected Session openSession(Interceptor interceptor) throws HibernateException
HibernateException
protected void buildSessionFactory()
protected Configuration buildConfiguration()
protected Configuration constructConfiguration()
protected void configure(Configuration configuration)
protected void addMappings(Configuration configuration)
protected void addMappings(MetadataSources sources)
protected String[] getMappings()
protected String getBaseForMappings()
protected Class<?>[] getAnnotatedClasses()
protected String[] getAnnotatedPackages()
protected String[] getXmlFiles()
protected void applyCacheSettings(Configuration configuration)
protected boolean overrideCacheStrategy()
protected String getCacheConcurrencyStrategy()
protected void afterConfigurationBuilt(Configuration configuration)
protected StandardServiceRegistryImpl buildServiceRegistry(Configuration configuration)
protected BootstrapServiceRegistry generateBootstrapRegistry(Properties properties)
protected void prepareBootstrapRegistryBuilder(BootstrapServiceRegistryBuilder builder)
protected void prepareBasicRegistryBuilder(ServiceRegistryBuilder serviceRegistryBuilder)
protected void afterSessionFactoryBuilt()
protected boolean createSchema()
protected String createSecondSchema()
protected boolean rebuildSessionFactoryOnError()
public void onFailure()
protected void rebuildSessionFactory()
protected void cleanupCache()
protected boolean isCleanupTestDataRequired()
protected void assertAllDataRemoved()
protected boolean readCommittedIsolationMaintained(String scenario)
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.