How is a 1:1 variable class mapping defined 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.
Related Questions
- Don buy optional/recommended books until you attend the first class. At that time, ask the instructor: • How is optional/recommended defined? • Is the optional/recommended material necessary to perform successfully in class?
- How do I define a 1:1 variable class mapping using TopLink?
- How is a 1:1 variable class mapping defined using TopLink?