OPENJPA-965: Open up FinderQueryImpl for jdbc-like and non-jdbc

implementation

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@751775 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Fay Wang 2009-03-09 17:41:58 +00:00
parent de5e6c9ba9
commit 1ece64d1df
2 changed files with 2 additions and 2 deletions

View File

@ -151,7 +151,7 @@ public class FinderQueryImpl
} }
rs = _select.executeQuery(conn, stmnt, getQueryString(), jstore, rs = _select.executeQuery(conn, stmnt, getQueryString(), jstore,
params); params, _pkCols);
return _select.getEagerResult(conn, stmnt, rs, jstore, return _select.getEagerResult(conn, stmnt, rs, jstore,
(JDBCFetchConfiguration)fetch, forUpdate, _buffer); (JDBCFetchConfiguration)fetch, forUpdate, _buffer);
} catch (SQLException se) { } catch (SQLException se) {

View File

@ -483,7 +483,7 @@ public class SelectImpl
* implementation of executing query. * implementation of executing query.
*/ */
public ResultSet executeQuery(Connection conn, PreparedStatement stmnt, public ResultSet executeQuery(Connection conn, PreparedStatement stmnt,
String sql, JDBCStore store, Object[] params) String sql, JDBCStore store, Object[] params, Column[] cols)
throws SQLException { throws SQLException {
return stmnt.executeQuery(); return stmnt.executeQuery();
} }