01: /*-------------------------------------------------------------------------
02: *
03: * Copyright (c) 2004-2005, PostgreSQL Global Development Group
04: *
05: * IDENTIFICATION
06: * $PostgreSQL: pgjdbc/org/postgresql/jdbc4/AbstractJdbc4Connection.java,v 1.2 2006/10/31 06:12:46 jurka Exp $
07: *
08: *-------------------------------------------------------------------------
09: */
10: package org.postgresql.jdbc4;
11:
12: import java.sql.*;
13: import java.util.Properties;
14:
15: abstract class AbstractJdbc4Connection extends
16: org.postgresql.jdbc3.AbstractJdbc3Connection {
17: public AbstractJdbc4Connection(String host, int port, String user,
18: String database, Properties info, String url)
19: throws SQLException {
20: super (host, port, user, database, info, url);
21: }
22:
23: public Clob createClob() throws SQLException {
24: throw org.postgresql.Driver.notImplemented(this .getClass(),
25: "createClob()");
26: }
27:
28: public Blob createBlob() throws SQLException {
29: throw org.postgresql.Driver.notImplemented(this .getClass(),
30: "createBlob()");
31: }
32:
33: public NClob createNClob() throws SQLException {
34: throw org.postgresql.Driver.notImplemented(this .getClass(),
35: "createNClob()");
36: }
37:
38: public SQLXML createSQLXML() throws SQLException {
39: throw org.postgresql.Driver.notImplemented(this .getClass(),
40: "createSQLXML()");
41: }
42:
43: public Struct createStruct(String typeName, Object[] attributes)
44: throws SQLException {
45: throw org.postgresql.Driver.notImplemented(this .getClass(),
46: "createStruct(String, Object[])");
47: }
48:
49: public Array createArrayOf(String typeName, Object[] elements)
50: throws SQLException {
51: throw org.postgresql.Driver.notImplemented(this .getClass(),
52: "createArrayOf(String, Object[])");
53: }
54:
55: public boolean isValid(int timeout) throws SQLException {
56: throw org.postgresql.Driver.notImplemented(this .getClass(),
57: "isValid(int)");
58: }
59:
60: public void setClientInfo(String name, String value)
61: throws SQLClientInfoException {
62: throw new SQLClientInfoException("Not implemented.", null);
63: }
64:
65: public void setClientInfo(Properties properties)
66: throws SQLClientInfoException {
67: throw new SQLClientInfoException("Not implemented.", null);
68: }
69:
70: public String getClientInfo(String name) throws SQLException {
71: throw org.postgresql.Driver.notImplemented(this .getClass(),
72: "getClientInfo(String)");
73: }
74:
75: public Properties getClientInfo() throws SQLException {
76: throw org.postgresql.Driver.notImplemented(this .getClass(),
77: "getClientInfo()");
78: }
79:
80: public <T> T createQueryObject(Class<T> ifc) throws SQLException {
81: throw org.postgresql.Driver.notImplemented(this .getClass(),
82: "createQueryObject(Class<T>)");
83: }
84:
85: public boolean isWrapperFor(Class<?> iface) throws SQLException {
86: throw org.postgresql.Driver.notImplemented(this .getClass(),
87: "isWrapperFor(Class<?>)");
88: }
89:
90: public <T> T unwrap(Class<T> iface) throws SQLException {
91: throw org.postgresql.Driver.notImplemented(this .getClass(),
92: "unwrap(Class<T>)");
93: }
94:
95: }
|