Skip Headers
Oracle® Application Server TopLink Mapping Workbench User's Guide
10g Release 2 (10.1.2)
Part No. B15900-01
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

Persistent Class Requirements

The attribute requirements vary, depending on your Java version. When employing Java 2, you can use direct access on private or protected attributes. Refer to Chapter 4, "Understanding Descriptors" for more information on direct and method access.

When using non-transparent indirection, the attributes must be of the type ValueHolderInterface rather than the original attribute type. The value holder does not instantiate a referenced object until it is needed.

In Java 2, OracleAS TopLink provides transparent indirection for Collection and List attribute types for any collection mappings. Using transparent indirection does not require the usage of ValueHolderInterface or any other object model requirements.

Refer to Chapter 6, "Understanding Relationship Mappings" for more information on indirection and transparent indirection.