Oracle® Application Server TopLink Mapping Workbench User's Guide
10g Release 2 (10.1.2) Part No. B15900-01 |
|
Previous |
Next |
Transparent indirection allows you to declare any relationship attribute of a persistent class that holds a collection of related objects as a java.util.Collection
, java.util.Map
, java.util.Vector
, or java.util.Hastable
. OracleAS TopLink will use an indirection object that implements the appropriate interface and also performs Òjust in timeÓ reading of the related objects. When using transparent indirection, you do not have to declare the attributes as ValueHolderInterface
.
You can specify transparent indirection from the OracleAS TopLink Mapping Workbench. Newly created collection mappings use transparent indirection by default if their attribute is not a ValueHolderInterface
.