Transformation Mapping - General
Use for specialized translations between how a value is represented in Java and in the database.
- 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.
- Use Indirection
- Specify if the creation of the target object requires extensive computational resources. If selected, TopLink uses indirection objects. See "Working with Indirection" for more information.
- Database Row --> Object Method
- Select a method to convert the database row into an object.
Note: The method must have the parameter (DatabaseRow)
or parameters (DatabaseRow, Session)
.
- Object -> Field Methods
- Click Add to add field transformation methods to the descriptor. Select the Database Field and Method for each transformation method.
- To remove a transformation method, select the method and click Remove.
Related Topics
Working with Transformation Mappings
Specifying Read Only Settings
Specifying Direct Access and Method Access
Working with Indirection
Working with Direct Mappings
Copyright © 1997, 2004, Oracle.
All rights reserved.