org.hibernate.test.annotations.onetomany
Class OneToManyTest
java.lang.Object
org.hibernate.testing.junit4.BaseUnitTestCase
org.hibernate.testing.junit4.BaseCoreFunctionalTestCase
org.hibernate.test.annotations.onetomany.OneToManyTest
public class OneToManyTest
- extends BaseCoreFunctionalTestCase
Test various case of a one to many relationship.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OneToManyTest
public OneToManyTest()
testColumnDefinitionPropagation
public void testColumnDefinitionPropagation()
throws Exception
- Throws:
Exception
testListWithBagSemanticAndOrderBy
public void testListWithBagSemanticAndOrderBy()
throws Exception
- Throws:
Exception
testUnidirectionalDefault
public void testUnidirectionalDefault()
throws Exception
- Throws:
Exception
testUnidirectionalExplicit
public void testUnidirectionalExplicit()
throws Exception
- Throws:
Exception
testFetching
public void testFetching()
throws Exception
- Throws:
Exception
testCascadeDeleteOrphan
public void testCascadeDeleteOrphan()
throws Exception
- Throws:
Exception
testCascadeDelete
public void testCascadeDelete()
throws Exception
- Throws:
Exception
testSimpleOneToManySet
public void testSimpleOneToManySet()
throws Exception
- Throws:
Exception
testSimpleOneToManyCollection
public void testSimpleOneToManyCollection()
throws Exception
- Throws:
Exception
testJoinColumns
public void testJoinColumns()
throws Exception
- Throws:
Exception
testOrderByOnSuperclassProperty
public void testOrderByOnSuperclassProperty()
testJoinColumnConfiguredInXml
public void testJoinColumnConfiguredInXml()
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.