|
SolarMetric Kodo JDO 2.4.3 generated on March 27 2003 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.solarmetric.kodo.impl.jdbc.ormapping.Mapping
|
+--com.solarmetric.kodo.impl.jdbc.ormapping.FieldMapping
|
+--com.solarmetric.kodo.impl.jdbc.ormapping.LobMapping
Represents the mapping of a locator object column in the owning class' primary table. Locator objects are loaded and stored as secondary mappings for efficiency and due to the special handling needed to deal with them.
| 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 | |
|---|---|
LobMapping()
|
|
| Method Summary | |
|---|---|
protected boolean |
canMap(FieldMetaData fmd,
ClassResolver resolver)
|
void |
delete(Delete del,
StateManagerImpl sm,
int field)
Delete the field from the primary table for this mapping. |
void |
delete(StateManagerImpl sm,
Object[] pks,
int field,
SQLExecutionManager sqlem)
Delete the field from the secondary table for this mapping. |
Column[] |
getColumns()
Return all columns of the primary table used only by this mapping. |
protected ResultSet |
getLoadResultSet(StateManagerImpl sm,
Object[] pks,
int field,
SQLExecutionManager sqlem)
|
Column[] |
getPKColumns()
Return the primary key columns of the owning class. |
protected abstract int |
getSQLType()
Returns the SQLType code for this concrete LOB implementation. |
void |
insert(Insert insert,
StateManagerImpl sm,
int field)
Insert the given field into the primary table for this mapping. |
void |
insert(StateManagerImpl sm,
Object[] pks,
int field,
SQLExecutionManager sqlem)
Insert the given field into the secondary table for this mapping. |
protected void |
install(FieldMetaData fmd,
JDBCConfiguration conf,
ClassResolver resolver,
DBDictionary dict)
|
void |
load(StateManagerImpl sm,
Object[] pks,
int field,
SQLExecutionManager sqlem)
Load the value of this mapping for the given instance. |
void |
setPKColumns(Column[] columns)
Set the primary key columns of the owning class. |
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)
Update the given field into the primary table for this mapping. |
| 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 |
| Constructor Detail |
public LobMapping()
| Method Detail |
protected abstract int getSQLType()
public Column[] getPKColumns()
public void setPKColumns(Column[] columns)
public void load(StateManagerImpl sm,
Object[] pks,
int field,
SQLExecutionManager sqlem)
throws SQLException
LoadSecondaryload in interface LoadSecondarycom.solarmetric.kodo.impl.jdbc.ormapping.LoadSecondarystmnt - The caller is responsible for closing the statement.
protected ResultSet getLoadResultSet(StateManagerImpl sm,
Object[] pks,
int field,
SQLExecutionManager sqlem)
throws SQLException
public void insert(Insert insert,
StateManagerImpl sm,
int field)
throws SQLException
StorePrimaryinsert in interface StorePrimary
public void update(Update update,
StateManagerImpl sm,
int field)
throws SQLException
StorePrimaryupdate in interface StorePrimary
public void delete(Delete del,
StateManagerImpl sm,
int field)
throws SQLException
StorePrimarydelete in interface StorePrimary
public void insert(StateManagerImpl sm,
Object[] pks,
int field,
SQLExecutionManager sqlem)
throws SQLException
StoreSecondaryinsert in interface StoreSecondary
public void update(StateManagerImpl sm,
Object[] pks,
int field,
SQLExecutionManager sqlem)
throws SQLException
StoreSecondaryupdate in interface StoreSecondary
public void delete(StateManagerImpl sm,
Object[] pks,
int field,
SQLExecutionManager sqlem)
throws SQLException
StoreSecondarydelete in interface StoreSecondary
protected boolean canMap(FieldMetaData fmd,
ClassResolver resolver)
protected void install(FieldMetaData fmd,
JDBCConfiguration conf,
ClassResolver resolver,
DBDictionary dict)
public Column[] getColumns()
PrimaryTablegetColumns in interface PrimaryTable
|
SolarMetric Kodo JDO 2.4.3 generated on March 27 2003 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||