Class Hierarchy        Index

Class COM.cloudscape.vti20.VTIMetaDataTemplate

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

public abstract class VTIMetaDataTemplate
extends VTIMetaDataTemplate
An abstract implementation of ResultSetMetaData (JDK1.2/JDBC 2.0) that is useful when writing a VTI (virtual table interface). This class implements most of the methods of ResultSetMetaData, 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.

The methods not implemented here are


A VTI implementation must provide an implementation of the methods in this class.


Constructor Index

 o VTIMetaDataTemplate()

Method Index

 o getColumnClassName(int)
JDBC 2.0

Returns the fully-qualified name of the Java class whose instances are manufactured if the method ResultSet.getObject is called to retrieve a value from the column.

Constructors

 o VTIMetaDataTemplate
 public VTIMetaDataTemplate()

Methods

 o getColumnClassName
 public String getColumnClassName(int column) throws SQLException
JDBC 2.0

Returns the fully-qualified name of the Java class whose instances are manufactured if the method ResultSet.getObject is called to retrieve a value from the column.

Throws: SQLException
if a database-access error occurs

  Class Hierarchy        Index