SolarMetric Kodo JDO 2.5.8 generated on January 11 2004

com.solarmetric.kodo.impl.jdbc.ormapping
Interface LoadPrimary

All Known Implementing Classes:
ValueMapping, StringificationMapping, OneToOneMapping

public interface LoadPrimary

Represents a field mapping that loads from the primary table for the class the field belongs to.

Some mappings may contain data in both the primary table and a secondary table, in which they can also implement the LoadSecondary interface. One such relation is a 1-1 relation, which holds the PK of the related object in the primary table, but loads the object itself from a secondary table.


Method Summary
 void load(StateManagerImpl sm, int field, ResultSet rs, int startColumn)
          Load the value of this mapping from the ResultSet produced by the Select passed to the select(com.solarmetric.kodo.impl.jdbc.sql.Select) method.
 void select(Select select)
          Select the value of this mapping.
 

Method Detail

select

public void select(Select select)
Select the value of this mapping.

load

public void load(StateManagerImpl sm,
                 int field,
                 ResultSet rs,
                 int startColumn)
          throws SQLException
Load the value of this mapping from the ResultSet produced by the Select passed to the select(com.solarmetric.kodo.impl.jdbc.sql.Select) method.

SolarMetric Kodo JDO 2.5.8 generated on January 11 2004

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