Oracle® Containers for J2EE Enterprise JavaBeans Developer's Guide 10g (10.1.3.5.0) Part Number E13981-01 |
|
|
View PDF |
Use a large object (LOB) mapping to specify that a persistent property or field should be persisted as a LOB to a database-supported LOB type. A LOB may be either a binary (BLOB) or character (CLOB) type.
You define a large object mapping at one of the property (getter or setter method) or field level of your entity.
For more information, see the following:
"Understanding Direct-to-Field Mapping" in the Oracle TopLink Developer's Guide
"Using a Converter Mapping" in the Oracle TopLink Developer's Guide
"Type Conversion Converter" in the Oracle TopLink Developer's Guide
Example 7-18 shows how to use the @Lob
annotation to specify a large object mapping for field image
.