|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.store.mapped.mapping.JavaTypeMapping
org.datanucleus.store.mapped.mapping.SingleFieldMapping
org.datanucleus.store.mapped.mapping.AbstractContainerMapping
org.datanucleus.store.mapped.mapping.MapMapping
org.datanucleus.store.rdbms.mapping.oracle.OracleMapMapping
public class OracleMapMapping
Oracle variant of the MapMapping for cases where we are serialising the field into a single column. This is necessary so we can intercept perform any necessary postInsert, postUpdate nonsense for inserting BLOBs
| Field Summary |
|---|
| Fields inherited from class org.datanucleus.store.mapped.mapping.AbstractContainerMapping |
|---|
fieldName, storeMgr |
| Fields inherited from class org.datanucleus.store.mapped.mapping.JavaTypeMapping |
|---|
datastoreContainer, datastoreMappings, dba, LOCALISER, mmd, referenceMapping, roleForMember, type |
| Constructor Summary | |
|---|---|
OracleMapMapping()
|
|
| Method Summary | |
|---|---|
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 CLOB object. |
void |
postUpdate(org.datanucleus.StateManager sm)
|
| Methods inherited from class org.datanucleus.store.mapped.mapping.MapMapping |
|---|
equals, getJavaType, newLiteral, newScalarExpression, preDelete |
| Methods inherited from class org.datanucleus.store.mapped.mapping.AbstractContainerMapping |
|---|
containerIsStoredInSingleColumn, getDatastoreContainer, getDataStoreMapping, getDataStoreMappings, getJavaTypeForDatastoreMapping, getNumberOfDatastoreFields, getObject, getSampleValue, hashCode, hasSimpleDatastoreRepresentation, includeInFetchStatement, includeInInsertStatement, includeInUpdateStatement, initialize, postFetch, prepareDatastoreMapping, replaceFieldWithWrapper, setObject |
| Methods inherited from class org.datanucleus.store.mapped.mapping.SingleFieldMapping |
|---|
getBoolean, getByte, getChar, getDefaultLength, getDouble, getFloat, getInt, getLong, getShort, getString, getValidValues, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setShort, setString |
| Methods inherited from class org.datanucleus.store.mapped.mapping.JavaTypeMapping |
|---|
addDataStoreMapping, failureMessage, getMemberMetaData, getObject, getReferenceMapping, getRoleForMember, getType, initialize, isNullable, isSerialised, setDatastoreContainer, setDefault, setMemberMetaData, setObject, setReferenceMapping, setRoleForMember |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.datanucleus.store.mapped.mapping.MappingCallbacks |
|---|
postFetch |
| Constructor Detail |
|---|
public OracleMapMapping()
| Method Detail |
|---|
public void postInsert(org.datanucleus.StateManager sm)
postInsert in interface org.datanucleus.store.mapped.mapping.MappingCallbackspostInsert in class org.datanucleus.store.mapped.mapping.MapMappingsm - the current StateManagerpublic void postUpdate(org.datanucleus.StateManager sm)
postUpdate in interface org.datanucleus.store.mapped.mapping.MappingCallbackspostUpdate in class org.datanucleus.store.mapped.mapping.MapMappingMappingCallbacks.postUpdate(org.datanucleus.StateManager)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||