org.hibernate.test.legacy
Class FooBarTest

java.lang.Object
  extended by org.hibernate.testing.junit4.BaseUnitTestCase
      extended by org.hibernate.testing.junit4.BaseCoreFunctionalTestCase
          extended by org.hibernate.test.legacy.LegacyTestCase
              extended by org.hibernate.test.legacy.FooBarTest

public class FooBarTest
extends LegacyTestCase


Nested Class Summary
 
Nested classes/interfaces inherited from class org.hibernate.testing.junit4.BaseCoreFunctionalTestCase
BaseCoreFunctionalTestCase.RollbackWork
 
Field Summary
 
Fields inherited from class org.hibernate.test.legacy.LegacyTestCase
USE_ANTLR_PARSER_PROP
 
Fields inherited from class org.hibernate.testing.junit4.BaseCoreFunctionalTestCase
DIALECT, NO_CLASSES, NO_MAPPINGS, USE_NEW_METADATA_MAPPINGS, VALIDATE_DATA_CLEANUP
 
Constructor Summary
FooBarTest()
           
 
Method Summary
 String[] getMappings()
           
 void ntestAssociationId()
           
 void testAfterDelete()
           
 void testAny()
           
 void testArraysOfTimes()
           
 void testAutoFlush()
           
 void testAutoFlushCollections()
           
 void testAutosaveChildren()
           
 void testBagMultipleElements()
           
 void testBagOneToMany()
           
 void testBatchLoad()
           
 void testCache()
           
 void testCachedCollection()
           
 void testCallback()
           
 void testCascadeDeleteDetached()
           
 void testCascadeSave()
           
 void testCollectionCache()
           
 void testCollectionOfSelf()
           
 void testCollectionsInSelect()
           
 void testCollectionWhere()
           
 void testComplicatedQuery()
           
 void testComponentParent()
           
 void testComponents()
           
 void testCreate()
           
 void testCreateUpdate()
           
 void testCriteriaCollection()
           
 void testCustom()
           
 void testDeleteRecursive()
           
 void testDeleteTransient()
           
 void testDeleteUpdatedTransient()
           
 void testDereferenceLazyCollection()
           
 void testDyna()
           
 void testEmbeddedCompositeID()
           
 void testEmptyCollection()
           
 void testEmptyInListQuery()
           
 void testFetchInitializedCollection()
           
 void testFetchInitializedCollectionDupe()
           
 void testFetchList()
           
 void testFind()
           
 void testFindByCriteria()
           
 void testFindLoad()
           
 void testForceOuterJoin()
           
 void testForCertain()
           
 void testForeignKeys()
           
 void testIdBag()
           
 void testIterators()
           
 void testJoin()
           
 void testLateCollectionAdd()
           
 void testLazyCollections()
           
 void testLimit()
           
 void testListRemove()
           
 void testLoad()
           
 void testLoadAfterDelete()
           
 void testManyToManyBag()
           
 void testManyToOne()
           
 void testMoveLazyCollection()
           
 void testMultiColumnQueries()
           
 void testNamedParams()
           
 void testNewFlushing()
           
 void testNewSessionLifecycle()
           
 void testNoForeignKeyViolations()
           
 void testNonlazyCollection()
           
 void testObjectType()
           
 void testOnCascadeDelete()
           
 void testOneToOneGenerator()
           
 void testOrderBy()
           
 void testOrphanDelete()
           
 void testParameterCheck()
           
 void testPersistCollections()
           
 void testPersistentLifecycle()
           
 void testPolymorphism()
           
 void testPropertyRef()
           
 void testProxiesInCollections()
           
 void testProxyArray()
           
 void testPSCache()
           
 void testQuery()
           
 void testQueryCollectionOfValues()
           
 void testQueryLockMode()
           
 void testReachability()
           
 void testRecursiveLoad()
           
 void testRefresh()
           
 void testRefreshProxy()
           
 void testRemoveContains()
           
 void testRemoveFromIdbag()
           
 void testReuseDeletedCollection()
           
 void testSaveAddDelete()
           
 void testSaveDelete()
           
 void testSaveFlush()
           
 void testSaveOrUpdateCopyAny()
           
 void testScrollableIterator()
           
 void testSerializableType()
           
 void testSortables()
           
 void testTransientOrphanDelete()
           
 void testUpdate()
           
 void testUpdateCollections()
           
 void testUpdateFromTransient()
           
 void testUpdateOrder()
           
 void testUserProvidedConnection()
           
 void testVersionedCollections()
           
 void testVersioning()
           
 void testVeto()
           
 void testWierdSession()
           
 
Methods inherited from class org.hibernate.test.legacy.LegacyTestCase
checkAntlrParserSetting, configure, doDelete, doDelete, doDelete, extractFromSystem
 
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 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

FooBarTest

public FooBarTest()
Method Detail

getMappings

public String[] getMappings()
Overrides:
getMappings in class BaseCoreFunctionalTestCase

testSaveOrUpdateCopyAny

public void testSaveOrUpdateCopyAny()
                             throws Exception
Throws:
Exception

testRefreshProxy

public void testRefreshProxy()
                      throws Exception
Throws:
Exception

testOnCascadeDelete

public void testOnCascadeDelete()
                         throws Exception
Throws:
Exception

testRemoveFromIdbag

public void testRemoveFromIdbag()
                         throws Exception
Throws:
Exception

testLoad

public void testLoad()
              throws Exception
Throws:
Exception

testJoin

public void testJoin()
              throws Exception
Throws:
Exception

testDereferenceLazyCollection

public void testDereferenceLazyCollection()
                                   throws Exception
Throws:
Exception

testMoveLazyCollection

public void testMoveLazyCollection()
                            throws Exception
Throws:
Exception

testCriteriaCollection

public void testCriteriaCollection()
                            throws Exception
Throws:
Exception

testQuery

public void testQuery()
               throws Exception
Throws:
Exception

testCascadeDeleteDetached

public void testCascadeDeleteDetached()
                               throws Exception
Throws:
Exception

testForeignKeys

public void testForeignKeys()
                     throws Exception
Throws:
Exception

testNonlazyCollection

public void testNonlazyCollection()
                           throws Exception
Throws:
Exception

testReuseDeletedCollection

public void testReuseDeletedCollection()
                                throws Exception
Throws:
Exception

testPropertyRef

public void testPropertyRef()
                     throws Exception
Throws:
Exception

testQueryCollectionOfValues

public void testQueryCollectionOfValues()
                                 throws Exception
Throws:
Exception

testBatchLoad

public void testBatchLoad()
                   throws Exception
Throws:
Exception

testFetchInitializedCollection

public void testFetchInitializedCollection()
                                    throws Exception
Throws:
Exception

testLateCollectionAdd

public void testLateCollectionAdd()
                           throws Exception
Throws:
Exception

testUpdate

public void testUpdate()
                throws Exception
Throws:
Exception

testListRemove

public void testListRemove()
                    throws Exception
Throws:
Exception

testFetchInitializedCollectionDupe

public void testFetchInitializedCollectionDupe()
                                        throws Exception
Throws:
Exception

testSortables

public void testSortables()
                   throws Exception
Throws:
Exception

testFetchList

public void testFetchList()
                   throws Exception
Throws:
Exception

testBagOneToMany

public void testBagOneToMany()
                      throws Exception
Throws:
Exception

testQueryLockMode

public void testQueryLockMode()
                       throws Exception
Throws:
Exception

testManyToManyBag

public void testManyToManyBag()
                       throws Exception
Throws:
Exception

testIdBag

public void testIdBag()
               throws Exception
Throws:
Exception

testForceOuterJoin

public void testForceOuterJoin()
                        throws Exception
Throws:
Exception

testEmptyCollection

public void testEmptyCollection()
                         throws Exception
Throws:
Exception

testOneToOneGenerator

public void testOneToOneGenerator()
                           throws Exception
Throws:
Exception

testLimit

public void testLimit()
               throws Exception
Throws:
Exception

testCustom

public void testCustom()
                throws Exception
Throws:
Exception

testSaveAddDelete

public void testSaveAddDelete()
                       throws Exception
Throws:
Exception

testNamedParams

public void testNamedParams()
                     throws Exception
Throws:
Exception

testEmptyInListQuery

public void testEmptyInListQuery()

testParameterCheck

public void testParameterCheck()
                        throws HibernateException
Throws:
HibernateException

testDyna

public void testDyna()
              throws Exception
Throws:
Exception

testFindByCriteria

public void testFindByCriteria()
                        throws Exception
Throws:
Exception

testAfterDelete

public void testAfterDelete()
                     throws Exception
Throws:
Exception

testCollectionWhere

public void testCollectionWhere()
                         throws Exception
Throws:
Exception

testComponentParent

public void testComponentParent()
                         throws Exception
Throws:
Exception

testCollectionCache

public void testCollectionCache()
                         throws Exception
Throws:
Exception

ntestAssociationId

public void ntestAssociationId()
                        throws Exception
Throws:
Exception

testCascadeSave

public void testCascadeSave()
                     throws Exception
Throws:
Exception

testCollectionsInSelect

public void testCollectionsInSelect()
                             throws Exception
Throws:
Exception

testNewFlushing

public void testNewFlushing()
                     throws Exception
Throws:
Exception

testPersistCollections

public void testPersistCollections()
                            throws Exception
Throws:
Exception

testSaveFlush

public void testSaveFlush()
                   throws Exception
Throws:
Exception

testCreateUpdate

public void testCreateUpdate()
                      throws Exception
Throws:
Exception

testUpdateCollections

public void testUpdateCollections()
                           throws Exception
Throws:
Exception

testCreate

public void testCreate()
                throws Exception
Throws:
Exception

testCallback

public void testCallback()
                  throws Exception
Throws:
Exception

testPolymorphism

public void testPolymorphism()
                      throws Exception
Throws:
Exception

testRemoveContains

public void testRemoveContains()
                        throws Exception
Throws:
Exception

testCollectionOfSelf

public void testCollectionOfSelf()
                          throws Exception
Throws:
Exception

testFind

public void testFind()
              throws Exception
Throws:
Exception

testDeleteRecursive

public void testDeleteRecursive()
                         throws Exception
Throws:
Exception

testReachability

public void testReachability()
                      throws Exception
Throws:
Exception

testPersistentLifecycle

public void testPersistentLifecycle()
                             throws Exception
Throws:
Exception

testIterators

public void testIterators()
                   throws Exception
Throws:
Exception

testVersioning

public void testVersioning()
                    throws Exception
Throws:
Exception

testVersionedCollections

public void testVersionedCollections()
                              throws Exception
Throws:
Exception

testRecursiveLoad

public void testRecursiveLoad()
                       throws Exception
Throws:
Exception

testScrollableIterator

public void testScrollableIterator()
                            throws Exception
Throws:
Exception

testMultiColumnQueries

public void testMultiColumnQueries()
                            throws Exception
Throws:
Exception

testDeleteTransient

public void testDeleteTransient()
                         throws Exception
Throws:
Exception

testDeleteUpdatedTransient

public void testDeleteUpdatedTransient()
                                throws Exception
Throws:
Exception

testUpdateOrder

public void testUpdateOrder()
                     throws Exception
Throws:
Exception

testUpdateFromTransient

public void testUpdateFromTransient()
                             throws Exception
Throws:
Exception

testArraysOfTimes

public void testArraysOfTimes()
                       throws Exception
Throws:
Exception

testComponents

public void testComponents()
                    throws Exception
Throws:
Exception

testNoForeignKeyViolations

public void testNoForeignKeyViolations()
                                throws Exception
Throws:
Exception

testLazyCollections

public void testLazyCollections()
                         throws Exception
Throws:
Exception

testNewSessionLifecycle

public void testNewSessionLifecycle()
                             throws Exception
Throws:
Exception

testOrderBy

public void testOrderBy()
                 throws Exception
Throws:
Exception

testManyToOne

public void testManyToOne()
                   throws Exception
Throws:
Exception

testSaveDelete

public void testSaveDelete()
                    throws Exception
Throws:
Exception

testProxyArray

public void testProxyArray()
                    throws Exception
Throws:
Exception

testCache

public void testCache()
               throws Exception
Throws:
Exception

testFindLoad

public void testFindLoad()
                  throws Exception
Throws:
Exception

testRefresh

public void testRefresh()
                 throws Exception
Throws:
Exception

testAutoFlush

public void testAutoFlush()
                   throws Exception
Throws:
Exception

testVeto

public void testVeto()
              throws Exception
Throws:
Exception

testSerializableType

public void testSerializableType()
                          throws Exception
Throws:
Exception

testAutoFlushCollections

public void testAutoFlushCollections()
                              throws Exception
Throws:
Exception

testUserProvidedConnection

public void testUserProvidedConnection()
                                throws Exception
Throws:
Exception

testCachedCollection

public void testCachedCollection()
                          throws Exception
Throws:
Exception

testComplicatedQuery

public void testComplicatedQuery()
                          throws Exception
Throws:
Exception

testLoadAfterDelete

public void testLoadAfterDelete()
                         throws Exception
Throws:
Exception

testObjectType

public void testObjectType()
                    throws Exception
Throws:
Exception

testAny

public void testAny()
             throws Exception
Throws:
Exception

testEmbeddedCompositeID

public void testEmbeddedCompositeID()
                             throws Exception
Throws:
Exception

testAutosaveChildren

public void testAutosaveChildren()
                          throws Exception
Throws:
Exception

testOrphanDelete

public void testOrphanDelete()
                      throws Exception
Throws:
Exception

testTransientOrphanDelete

public void testTransientOrphanDelete()
                               throws Exception
Throws:
Exception

testProxiesInCollections

public void testProxiesInCollections()
                              throws Exception
Throws:
Exception

testPSCache

public void testPSCache()
                 throws Exception
Throws:
Exception

testForCertain

public void testForCertain()
                    throws Exception
Throws:
Exception

testBagMultipleElements

public void testBagMultipleElements()
                             throws Exception
Throws:
Exception

testWierdSession

public void testWierdSession()
                      throws Exception
Throws:
Exception


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