baseconnection.java

来自「PostgreSQL7.4.6 for Linux」· Java 代码 · 共 48 行

JAVA
48
字号
/*------------------------------------------------------------------------- * * BaseConnection.java *	  The internal interface definition for a jdbc connection * * Copyright (c) 2003, PostgreSQL Global Development Group * * IDENTIFICATION *	  $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/core/Attic/BaseConnection.java,v 1.4 2003/10/29 02:39:09 davec Exp $ * *------------------------------------------------------------------------- */package org.postgresql.core;import java.sql.DatabaseMetaData;import java.sql.Statement;import java.sql.SQLException;import org.postgresql.PGConnection;import org.postgresql.PGNotification;public interface BaseConnection extends PGConnection{	public void addNotification(PGNotification p_notification);	public void addWarning(String msg);	public void cancelQuery() throws SQLException;	public Statement createStatement() throws SQLException;	public BaseResultSet execSQL(String s) throws SQLException;	public boolean getAutoCommit();	public String getCursorName() throws SQLException;	public Encoding getEncoding() throws SQLException;	public DatabaseMetaData getMetaData() throws SQLException;	public Object getObject(String type, String value) throws SQLException;	public int getPGProtocolVersionMajor();	public int getPGProtocolVersionMinor();	public PGStream getPGStream();	public String getPGType(int oid) throws SQLException;	public int getPGType(String pgTypeName) throws SQLException;	public int getSQLType(int oid) throws SQLException;	public int getSQLType(String pgTypeName) throws SQLException;	public boolean haveMinimumCompatibleVersion(String ver) throws SQLException;	public boolean haveMinimumServerVersion(String ver) throws SQLException;	public void setAutoCommit(boolean autoCommit) throws SQLException;	public void setCursorName(String cursor) throws SQLException;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?