org.hibernate.test.cache
Class InsertedDataTest
java.lang.Object
org.hibernate.testing.junit4.BaseUnitTestCase
org.hibernate.testing.junit4.BaseCoreFunctionalTestCase
org.hibernate.test.cache.InsertedDataTest
public class InsertedDataTest
- extends BaseCoreFunctionalTestCase
Tests for handling of data just inserted during a transaction being read from the database
and placed into cache. Initially these cases went through putFromRead which causes problems because it
loses the context of that data having just been read.
Methods inherited from class org.hibernate.testing.junit4.BaseCoreFunctionalTestCase |
addMappings, addMappings, afterConfigurationBuilt, afterConfigurationBuilt, afterSessionFactoryBuilt, afterTest, applyCacheSettings, assertAllDataRemoved, beforeTest, buildConfiguration, buildServiceRegistry, cleanupCache, cleanupTest, configuration, constructConfiguration, createSchema, generateBootstrapRegistry, getAnnotatedPackages, getBaseForMappings, getCacheConcurrencyStrategy, getDialect, getMappings, getXmlFiles, onFailure, openSession, openSession, overrideCacheStrategy, prepareBasicRegistryBuilder, prepareBootstrapRegistryBuilder, prepareTest, readCommittedIsolationMaintained, rebuildSessionFactory, rebuildSessionFactoryOnError, serviceRegistry, sessionFactory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InsertedDataTest
public InsertedDataTest()
getAnnotatedClasses
protected Class<?>[] getAnnotatedClasses()
- Overrides:
getAnnotatedClasses
in class BaseCoreFunctionalTestCase
configure
protected void configure(Configuration cfg)
- Overrides:
configure
in class BaseCoreFunctionalTestCase
testInsert
public void testInsert()
testInsertWithRollback
public void testInsertWithRollback()
testInsertThenUpdate
public void testInsertThenUpdate()
testInsertThenUpdateThenRollback
public void testInsertThenUpdateThenRollback()
testInsertWithRefresh
public void testInsertWithRefresh()
testInsertWithRefreshThenRollback
public void testInsertWithRefreshThenRollback()
testInsertWithClear
public void testInsertWithClear()
testInsertWithClearThenRollback
public void testInsertWithClearThenRollback()
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.