Skip Headers

# Relational Mapping Types

Previous

Next

TopLink supports the relational mappings listed in Table: TopLink Relational Mapping Types.

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 |  |

See Also

  Understanding Mappings
  Understanding Relational Mappings