Skip Headers

# Creating Mappings Automatically During Development

Previous

Next

For relational database projects, TopLink Workbench can automatically map class attributes to a similarly named database field. For example, TopLink Workbench can map the attribute `province` to the database field `PROV`, the attribute `street` to the field `ST`, and the attribute `postalCode` to the field `POSTAL_CODE`.

The Automap function creates mappings only for unmapped attributes–it does not change previously defined mappings.

You can automatically map classes for an entire project or for specific classes or descriptors. If TopLink cannot

Note: Associating a descriptor with a database table (see "Configuring Associated Tables") before using the Automap function can aid the automapper if it cannot guess the correct table for a class.