org.datanucleus.store.rdbms.mapping.oracle
Class OracleSerialisedObjectMapping

java.lang.Object
  extended by org.datanucleus.store.mapped.mapping.JavaTypeMapping
      extended by org.datanucleus.store.mapped.mapping.SingleFieldMapping
          extended by org.datanucleus.store.mapped.mapping.SerialisedMapping
              extended by org.datanucleus.store.rdbms.mapping.oracle.OracleSerialisedObjectMapping
All Implemented Interfaces:
org.datanucleus.store.mapped.mapping.MappingCallbacks

public class OracleSerialisedObjectMapping
extends org.datanucleus.store.mapped.mapping.SerialisedMapping
implements org.datanucleus.store.mapped.mapping.MappingCallbacks

Mapping for Object and Serializable types.


Field Summary
 
Fields inherited from class org.datanucleus.store.mapped.mapping.JavaTypeMapping
datastoreContainer, datastoreMappings, dba, LOCALISER, mmd, referenceMapping, roleForMember, type
 
Constructor Summary
OracleSerialisedObjectMapping()
           
 
Method Summary
 void postFetch(org.datanucleus.StateManager sm)
           
 void postInsert(org.datanucleus.StateManager sm)
          Retrieve the empty BLOB created by the insert statement and write out the current BLOB field value to the Oracle BLOB object
 void postUpdate(org.datanucleus.StateManager sm)
           
 void preDelete(org.datanucleus.StateManager sm)
           
 
Methods inherited from class org.datanucleus.store.mapped.mapping.SerialisedMapping
getJavaType, getJavaTypeForDatastoreMapping, getSampleValue, newLiteral, newScalarExpression
 
Methods inherited from class org.datanucleus.store.mapped.mapping.SingleFieldMapping
equals, getBoolean, getByte, getChar, getDefaultLength, getDouble, getFloat, getInt, getLong, getObject, getShort, getString, getValidValues, initialize, prepareDatastoreMapping, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setObject, setShort, setString
 
Methods inherited from class org.datanucleus.store.mapped.mapping.JavaTypeMapping
addDataStoreMapping, failureMessage, getDatastoreContainer, getDataStoreMapping, getDataStoreMappings, getMemberMetaData, getNumberOfDatastoreFields, getObject, getReferenceMapping, getRoleForMember, getType, hasSimpleDatastoreRepresentation, includeInFetchStatement, includeInInsertStatement, includeInUpdateStatement, initialize, isNullable, isSerialised, setDatastoreContainer, setDefault, setMemberMetaData, setObject, setReferenceMapping, setRoleForMember
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OracleSerialisedObjectMapping

public OracleSerialisedObjectMapping()
Method Detail

postFetch

public void postFetch(org.datanucleus.StateManager sm)
Specified by:
postFetch in interface org.datanucleus.store.mapped.mapping.MappingCallbacks
See Also:
MappingCallbacks.postFetch(org.datanucleus.StateManager)

postInsert

public void postInsert(org.datanucleus.StateManager sm)
Retrieve the empty BLOB created by the insert statement and write out the current BLOB field value to the Oracle BLOB object

Specified by:
postInsert in interface org.datanucleus.store.mapped.mapping.MappingCallbacks
Parameters:
sm - the current StateManager

postUpdate

public void postUpdate(org.datanucleus.StateManager sm)
Specified by:
postUpdate in interface org.datanucleus.store.mapped.mapping.MappingCallbacks
See Also:
MappingCallbacks.postUpdate(org.datanucleus.StateManager)

preDelete

public void preDelete(org.datanucleus.StateManager sm)
Specified by:
preDelete in interface org.datanucleus.store.mapped.mapping.MappingCallbacks
See Also:
MappingCallbacks.preDelete(org.datanucleus.StateManager)


Copyright © 2009. All Rights Reserved.