Method Summary |
|
public void | addDataType(String type, String name) |
public void | addDataType(String type, Class klass) |
public void | addWarning(SQLWarning warn) |
public void | cancelQuery() |
public synchronized void | clearWarnings() |
public void | close() In some cases, it is desirable to immediately release a Connection's
database and JDBC resources instead of waiting for them to be
automatically released.
Note: A Connection is automatically closed when it is
garbage collected. |
public void | commit() |
public java.sql.Statement | createStatement() |
abstract public java.sql.Statement | createStatement(int resultSetType, int resultSetConcurrency) |
protected void | enableDriverManagerLogging() |
public byte[] | encodeString(String str) |
public String | escapeString(String str) |
public ResultSet | execSQLQuery(String s) |
public ResultSet | execSQLQuery(String s, int resultSetType, int resultSetConcurrency) Simple query execution. |
public void | execSQLUpdate(String s) |
protected void | finalize() |
public boolean | getAutoCommit() |
public String | getCatalog() |
public String | getCursorName() |
public String | getDBVersionNumber() |
public Encoding | getEncoding() |
public Fastpath | getFastpathAPI() |
protected String | getIsolationLevelName(int level) |
public String | getJavaClass(int oid) |
public LargeObjectManager | getLargeObjectAPI() |
public Logger | getLogger() |
abstract public DatabaseMetaData | getMetaData() |
public PGNotification[] | getNotifications() |
public Object | getObject(String type, String value) |
public int | getPGType(String typeName) |
public String | getPGType(int oid) |
public Iterator | getPGTypeNamesWithSQLTypes() |
public int | getPrepareThreshold() |
public int | getProtocolVersion() |
public QueryExecutor | getQueryExecutor() |
public int | getSQLType(int oid) |
public int | getSQLType(String pgTypeName) |
public int | getServerMajorVersion() |
public int | getServerMinorVersion() |
public boolean | getStandardConformingStrings() |
public boolean | getStringVarcharFlag() |
public TimestampUtils | getTimestampUtils() |
public int | getTransactionIsolation() |
public java.util.Map | getTypeMap() |
public String | getURL() |
public String | getUserName() |
public synchronized SQLWarning | getWarnings() |
public boolean | haveMinimumCompatibleVersion(String ver) |
public boolean | haveMinimumServerVersion(String ver) Is the server we are connected to running at least this version?
This comparison method will fail whenever a major or minor version
goes to two digits (10.3.0) or (7.10.1). |
public boolean | isClosed() |
public boolean | isReadOnly() |
public String | nativeSQL(String sql) |
public java.sql.CallableStatement | prepareCall(String sql) |
abstract public java.sql.CallableStatement | prepareCall(String sql, int resultSetType, int resultSetConcurrency) |
public java.sql.PreparedStatement | prepareStatement(String sql) |
abstract public java.sql.PreparedStatement | prepareStatement(String sql, int resultSetType, int resultSetConcurrency) |
public void | rollback() |
public void | setAutoCommit(boolean autoCommit) |
public void | setCatalog(String catalog) |
public void | setCursorName(String cursor) |
public void | setPrepareThreshold(int newThreshold) |
public void | setReadOnly(boolean readOnly) |
public void | setTransactionIsolation(int level) |
public void | setTypeMapImpl(java.util.Map map) |