org.hibernate.test.immutable.entitywithmutablecollection
Class AbstractEntityWithManyToManyTest
java.lang.Object
org.hibernate.testing.junit4.BaseUnitTestCase
org.hibernate.testing.junit4.BaseCoreFunctionalTestCase
org.hibernate.test.immutable.entitywithmutablecollection.AbstractEntityWithManyToManyTest
- Direct Known Subclasses:
- EntityWithInverseManyToManyTest, EntityWithNonInverseManyToManyTest, EntityWithNonInverseManyToManyUnidirTest, VersionedEntityWithInverseManyToManyTest, VersionedEntityWithNonInverseManyToManyTest
public abstract class AbstractEntityWithManyToManyTest
- 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, getMappings, getXmlFiles, onFailure, openSession, openSession, overrideCacheStrategy, prepareBasicRegistryBuilder, prepareBootstrapRegistryBuilder, readCommittedIsolationMaintained, rebuildSessionFactory, rebuildSessionFactoryOnError, serviceRegistry, sessionFactory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractEntityWithManyToManyTest
public AbstractEntityWithManyToManyTest()
configure
public void configure(Configuration cfg)
- Overrides:
configure
in class BaseCoreFunctionalTestCase
prepareTest
protected void prepareTest()
throws Exception
- Overrides:
prepareTest
in class BaseCoreFunctionalTestCase
- Throws:
Exception
testUpdateProperty
public void testUpdateProperty()
testCreateWithNonEmptyManyToManyCollectionOfNew
public void testCreateWithNonEmptyManyToManyCollectionOfNew()
testCreateWithNonEmptyManyToManyCollectionOfExisting
public void testCreateWithNonEmptyManyToManyCollectionOfExisting()
testAddNewManyToManyElementToPersistentEntity
public void testAddNewManyToManyElementToPersistentEntity()
testAddExistingManyToManyElementToPersistentEntity
public void testAddExistingManyToManyElementToPersistentEntity()
testCreateWithEmptyManyToManyCollectionUpdateWithExistingElement
public void testCreateWithEmptyManyToManyCollectionUpdateWithExistingElement()
testCreateWithNonEmptyManyToManyCollectionUpdateWithNewElement
public void testCreateWithNonEmptyManyToManyCollectionUpdateWithNewElement()
testCreateWithEmptyManyToManyCollectionMergeWithExistingElement
public void testCreateWithEmptyManyToManyCollectionMergeWithExistingElement()
testCreateWithNonEmptyManyToManyCollectionMergeWithNewElement
public void testCreateWithNonEmptyManyToManyCollectionMergeWithNewElement()
testRemoveManyToManyElementUsingUpdate
public void testRemoveManyToManyElementUsingUpdate()
testRemoveManyToManyElementUsingUpdateBothSides
public void testRemoveManyToManyElementUsingUpdateBothSides()
testRemoveManyToManyElementUsingMerge
public void testRemoveManyToManyElementUsingMerge()
testRemoveManyToManyElementUsingMergeBothSides
public void testRemoveManyToManyElementUsingMergeBothSides()
testDeleteManyToManyElement
public void testDeleteManyToManyElement()
testRemoveManyToManyElementByDelete
public void testRemoveManyToManyElementByDelete()
testManyToManyCollectionOptimisticLockingWithMerge
public void testManyToManyCollectionOptimisticLockingWithMerge()
testManyToManyCollectionOptimisticLockingWithUpdate
public void testManyToManyCollectionOptimisticLockingWithUpdate()
testMoveManyToManyElementToNewEntityCollection
public void testMoveManyToManyElementToNewEntityCollection()
testMoveManyToManyElementToExistingEntityCollection
public void testMoveManyToManyElementToExistingEntityCollection()
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.