Skip Headers
Oracle® Application Server TopLink Mapping Workbench User's Guide
10g Release 2 (10.1.2)
Part No. B15900-01
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

Working with Serialized Object Mappings

Serialized object mappings are used to store large data objects, such as multimedia files and BLOBs, in the database. Serialization transforms these large objects as a stream of bits.

As with direct-to-field mappings, serialized object mappings require you to specify an attribute and field, as shown in the following illustration.

Figure 5-7 Serialized Object Mappings

Description of serobjfg.gif follows
Description of the illustration serobjfg.gif

Creating Serialized Object Mappings

Use this procedure to create serialized object mappings.

To create a serialized object mapping:

  1. In the Navigator pane, select the attribute to be mapped.

  2. Serialized Mapping button.
    Description of the illustration srmapbtn.gif

    Click the Serialized Mapping button on the mapping toolbar.

    Figure 5-8 Serialized Object Mapping Properties

    Description of srmaptab.gif follows
    Description of the illustration srmaptab.gif

  3. Choose the appropriate database field in the Database Field drop-down list.

You can also specify:

  • Read-only attributes – See "Specifying Read-Only Settings" on page 4-72

  • Access methods – See "Specifying Direct Access and Method Access" on page 4-71