|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.lib.jdbc.DelegatingConnection org.apache.openjpa.jdbc.sql.PostgresDictionary.PostgresConnection
protected abstract static class PostgresDictionary.PostgresConnection
Connection wrapper to work around the postgres empty result set bug.
Field Summary |
---|
Fields inherited from interface java.sql.Connection |
---|
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE |
Constructor Summary | |
---|---|
PostgresDictionary.PostgresConnection(Connection conn,
PostgresDictionary dict)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PostgresDictionary.PostgresConnection(Connection conn, PostgresDictionary dict)
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |