SolarMetric Kodo JDO 2.4.3 generated on March 27 2003

com.solarmetric.kodo.impl.jdbc.ormapping
Class OracleBlobMapping

java.lang.Object
  |
  +--com.solarmetric.kodo.impl.jdbc.ormapping.Mapping
        |
        +--com.solarmetric.kodo.impl.jdbc.ormapping.FieldMapping
              |
              +--com.solarmetric.kodo.impl.jdbc.ormapping.LobMapping
                    |
                    +--com.solarmetric.kodo.impl.jdbc.ormapping.BlobMapping
                          |
                          +--com.solarmetric.kodo.impl.jdbc.ormapping.OracleBlobMapping
All Implemented Interfaces:
LoadSecondary, PrimaryTable, StorePrimary, StoreSecondary
Direct Known Subclasses:
ExplicitOracleBlobMapping

public class OracleBlobMapping
extends BlobMapping

Oracle-specific BLOB mapping that deals with Oracle's BLOB craziness.


Field Summary
static Object EMPTY_BLOB
           
 
Fields inherited from class com.solarmetric.kodo.impl.jdbc.ormapping.FieldMapping
COL_INDEX, COL_LENGTH, DATA_COL
 
Fields inherited from class com.solarmetric.kodo.impl.jdbc.ormapping.Mapping
CUSTOM_MAPPING, dict, MAPPING, TABLE
 
Constructor Summary
OracleBlobMapping()
           
 
Method Summary
 void update(StateManagerImpl sm, Object[] pks, int field, SQLExecutionManager sqlem)
          Update the given field into the secondary table for this mapping.
 void update(Update update, StateManagerImpl sm, int field)
          Add the crazy 'EMPTY_BLOB()' directive in the appropriate spot.
 
Methods inherited from class com.solarmetric.kodo.impl.jdbc.ormapping.BlobMapping
canMap, getSQLType
 
Methods inherited from class com.solarmetric.kodo.impl.jdbc.ormapping.LobMapping
delete, delete, getColumns, getLoadResultSet, getPKColumns, insert, insert, install, load, setPKColumns
 
Methods inherited from class com.solarmetric.kodo.impl.jdbc.ormapping.FieldMapping
compareToNull, getDataColumns, getInstance, getInstance, getMetaData, join, setDataColumns
 
Methods inherited from class com.solarmetric.kodo.impl.jdbc.ormapping.Mapping
createMappings, createMappings, getConfiguration, getDictionary, getInstance, getTable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.solarmetric.kodo.impl.jdbc.ormapping.LoadSecondary
load
 
Methods inherited from interface com.solarmetric.kodo.impl.jdbc.ormapping.StorePrimary
delete, insert
 
Methods inherited from interface com.solarmetric.kodo.impl.jdbc.ormapping.StoreSecondary
delete, insert
 
Methods inherited from interface com.solarmetric.kodo.impl.jdbc.ormapping.PrimaryTable
getColumns
 

Field Detail

EMPTY_BLOB

public static final Object EMPTY_BLOB
Constructor Detail

OracleBlobMapping

public OracleBlobMapping()
Method Detail

update

public void update(Update update,
                   StateManagerImpl sm,
                   int field)
            throws SQLException
Add the crazy 'EMPTY_BLOB()' directive in the appropriate spot.
Overrides:
update in class LobMapping

update

public void update(StateManagerImpl sm,
                   Object[] pks,
                   int field,
                   SQLExecutionManager sqlem)
            throws SQLException
Description copied from interface: StoreSecondary
Update the given field into the secondary table for this mapping.
Overrides:
update in class LobMapping

SolarMetric Kodo JDO 2.4.3 generated on March 27 2003

Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.