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

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.mapped.mapping.SerialisedPCMapping
                  extended by org.datanucleus.store.rdbms.mapping.oracle.OracleSerialisedPCMapping
All Implemented Interfaces:
org.datanucleus.store.mapped.mapping.MappingCallbacks

public class OracleSerialisedPCMapping
extends org.datanucleus.store.mapped.mapping.SerialisedPCMapping
implements org.datanucleus.store.mapped.mapping.MappingCallbacks

Mapping for a serialised PersistenceCapable object for Oracle.


Field Summary
 
Fields inherited from class org.datanucleus.store.mapped.mapping.JavaTypeMapping
datastoreContainer, datastoreMappings, dba, LOCALISER, mmd, referenceMapping, roleForMember, type
 
Constructor Summary
OracleSerialisedPCMapping()
           
 
Method Summary
 void postFetch(org.datanucleus.StateManager sm)
           
 void postInsert(org.datanucleus.StateManager ownerSM)
          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.SerialisedPCMapping
getObject, getObject, setObject, setObject
 
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, getShort, getString, getValidValues, initialize, prepareDatastoreMapping, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setShort, setString
 
Methods inherited from class org.datanucleus.store.mapped.mapping.JavaTypeMapping
addDataStoreMapping, failureMessage, getDatastoreContainer, getDataStoreMapping, getDataStoreMappings, getMemberMetaData, getNumberOfDatastoreFields, getReferenceMapping, getRoleForMember, getType, hasSimpleDatastoreRepresentation, includeInFetchStatement, includeInInsertStatement, includeInUpdateStatement, initialize, isNullable, isSerialised, setDatastoreContainer, setDefault, setMemberMetaData, setReferenceMapping, setRoleForMember
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OracleSerialisedPCMapping

public OracleSerialisedPCMapping()
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 ownerSM)
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:
ownerSM - 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.