Class OracleStringLobMapping
- java.lang.Object
-
- org.datanucleus.store.rdbms.mapping.java.JavaTypeMapping
-
- org.datanucleus.store.rdbms.mapping.java.SingleFieldMapping
-
- org.datanucleus.store.rdbms.mapping.java.StringMapping
-
- org.datanucleus.store.rdbms.mapping.java.OracleStringLobMapping
-
- All Implemented Interfaces:
MappingCallbacks
public class OracleStringLobMapping extends StringMapping implements MappingCallbacks
Mapping for a String type for Oracle when stored in a BLOB or CLOB column.
-
-
Field Summary
-
Fields inherited from class org.datanucleus.store.rdbms.mapping.java.SingleFieldMapping
EXTENSION_CHECK_CONSTRAINT_VALUES
-
Fields inherited from class org.datanucleus.store.rdbms.mapping.java.JavaTypeMapping
absFieldNumber, columnMappings, mmd, referenceMapping, roleForMember, storeMgr, table, type
-
-
Constructor Summary
Constructors Constructor Description OracleStringLobMapping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
insertPostProcessing(org.datanucleus.state.ObjectProvider op)
Retrieve the empty BLOB/CLOB locator created by the insert statement and write out the current BLOB/CLOB field value to the Oracle BLOB/CLOB objectvoid
postFetch(org.datanucleus.state.ObjectProvider op)
Method called after the retrieval of the object, so that additional operations can be performed if necessary.void
postInsert(org.datanucleus.state.ObjectProvider op)
Method called after the insert of the object so that additional operations can be performed if necessary.void
postUpdate(org.datanucleus.state.ObjectProvider op)
Method called after the update of the object, so that additional operations can be performed if necessary.void
preDelete(org.datanucleus.state.ObjectProvider op)
Method called before the delete of objects, so that additional operations can be performed if necessary.-
Methods inherited from class org.datanucleus.store.rdbms.mapping.java.StringMapping
getJavaType, getValidValues
-
Methods inherited from class org.datanucleus.store.rdbms.mapping.java.SingleFieldMapping
getBoolean, getByte, getChar, getDefaultLength, getDouble, getFloat, getInt, getJavaTypeForColumnMapping, getLong, getObject, getShort, getString, initialize, prepareColumnMapping, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setObject, setShort, setString
-
Methods inherited from class org.datanucleus.store.rdbms.mapping.java.JavaTypeMapping
addColumnMapping, equals, failureMessage, getAbsoluteFieldNumber, getColumnMapping, getColumnMappings, getColumnMetaDataForMember, getMemberMetaData, getNumberOfColumnMappings, getObject, getReferenceMapping, getRoleForMember, getStoreManager, getTable, getType, getValueForColumnMapping, hashCode, hasSimpleDatastoreRepresentation, includeInFetchStatement, includeInInsertStatement, includeInUpdateStatement, initialize, isNullable, isSerialised, representableAsStringLiteralInStatement, requiresInsertPostProcessing, requiresUpdatePostProcessing, setAbsFieldNumber, setMemberMetaData, setObject, setReferenceMapping, setRoleForMember, setTable, updatePostProcessing
-
-
-
-
Method Detail
-
insertPostProcessing
public void insertPostProcessing(org.datanucleus.state.ObjectProvider op)
Retrieve the empty BLOB/CLOB locator created by the insert statement and write out the current BLOB/CLOB field value to the Oracle BLOB/CLOB object- Specified by:
insertPostProcessing
in interfaceMappingCallbacks
- Overrides:
insertPostProcessing
in classJavaTypeMapping
- Parameters:
op
- The ObjectProvider owner of this field
-
postInsert
public void postInsert(org.datanucleus.state.ObjectProvider op)
Description copied from interface:MappingCallbacks
Method called after the insert of the object so that additional operations can be performed if necessary.- Specified by:
postInsert
in interfaceMappingCallbacks
- Parameters:
op
- ObjectProvider of the owner
-
postFetch
public void postFetch(org.datanucleus.state.ObjectProvider op)
Description copied from interface:MappingCallbacks
Method called after the retrieval of the object, so that additional operations can be performed if necessary.- Specified by:
postFetch
in interfaceMappingCallbacks
- Parameters:
op
- ObjectProvider of the owner
-
postUpdate
public void postUpdate(org.datanucleus.state.ObjectProvider op)
Description copied from interface:MappingCallbacks
Method called after the update of the object, so that additional operations can be performed if necessary.- Specified by:
postUpdate
in interfaceMappingCallbacks
- Parameters:
op
- ObjectProvider of the owner
-
preDelete
public void preDelete(org.datanucleus.state.ObjectProvider op)
Description copied from interface:MappingCallbacks
Method called before the delete of objects, so that additional operations can be performed if necessary.- Specified by:
preDelete
in interfaceMappingCallbacks
- Parameters:
op
- ObjectProvider of the owner
-
-