Class Hierarchy    Previous  Next  Index

Class COM.cloudscape.vti20.UpdatableVTITemplate

java.lang.Object
    |
    +----COM.cloudscape.vti.UpdatableVTITemplate
            |
            +----COM.cloudscape.vti20.UpdatableVTITemplate

public class UpdatableVTITemplate
extends UpdatableVTITemplate
Copyright © 1998-2000, Informix Software, Inc. All rights reserved.

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.


Constructor Index

 o UpdatableVTITemplate()
 

Method Index

 o addBatch()
 
 o addBatch(String)
 
 o getConnection()
 
 o getFetchDirection()
 
 o getFetchSize()
 
 o getResultSetType()
 
 o setArray(int, Array)
 
 o setBlob(int, Blob)
 
 o setCharacterStream(int, Reader, int)
 
 o setClob(int, Clob)
 
 o setDate(int, Date, Calendar)
 
 o setFetchDirection(int)
 
 o setFetchSize(int)
 
 o setRef(int, Ref)
 
 o setTime(int, Time, Calendar)
 
 o setTimestamp(int, Timestamp, Calendar)
 

Constructor Detail

 o UpdatableVTITemplate
public UpdatableVTITemplate()

Method Detail

 o getResultSetType
public int getResultSetType() throws java.sql.SQLException
Throws:
java.sql.SQLException - Always thrown
See Also:
java.sql.PreparedStatement
 o setBlob
public void setBlob(int i,
                    java.sql.Blob x) throws java.sql.SQLException
Throws:
java.sql.SQLException - Always thrown
See Also:
java.sql.PreparedStatement
 o setFetchDirection
public void setFetchDirection(int direction) throws java.sql.SQLException
Throws:
java.sql.SQLException - Always thrown
See Also:
java.sql.PreparedStatement
 o setFetchSize
public void setFetchSize(int rows) throws java.sql.SQLException
Throws:
java.sql.SQLException - Always thrown
See Also:
java.sql.PreparedStatement
 o addBatch
public void addBatch() throws java.sql.SQLException
Throws:
java.sql.SQLException - Always thrown
See Also:
java.sql.PreparedStatement
 o addBatch
public void addBatch(java.lang.String sql) throws java.sql.SQLException
Throws:
java.sql.SQLException - Always thrown
Overrides:
addBatch in class UpdatableVTITemplate
See Also:
java.sql.PreparedStatement
 o setCharacterStream
public void setCharacterStream(int parameterIndex,
                               java.io.Reader reader,
                               int length) throws java.sql.SQLException
Throws:
java.sql.SQLException - Always thrown
See Also:
java.sql.PreparedStatement
 o getConnection
public java.sql.Connection getConnection() throws java.sql.SQLException
Throws:
java.sql.SQLException - Always thrown
See Also:
java.sql.PreparedStatement
 o getFetchDirection
public int getFetchDirection() throws java.sql.SQLException
Throws:
java.sql.SQLException - Always thrown
See Also:
java.sql.PreparedStatement
 o setTime
public void setTime(int parameterIndex,
                    java.sql.Time x,
                    java.util.Calendar cal) throws java.sql.SQLException
Throws:
java.sql.SQLException - Always thrown
See Also:
java.sql.PreparedStatement
 o setTimestamp
public void setTimestamp(int parameterIndex,
                         java.sql.Timestamp x,
                         java.util.Calendar cal) throws java.sql.SQLException
Throws:
java.sql.SQLException - Always thrown
See Also:
java.sql.PreparedStatement
 o getFetchSize
public int getFetchSize() throws java.sql.SQLException
Throws:
java.sql.SQLException - Always thrown
See Also:
java.sql.PreparedStatement
 o setRef
public void setRef(int i,
                   java.sql.Ref x) throws java.sql.SQLException
Throws:
java.sql.SQLException - Always thrown
See Also:
java.sql.PreparedStatement
 o setDate
public void setDate(int parameterIndex,
                    java.sql.Date x,
                    java.util.Calendar cal) throws java.sql.SQLException
Throws:
java.sql.SQLException - Always thrown
See Also:
java.sql.PreparedStatement
 o setClob
public void setClob(int i,
                    java.sql.Clob x) throws java.sql.SQLException
Throws:
java.sql.SQLException - Always thrown
See Also:
java.sql.PreparedStatement
 o setArray
public void setArray(int i,
                     java.sql.Array x) throws java.sql.SQLException
Throws:
java.sql.SQLException - Always thrown
See Also:
java.sql.PreparedStatement

  Class Hierarchy    Previous  Next  Index