org.hibernate.test.annotations.onetoone
Class OneToOneTest

java.lang.Object
  extended by org.hibernate.testing.junit4.BaseUnitTestCase
      extended by org.hibernate.testing.junit4.BaseCoreFunctionalTestCase
          extended by org.hibernate.test.annotations.onetoone.OneToOneTest

public class OneToOneTest
extends BaseCoreFunctionalTestCase


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
OneToOneTest()
           
 
Method Summary
protected  Class[] getAnnotatedClasses()
           
protected  String[] getXmlFiles()
           
 void testBidirectionalFkOneToOne()
           
 void testBidirectionalTrueOneToOne()
           
 void testCompositePk()
           
 void testDefaultOneToOne()
           
 void testEagerFetching()
           
 void testForeignGenerator()
           
 void testJoinColumnConfiguredInXml()
           
 void testOneToOneWithExplicitFk()
           
 void testOneToOneWithExplicitSecondaryTableFk()
           
 void testPkOneToOneSelectStatementDoesNotGenerateExtraJoin()
           
 void testUnidirectionalTrueOneToOne()
           
 
Methods inherited from class org.hibernate.testing.junit4.BaseCoreFunctionalTestCase
addMappings, addMappings, afterConfigurationBuilt, afterConfigurationBuilt, afterSessionFactoryBuilt, afterTest, applyCacheSettings, assertAllDataRemoved, beforeTest, buildConfiguration, buildServiceRegistry, cleanupCache, cleanupTest, configuration, configure, constructConfiguration, createSchema, generateBootstrapRegistry, getAnnotatedPackages, getBaseForMappings, getCacheConcurrencyStrategy, getDialect, getMappings, 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

OneToOneTest

public OneToOneTest()
Method Detail

testEagerFetching

public void testEagerFetching()
                       throws Exception
Throws:
Exception

testDefaultOneToOne

public void testDefaultOneToOne()
                         throws Exception
Throws:
Exception

testOneToOneWithExplicitFk

public void testOneToOneWithExplicitFk()
                                throws Exception
Throws:
Exception

testOneToOneWithExplicitSecondaryTableFk

public void testOneToOneWithExplicitSecondaryTableFk()
                                              throws Exception
Throws:
Exception

testUnidirectionalTrueOneToOne

public void testUnidirectionalTrueOneToOne()
                                    throws Exception
Throws:
Exception

testCompositePk

public void testCompositePk()
                     throws Exception
Throws:
Exception

testBidirectionalTrueOneToOne

public void testBidirectionalTrueOneToOne()
                                   throws Exception
Throws:
Exception

testBidirectionalFkOneToOne

public void testBidirectionalFkOneToOne()
                                 throws Exception
Throws:
Exception

testForeignGenerator

public void testForeignGenerator()

testJoinColumnConfiguredInXml

public void testJoinColumnConfiguredInXml()

testPkOneToOneSelectStatementDoesNotGenerateExtraJoin

public void testPkOneToOneSelectStatementDoesNotGenerateExtraJoin()

getAnnotatedClasses

protected Class[] getAnnotatedClasses()
Overrides:
getAnnotatedClasses in class BaseCoreFunctionalTestCase

getXmlFiles

protected String[] getXmlFiles()
Overrides:
getXmlFiles in class BaseCoreFunctionalTestCase


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