public class InheritanceMultipleTableTest extends PBTestCase(Code)
These tests check inheritance using multiple tables via 1:1 reference and "super" keyword in
reference descriptor. The test objects use a composite PK.
One autoincrement PK field - Integer. One non-autoincrement PK field with manually set PK- Long.
author: Armin Waibel version: $Id: InheritanceMultipleTableTest.java,v 1.7.2.20 2005/12/29 22:18:21 arminw Exp $
Inner Class :public static class Shareholder extends Manager
Inner Class :public static class Manager extends Executive
Inner Class :public static class Executive extends Employee
Inner Class :public static class Employee implements Serializable
Inner Class :public static class Address implements AddressIF
Inner Class :public static interface AddressIF extends Serializable
Inner Class :public static class Company
Inner Class :public static class Consortium
Inner Class :public static class Entity
Inner Class :public static class Animal
Inner Class :public static class Dog
Inner Class :public static class Food extends Entity
testInheritanceViaAnonymousField() Check backward compatibility with 'old' super-reference handling using explicite
anonymous field for FK to super class/table.