|
Oracle® Containers for J2EE Enterprise JavaBeans Developer's Guide
10g Release 3 (10.1.3) B14428-01 |
|
![]() Previous |
![]() Next |
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:
"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-14 shows how to use the @Lob annotation to specify a large object mapping for field image.