Skip Headers

Oracle TopLink Developer's Guide 10g Release 3 (10.1.3) B13593-01 |
| Home | Solution Area | Contents | Index

Previous | Next |

# Relational Mapping Types

TopLink supports the relational mappings listed in Table 36-1.

Table 36-1 TopLink Relational Mapping Types

Type | Description | Type | TopLink Workbench | Java
--- | --- | --- | --- | ---
"Direct-to-Field Mapping" | Map a Java attribute directly to a database field. | Basic |  |
"Direct to XMLType Mapping" | Map Java attributes to an `XMLType` column in an Oracle Database (introduced in version 9.2.0.1). | Advanced |  |
"One-to-One Mapping" | Map a reference to another persistent Java object to the database. | Basic |  |
"Variable One-to-One Mapping" | Map a reference to an interface to the database. | Basic |  |
"One-to-Many Mapping" | Map Java collections of persistent objects to the database. | Advanced |  |
"Many-to-Many Mapping" | Use an association table to map Java collections of persistent objects to the database. | Advanced |  |
"Aggregate Collection Mapping" | Map Java collections of persistent objects to the database. | Basic |  |
"Direct Collection Mapping" | Map Java collections of objects that do not have descriptors. | Basic |  |
"Direct Map Mapping" | Direct map mappings store instances that implement `java.util.Map`. | Basic |  |
"Aggregate Object Mapping" | Create strict one-to-one mappings that require both objects to exist in the same database row. | Basic |  |
"Transformation Mapping" | Create custom mappings where one or more fields can be used to create the object to be stored in the attribute. | Basic |  |