| java.lang.Object com.versant.core.common.GenericOID com.versant.core.jdbc.JdbcGenericOID
JdbcGenericOID | public class JdbcGenericOID extends GenericOID implements JdbcOID(Code) | | Adds JDBC specific methods to GenericOID.
|
JdbcGenericOID | public JdbcGenericOID()(Code) | | |
copyKeyFields | public boolean copyKeyFields(ResultSet rs, int firstCol) throws SQLException(Code) | | Populate this OID from the given ResultSet. The firstCol parameter
specifies the column index of the first column to read from rs. If
the primary key consists of multiple columns then they will be
present in the same order as defined in the meta data.
False if OID is 'null', true otherwise |
setParams | public int setParams(PreparedStatement ps, int firstParam) throws SQLException(Code) | | Set parameters on a PrepareStatement from this OID. The firstParam
parameter specifies the column index of the first parameter to set.
If the primary key consists of multiple parameters then they must
all be set in the same order as defined in the meta data. The new
firstParam value must be returned i.e. if firstParam started as 3 and
our pk consists of 2 columns then 5 must be returned.
|
setParams | public int setParams(PreparedStatement ps, int firstParam, JdbcColumn[] pkc) throws SQLException(Code) | | Set parameters on a PrepareStatement from this OID. Columns in pkc
that return false from isForUpdate() should be ignored.
|
|
|