org.apache.openjpa.jdbc.sql
protected abstract static class PostgresDictionary.PostgresConnection extends DelegatingConnection
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE
Constructor and Description |
---|
PostgresDictionary.PostgresConnection(Connection conn,
PostgresDictionary dict) |
Modifier and Type | Method and Description |
---|---|
protected PreparedStatement |
prepareStatement(String sql,
boolean wrap)
Prepare a statement, with the option of not wrapping it in a
DelegatingPreparedStatement , which is the default. |
protected PreparedStatement |
prepareStatement(String sql,
int rsType,
int rsConcur,
boolean wrap)
Prepare a statement, with the option of not wrapping it in a
DelegatingPreparedStatement , which is the default. |
appendInfo, clearWarnings, close, commit, createStatement, createStatement, createStatement, createStatement, createStatement, createStatement, enforceAbstract, equals, getAutoCommit, getCatalog, getDelegate, getHoldability, getInnermostDelegate, getMetaData, getMetaData, getTransactionIsolation, getTypeMap, getWarnings, hashCode, isClosed, isReadOnly, isWrapperFor, nativeSQL, newInstance, prepareCall, prepareCall, prepareCall, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setHoldability, setReadOnly, setSavepoint, setSavepoint, setTransactionIsolation, setTypeMap, toString, unwrap
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStruct, getClientInfo, getClientInfo, isValid, setClientInfo, setClientInfo
public PostgresDictionary.PostgresConnection(Connection conn, PostgresDictionary dict)
protected PreparedStatement prepareStatement(String sql, boolean wrap) throws SQLException
DelegatingConnection
DelegatingPreparedStatement
, which is the default.prepareStatement
in class DelegatingConnection
SQLException
protected PreparedStatement prepareStatement(String sql, int rsType, int rsConcur, boolean wrap) throws SQLException
DelegatingConnection
DelegatingPreparedStatement
, which is the default.prepareStatement
in class DelegatingConnection
SQLException
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.