01: /*-------------------------------------------------------------------------
02: *
03: * Copyright (c) 2004-2005, PostgreSQL Global Development Group
04: *
05: * IDENTIFICATION
06: * $PostgreSQL: pgjdbc/org/postgresql/jdbc4/AbstractJdbc4DatabaseMetaData.java,v 1.3 2006/12/01 12:01:53 jurka Exp $
07: *
08: *-------------------------------------------------------------------------
09: */
10: package org.postgresql.jdbc4;
11:
12: import java.sql.*;
13:
14: public class AbstractJdbc4DatabaseMetaData extends
15: org.postgresql.jdbc3.AbstractJdbc3DatabaseMetaData {
16:
17: public AbstractJdbc4DatabaseMetaData(AbstractJdbc4Connection conn) {
18: super (conn);
19: }
20:
21: public RowIdLifetime getRowIdLifetime() throws SQLException {
22: throw org.postgresql.Driver.notImplemented(this .getClass(),
23: "getRowIdLifetime()");
24: }
25:
26: public ResultSet getSchemas(String catalog, String schemaPattern)
27: throws SQLException {
28: throw org.postgresql.Driver.notImplemented(this .getClass(),
29: "getSchemas(String, String)");
30: }
31:
32: public boolean supportsStoredFunctionsUsingCallSyntax()
33: throws SQLException {
34: return true;
35: }
36:
37: public boolean autoCommitFailureClosesAllResultSets()
38: throws SQLException {
39: return false;
40: }
41:
42: public ResultSet getClientInfoProperties() throws SQLException {
43: throw org.postgresql.Driver.notImplemented(this .getClass(),
44: "getClientInfoProperties()");
45: }
46:
47: public boolean providesQueryObjectGenerator() throws SQLException {
48: return false;
49: }
50:
51: public boolean isWrapperFor(Class<?> iface) throws SQLException {
52: throw org.postgresql.Driver.notImplemented(this .getClass(),
53: "isWrapperFor(Class<?>)");
54: }
55:
56: public <T> T unwrap(Class<T> iface) throws SQLException {
57: throw org.postgresql.Driver.notImplemented(this .getClass(),
58: "unwrap(Class<T>)");
59: }
60:
61: public ResultSet getFunctions(String catalog, String schemaPattern,
62: String functionNamePattern) throws SQLException {
63: throw org.postgresql.Driver.notImplemented(this .getClass(),
64: "getFunction(String, String, String)");
65: }
66:
67: public ResultSet getFunctionColumns(String catalog,
68: String schemaPattern, String functionNamePattern,
69: String columnNamePattern) throws SQLException {
70: throw org.postgresql.Driver.notImplemented(this .getClass(),
71: "getFunctionColumns(String, String, String, String)");
72: }
73:
74: public int getJDBCMajorVersion() throws SQLException {
75: return 4;
76: }
77: }
|