One-to-One Mapping - General

Use to create a one-to-one relational mapping for a Java attribute.

Reference Descriptor
Choose the descriptor to map to the attribute. You can select only interface descriptors.
Read Only
Specify if this mapping is "read only." See "Specifying Read Only Settings" for more information.
Use Method Accessing
Specify if this mapping uses specific get and set methods. See "Specifying Direct Access and Method Access" for more information.
Maintain Bidirectional Relationship
Choose the descriptor to map to the attribute. See "Maintaining Bidirectional Relationships" for more information.
Private Owned
Specify if this mapping is privately owned. Destroying the source object will also destroy the target object.See "Specifying Private or Independent Relationships" for more information.
Use Batch Reading
Specify if TopLInk uses batch reading for relational mappings. See "Optimizing for Queries" for more information.

Note: Use this option only if you are sure that the related objects are always required with the source object.
Use Indirection
Specify if this mapping uses indirection. See "Working with Indirection" for more information.
Use Joining
Specify if TopLink joins related classes tables to read all the data in a single query. See "Optimizing for Queries" for more information.

Related Topics

Working with One-to-One Mappings
One-to-One Mapping - Table Reference
Specifying Read Only Settings
Specifying Direct Access and Method Access
Defaulting Null Values
Maintaining Bidirectional Relationships

 

Copyright © 1997, 2004, Oracle. All rights reserved.