| com.versant.core.jdbc.JdbcOID
All known Subclasses: com.versant.core.jdbc.JdbcNewObjectOID, com.versant.core.jdbc.JdbcGenericOID,
JdbcOID | public interface JdbcOID extends OID(Code) | | JDBC specific methods for OID.
|
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.
|
|
|