How do I define a 1:1 variable class mapping using TopLink?
TopLink supports variable 1:1 mappings in which the source object has a reference to one of two or more non-inherited classes. To define a variable 1:1 mapping, the target classes of the mapping must be related through an interface. You must define an interface descriptor for the interface, and the target classes must implement the interface. The selection criteria of the mapping will be defined using query keys from the target interface, and a type field in the source object’s table will store the type of object that is referenced.