Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.hibernate.test.hql
Class BulkManipulationTest  view BulkManipulationTest download BulkManipulationTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.hibernate.test.TestCase
              extended byorg.hibernate.test.hql.BulkManipulationTest
All Implemented Interfaces:
junit.framework.Test

public class BulkManipulationTest
extends org.hibernate.test.TestCase

Tests execution of bulk UPDATE/DELETE statements through the new AST parser.


Nested Class Summary
private  class BulkManipulationTest.TestData
           
 
Field Summary
 
Fields inherited from class org.hibernate.test.TestCase
SKIP_LOG
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
BulkManipulationTest(java.lang.String name)
           
 
Method Summary
protected  java.lang.String[] getMappings()
           
static junit.framework.Test suite()
           
 void testDeleteNonExistentEntity()
           
 void testDeleteOnDiscriminatorSubclass()
           
 void testDeleteOnJoinedSubclass()
           
 void testDeleteOnMappedJoin()
           
 void testDeleteRestrictedOnManyToOne()
           
 void testDeleteSyntaxWithCompositeId()
           
 void testDeleteUnionSubclassAbstractRoot()
           
 void testDeleteUnionSubclassConcreteSubclass()
           
 void testDeleteUnionSubclassLeafSubclass()
           
 void testDeleteWithMetadataWhereFragments()
           
 void testDeleteWithSubquery()
           
 void testIncrementCounterVersion()
           
 void testIncrementTimestampVersion()
           
 void testInsertAcrossMappedJoinFails()
           
 void testInsertIntoSuperclassPropertiesFails()
           
 void testInsertWithGeneratedId()
           
 void testInsertWithGeneratedTimestampVersion()
           
 void testInsertWithGeneratedVersionAndId()
           
 void testInsertWithManyToOne()
           
 void testInsertWithMismatchedTypes()
           
 void testSimpleDeleteOnAnimal()
           
 void testSimpleInsert()
           
 void testSimpleNativeSQLInsert()
           
 void testTempTableGenerationIsolation()
           
 void testUpdateNonExistentEntity()
           
 void testUpdateOnAnimal()
           
 void testUpdateOnComponent()
           
 void testUpdateOnDiscriminatorSubclass()
           
 void testUpdateOnImplicitJoinFails()
           
 void testUpdateOnMammal()
           
 void testUpdateOnManyToOne()
           
 void testUpdateSetNullOnDiscriminatorSubclass()
           
 void testUpdateSetNullOnJoinedSubclass()
           
 void testUpdateSetNullUnionSubclass()
           
 void testUpdateWithWhereExistsSubquery()
           
 
Methods inherited from class org.hibernate.test.TestCase
afterSessionFactoryBuilt, appliesTo, assertClassAssignability, assertElementTypeAssignability, configure, dialectIsCaseSensitive, dialectSupportsEmptyInList, dropAfterFailure, fullTestName, getBaseForMappings, getCacheConcurrencyStrategy, getCfg, getDialect, getExtraProperties, getSessions, openSession, openSession, overrideCacheStrategy, readCommittedIsolationMaintained, recreateSchema, reportSkip, reportSkip, runTest, setCfg, setUp, sfi
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BulkManipulationTest

public BulkManipulationTest(java.lang.String name)
Method Detail

suite

public static junit.framework.Test suite()

getMappings

protected java.lang.String[] getMappings()

testDeleteNonExistentEntity

public void testDeleteNonExistentEntity()

testUpdateNonExistentEntity

public void testUpdateNonExistentEntity()

testTempTableGenerationIsolation

public void testTempTableGenerationIsolation()
                                      throws java.lang.Throwable

testSimpleInsert

public void testSimpleInsert()

testSimpleNativeSQLInsert

public void testSimpleNativeSQLInsert()

testInsertWithManyToOne

public void testInsertWithManyToOne()

testInsertWithMismatchedTypes

public void testInsertWithMismatchedTypes()

testInsertIntoSuperclassPropertiesFails

public void testInsertIntoSuperclassPropertiesFails()

testInsertAcrossMappedJoinFails

public void testInsertAcrossMappedJoinFails()

testInsertWithGeneratedId

public void testInsertWithGeneratedId()

testInsertWithGeneratedVersionAndId

public void testInsertWithGeneratedVersionAndId()

testInsertWithGeneratedTimestampVersion

public void testInsertWithGeneratedTimestampVersion()

testUpdateWithWhereExistsSubquery

public void testUpdateWithWhereExistsSubquery()

testIncrementCounterVersion

public void testIncrementCounterVersion()

testIncrementTimestampVersion

public void testIncrementTimestampVersion()

testUpdateOnComponent

public void testUpdateOnComponent()

testUpdateOnManyToOne

public void testUpdateOnManyToOne()

testUpdateOnImplicitJoinFails

public void testUpdateOnImplicitJoinFails()

testUpdateOnDiscriminatorSubclass

public void testUpdateOnDiscriminatorSubclass()

testUpdateOnAnimal

public void testUpdateOnAnimal()

testUpdateOnMammal

public void testUpdateOnMammal()

testUpdateSetNullUnionSubclass

public void testUpdateSetNullUnionSubclass()

testUpdateSetNullOnDiscriminatorSubclass

public void testUpdateSetNullOnDiscriminatorSubclass()

testUpdateSetNullOnJoinedSubclass

public void testUpdateSetNullOnJoinedSubclass()

testDeleteWithSubquery

public void testDeleteWithSubquery()

testSimpleDeleteOnAnimal

public void testSimpleDeleteOnAnimal()

testDeleteOnDiscriminatorSubclass

public void testDeleteOnDiscriminatorSubclass()

testDeleteOnJoinedSubclass

public void testDeleteOnJoinedSubclass()

testDeleteOnMappedJoin

public void testDeleteOnMappedJoin()

testDeleteUnionSubclassAbstractRoot

public void testDeleteUnionSubclassAbstractRoot()

testDeleteUnionSubclassConcreteSubclass

public void testDeleteUnionSubclassConcreteSubclass()

testDeleteUnionSubclassLeafSubclass

public void testDeleteUnionSubclassLeafSubclass()

testDeleteWithMetadataWhereFragments

public void testDeleteWithMetadataWhereFragments()
                                          throws java.lang.Throwable

testDeleteRestrictedOnManyToOne

public void testDeleteRestrictedOnManyToOne()

testDeleteSyntaxWithCompositeId

public void testDeleteSyntaxWithCompositeId()