Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How is a 1:1 variable class mapping defined using TopLink?

class defined Mapping TopLink
0
Posted

How is a 1:1 variable class mapping defined using TopLink?

0

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

Thanksgiving questions

*Sadly, we had to bring back ads too. Hopefully more targeted.