public class InheritanceTest extends AbstractEntitySqlGeneratorTest
| Constructor and Description |
|---|
InheritanceTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testJoinedInheritance()
Tests to write an entity hierarchy with
InheritanceType.JOINED. |
void |
testMappedSuperclasses()
Tests to write sub classes of mapped superclasses.
|
void |
testSingleTableInheritance()
Tests to write an entity hierarchy with
InheritanceType.SINGLE_TABLE. |
void |
testTablePerClassInheritance()
Tests to write an entity hierarchy with
InheritanceType.TABLE_PER_CLASS. |
findResults, findResults, findSingleResult, findSingleResult, setUp, tearDown, writepublic void testJoinedInheritance()
throws Exception
InheritanceType.JOINED.Exception - if Hibernate or the generator throws onepublic void testMappedSuperclasses()
throws Exception
Exception - if Hibernate or the generator throws onepublic void testSingleTableInheritance()
throws Exception
InheritanceType.SINGLE_TABLE.Exception - if Hibernate or the generator throws oneCopyright © 2016 fastnate.org. All rights reserved.