Class Hierarchy Previous Next Index
java.lang.Object | +----COM.cloudscape.vti.UpdatableVTITemplate | +----COM.cloudscape.vti20.UpdatableVTITemplate
An abstract implementation of PreparedStatement (JDK1.2/JDBC 2.0) that is useful when writing an updatable VTI (virtual table interface). This class implements the methods of the JDBC2.0 version of PreparedStatement, each one throwing a SQLException with the name of the method. A concrete sub-class can then just implement the methods not implemented here and override any methods it needs to implement for correct functionality.
This class is for use with JDBC 2.0 (that is, JDK 1.2 or higher). It implements methods that are in the JDBC 2.0 PreparedStatement interface.
VTI implementation must provide an
implementation of the methods in this class.
public UpdatableVTITemplate()
public int getResultSetType() throws java.sql.SQLException
public void setBlob(int i, java.sql.Blob x) throws java.sql.SQLException
public void setFetchDirection(int direction) throws java.sql.SQLException
public void setFetchSize(int rows) throws java.sql.SQLException
public void addBatch() throws java.sql.SQLException
public void addBatch(java.lang.String sql) throws java.sql.SQLException
public void setCharacterStream(int parameterIndex, java.io.Reader reader, int length) throws java.sql.SQLException
public java.sql.Connection getConnection() throws java.sql.SQLException
public int getFetchDirection() throws java.sql.SQLException
public void setTime(int parameterIndex, java.sql.Time x, java.util.Calendar cal) throws java.sql.SQLException
public void setTimestamp(int parameterIndex, java.sql.Timestamp x, java.util.Calendar cal) throws java.sql.SQLException
public int getFetchSize() throws java.sql.SQLException
public void setRef(int i, java.sql.Ref x) throws java.sql.SQLException
public void setDate(int parameterIndex, java.sql.Date x, java.util.Calendar cal) throws java.sql.SQLException
public void setClob(int i, java.sql.Clob x) throws java.sql.SQLException
public void setArray(int i, java.sql.Array x) throws java.sql.SQLException
Class Hierarchy Previous Next Index