org.hibernate.test.ops
Class MergeTest

java.lang.Object
  extended by org.hibernate.testing.junit4.BaseUnitTestCase
      extended by org.hibernate.testing.junit4.BaseCoreFunctionalTestCase
          extended by org.hibernate.test.ops.AbstractOperationTestCase
              extended by org.hibernate.test.ops.MergeTest

public class MergeTest
extends AbstractOperationTestCase


Nested Class Summary
 
Nested classes/interfaces inherited from class org.hibernate.testing.junit4.BaseCoreFunctionalTestCase
BaseCoreFunctionalTestCase.RollbackWork
 
Field Summary
 
Fields inherited from class org.hibernate.testing.junit4.BaseCoreFunctionalTestCase
DIALECT, NO_CLASSES, NO_MAPPINGS, USE_NEW_METADATA_MAPPINGS, VALIDATE_DATA_CLEANUP
 
Constructor Summary
MergeTest()
           
 
Method Summary
 void testDeleteAndMerge()
           
 void testMergeBidiForeignKeyOneToOne()
           
 void testMergeBidiPrimayKeyOneToOne()
           
 void testMergeDeepTree()
           
 void testMergeDeepTreeWithGeneratedId()
           
 void testMergeManaged()
           
 void testMergeManagedInitializedCollection()
           
 void testMergeManagedUninitializedCollection()
           
 void testMergeManyToManyWithCollectionDeference()
           
 void testMergeStaleVersionFails()
           
 void testMergeTree()
           
 void testMergeTreeWithGeneratedId()
           
 void testNoExtraUpdatesOnMerge()
           
 void testNoExtraUpdatesOnMergeVersioned()
           
 void testNoExtraUpdatesOnMergeVersionedWithCollection()
           
 void testNoExtraUpdatesOnMergeWithCollection()
           
 void testNoExtraUpdatesOnPersistentMergeVersionedWithCollection()
           
 void testPersistThenMergeInSameTxnWithTimestamp()
           
 void testPersistThenMergeInSameTxnWithVersion()
           
 void testRecursiveMergeTransient()
           
 
Methods inherited from class org.hibernate.test.ops.AbstractOperationTestCase
assertDeleteCount, assertInsertCount, assertUpdateCount, clearCounts, configure, getCacheConcurrencyStrategy, getMappings
 
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, getDialect, getXmlFiles, onFailure, openSession, openSession, overrideCacheStrategy, prepareBasicRegistryBuilder, prepareBootstrapRegistryBuilder, prepareTest, readCommittedIsolationMaintained, rebuildSessionFactory, rebuildSessionFactoryOnError, serviceRegistry, sessionFactory
 
Methods inherited from class org.hibernate.testing.junit4.BaseUnitTestCase
releaseTransactions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MergeTest

public MergeTest()
Method Detail

testMergeStaleVersionFails

public void testMergeStaleVersionFails()
                                throws Exception
Throws:
Exception

testMergeBidiPrimayKeyOneToOne

public void testMergeBidiPrimayKeyOneToOne()
                                    throws Exception
Throws:
Exception

testMergeBidiForeignKeyOneToOne

public void testMergeBidiForeignKeyOneToOne()
                                     throws Exception
Throws:
Exception

testNoExtraUpdatesOnMerge

public void testNoExtraUpdatesOnMerge()
                               throws Exception
Throws:
Exception

testNoExtraUpdatesOnMergeWithCollection

public void testNoExtraUpdatesOnMergeWithCollection()
                                             throws Exception
Throws:
Exception

testNoExtraUpdatesOnMergeVersioned

public void testNoExtraUpdatesOnMergeVersioned()
                                        throws Exception
Throws:
Exception

testNoExtraUpdatesOnMergeVersionedWithCollection

public void testNoExtraUpdatesOnMergeVersionedWithCollection()
                                                      throws Exception
Throws:
Exception

testNoExtraUpdatesOnPersistentMergeVersionedWithCollection

public void testNoExtraUpdatesOnPersistentMergeVersionedWithCollection()
                                                                throws Exception
Throws:
Exception

testPersistThenMergeInSameTxnWithVersion

public void testPersistThenMergeInSameTxnWithVersion()

testPersistThenMergeInSameTxnWithTimestamp

public void testPersistThenMergeInSameTxnWithTimestamp()

testMergeDeepTree

public void testMergeDeepTree()

testMergeDeepTreeWithGeneratedId

public void testMergeDeepTreeWithGeneratedId()

testMergeTree

public void testMergeTree()

testMergeTreeWithGeneratedId

public void testMergeTreeWithGeneratedId()

testMergeManaged

public void testMergeManaged()

testMergeManagedUninitializedCollection

public void testMergeManagedUninitializedCollection()

testMergeManagedInitializedCollection

public void testMergeManagedInitializedCollection()

testRecursiveMergeTransient

public void testRecursiveMergeTransient()

testDeleteAndMerge

public void testDeleteAndMerge()
                        throws Exception
Throws:
Exception

testMergeManyToManyWithCollectionDeference

public void testMergeManyToManyWithCollectionDeference()
                                                throws Exception
Throws:
Exception


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.