jpersson/prequel — Issue #7: Expose the JDBC preparedStatement
Author: crumbpicker
Created: 2012-02-01 13:53:18+00:00
State: open

The ReusableStatement class hides the underlying JDBC preparedStatement.
It is however sometimes useful to have access to the JDBC API.
For instance with the SQLite DB I have to execute the following code:

jdbcPreparedStmt.getGeneratedKeys().getInt("last_insert_rowid()")

But with the current implemenation is is impossible.
Having a preparedStatement field in the ReusableStatement class should solve this problem.