mirror of https://github.com/apache/openjpa.git
OPENJPA-1285: fix InitializerError in JDBCStoreManager$RefCountConnection.prepareStatement(JDBCStoreManager.java:1543)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813930 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ba5692da52
commit
c534d29cb7
|
@ -1524,12 +1524,8 @@ public class JDBCStoreManager
|
|||
|
||||
protected Statement createStatement(int rsType, int rsConcur,
|
||||
boolean wrap) throws SQLException {
|
||||
return ConcreteClassGenerator.newInstance
|
||||
(cancelStatementImpl,
|
||||
JDBCStoreManager.class, JDBCStoreManager.this,
|
||||
Statement.class,
|
||||
super.createStatement(rsType, rsConcur, false),
|
||||
Connection.class, RefCountConnection.this);
|
||||
return ConcreteClassGenerator.newInstance(cancelStatementImpl, JDBCStoreManager.this,
|
||||
super.createStatement(rsType, rsConcur, false), RefCountConnection.this);
|
||||
}
|
||||
|
||||
protected PreparedStatement prepareStatement(String sql, boolean wrap)
|
||||
|
@ -1542,10 +1538,8 @@ public class JDBCStoreManager
|
|||
int rsConcur, boolean wrap) throws SQLException {
|
||||
return ConcreteClassGenerator.newInstance
|
||||
(cancelPreparedStatementImpl,
|
||||
JDBCStoreManager.class, JDBCStoreManager.this,
|
||||
PreparedStatement.class,
|
||||
super.prepareStatement(sql, rsType, rsConcur, false),
|
||||
Connection.class, RefCountConnection.this);
|
||||
JDBCStoreManager.this, super.prepareStatement(sql, rsType, rsConcur, false),
|
||||
RefCountConnection.this);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue