@ejbgen:compatibility Annotation

In a CMP entity bean, specifies compatibility settings with prior versions of WebLogic.

Scope

Class tag for a CMP entity bean.

Syntax

@ejbgen:compatibility

serialize-byte-array-to-oracle-blob="True/False"

Attributes

serialize-byte-array-to-oracle-blob

Optional. Specify True for this attribute if, for a CMP field, you want to serialize a byte array that is mapped to an OracleBlob. For more information about OracleBlobs, see ejbgen:cmp-field. In prior versions of WebLogic, this was the default behavior but starting with WebLogic 8.1 SP2, you must set this attribute to True to obtain this behavior.

Related Topics

@ejbgen:cmp-field Annotation