1 2 12 package com.versant.core.jdbc; 13 14 import com.versant.core.jdbc.metadata.JdbcField; 15 import com.versant.core.jdbc.metadata.JdbcColumn; 16 import com.versant.core.common.OID; 17 18 import java.sql.ResultSet ; 19 import java.sql.SQLException ; 20 import java.sql.PreparedStatement ; 21 22 25 public interface JdbcOID extends OID { 26 27 35 public boolean copyKeyFields(ResultSet rs, int firstCol) 36 throws SQLException ; 37 38 public boolean copyKeyFields(ResultSet rs, JdbcField[] pks, 39 int[] pkFieldIndexs) throws SQLException ; 40 41 public boolean validateKeyFields(ResultSet rs, int firstCol) 42 throws SQLException ; 43 44 52 public int setParams(PreparedStatement ps, int firstParam) 53 throws SQLException ; 54 55 59 public int setParams(PreparedStatement ps, int firstParam, 60 JdbcColumn[] pkc) throws SQLException ; 61 62 } 63 64 | Popular Tags |