org.hibernate.test.immutable
Class ImmutableTest
java.lang.Object
org.hibernate.testing.junit4.BaseUnitTestCase
org.hibernate.testing.junit4.BaseCoreFunctionalTestCase
org.hibernate.test.immutable.ImmutableTest
public class ImmutableTest
- extends BaseCoreFunctionalTestCase
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, getAnnotatedClasses, getAnnotatedPackages, getBaseForMappings, getCacheConcurrencyStrategy, getDialect, 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 |
ImmutableTest
public ImmutableTest()
configure
public void configure(Configuration cfg)
- Overrides:
configure
in class BaseCoreFunctionalTestCase
getMappings
public String[] getMappings()
- Overrides:
getMappings
in class BaseCoreFunctionalTestCase
testChangeImmutableEntityProxyToModifiable
public void testChangeImmutableEntityProxyToModifiable()
testChangeImmutableEntityToModifiable
public void testChangeImmutableEntityToModifiable()
testPersistImmutable
public void testPersistImmutable()
testPersistUpdateImmutableInSameTransaction
public void testPersistUpdateImmutableInSameTransaction()
testSaveImmutable
public void testSaveImmutable()
testSaveOrUpdateImmutable
public void testSaveOrUpdateImmutable()
testRefreshImmutable
public void testRefreshImmutable()
testImmutable
public void testImmutable()
testPersistAndUpdateImmutable
public void testPersistAndUpdateImmutable()
testUpdateAndDeleteManagedImmutable
public void testUpdateAndDeleteManagedImmutable()
testGetAndDeleteManagedImmutable
public void testGetAndDeleteManagedImmutable()
testDeleteDetachedImmutable
public void testDeleteDetachedImmutable()
testDeleteDetachedModifiedImmutable
public void testDeleteDetachedModifiedImmutable()
testImmutableParentEntityWithUpdate
public void testImmutableParentEntityWithUpdate()
testImmutableChildEntityWithUpdate
public void testImmutableChildEntityWithUpdate()
testImmutableCollectionWithUpdate
public void testImmutableCollectionWithUpdate()
testUnmodifiedImmutableParentEntityWithMerge
public void testUnmodifiedImmutableParentEntityWithMerge()
testImmutableParentEntityWithMerge
public void testImmutableParentEntityWithMerge()
testImmutableChildEntityWithMerge
public void testImmutableChildEntityWithMerge()
testImmutableCollectionWithMerge
public void testImmutableCollectionWithMerge()
testNewEntityViaImmutableEntityWithImmutableCollectionUsingSaveOrUpdate
public void testNewEntityViaImmutableEntityWithImmutableCollectionUsingSaveOrUpdate()
testNewEntityViaImmutableEntityWithImmutableCollectionUsingMerge
public void testNewEntityViaImmutableEntityWithImmutableCollectionUsingMerge()
testUpdatedEntityViaImmutableEntityWithImmutableCollectionUsingSaveOrUpdate
public void testUpdatedEntityViaImmutableEntityWithImmutableCollectionUsingSaveOrUpdate()
testUpdatedEntityViaImmutableEntityWithImmutableCollectionUsingMerge
public void testUpdatedEntityViaImmutableEntityWithImmutableCollectionUsingMerge()
testImmutableEntityAddImmutableToInverseMutableCollection
public void testImmutableEntityAddImmutableToInverseMutableCollection()
testImmutableEntityRemoveImmutableFromInverseMutableCollection
public void testImmutableEntityRemoveImmutableFromInverseMutableCollection()
testImmutableEntityRemoveImmutableFromInverseMutableCollectionByDelete
public void testImmutableEntityRemoveImmutableFromInverseMutableCollectionByDelete()
testImmutableEntityRemoveImmutableFromInverseMutableCollectionByDeref
public void testImmutableEntityRemoveImmutableFromInverseMutableCollectionByDeref()
clearCounts
protected void clearCounts()
assertInsertCount
protected void assertInsertCount(int expected)
assertUpdateCount
protected void assertUpdateCount(int expected)
assertDeleteCount
protected void assertDeleteCount(int expected)
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.