mirror of https://github.com/apache/openjpa.git
OPENJPA-965 Open up FinderCacheImpl for non-JDBC or JDBC-like implementation of preparing statement/query execution
An approache not exposing FinderCacheImpl to jdbc kernel git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@751301 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b612d64620
commit
b45109cec3
|
@ -150,7 +150,8 @@ public class FinderQueryImpl
|
|||
}
|
||||
}
|
||||
|
||||
rs = _select.executeQuery(conn, stmnt, this, jstore, params);
|
||||
rs = _select.executeQuery(conn, stmnt, getQueryString(), jstore,
|
||||
params);
|
||||
return _select.getEagerResult(conn, stmnt, rs, jstore,
|
||||
(JDBCFetchConfiguration)fetch, forUpdate, _buffer);
|
||||
} catch (SQLException se) {
|
||||
|
|
|
@ -484,7 +484,7 @@ public class SelectImpl
|
|||
* implementation of executing query.
|
||||
*/
|
||||
public ResultSet executeQuery(Connection conn, PreparedStatement stmnt,
|
||||
FinderQueryImpl finder, JDBCStore store, Object[] params)
|
||||
String sql, JDBCStore store, Object[] params)
|
||||
throws SQLException {
|
||||
return stmnt.executeQuery();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue