1 package org.postgresql.jdbc1;
4 import java.util.Vector;
6 import org.postgresql.core.Field;
7 import org.postgresql.util.PSQLException;
9 /* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc1/Attic/Jdbc1Connection.java,v 1.7 2003/03/07 18:39:44 barry Exp $
10 * This class implements the java.sql.Connection interface for JDBC1.
11 * However most of the implementation is really done in
12 * org.postgresql.jdbc1.AbstractJdbc1Connection
14 public class Jdbc1Connection extends org.postgresql.jdbc1.AbstractJdbc1Connection implements java.sql.Connection
17 public java.sql.Statement createStatement() throws SQLException
19 return new org.postgresql.jdbc1.Jdbc1Statement(this);
22 public java.sql.PreparedStatement prepareStatement(String sql) throws SQLException
24 return new org.postgresql.jdbc1.Jdbc1PreparedStatement(this, sql);
27 public java.sql.CallableStatement prepareCall(String sql) throws SQLException
29 return new org.postgresql.jdbc1.Jdbc1CallableStatement(this, sql);
32 public java.sql.DatabaseMetaData getMetaData() throws SQLException
35 metadata = new org.postgresql.jdbc1.Jdbc1DatabaseMetaData(this);