You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PreparedStatement.executeQuery does not mark the result set as requested #107
LibsqlPreparedStatement.executeQuery calls assignResultSet(resultSet, false). LibsqlStatement.executeQuery passes true, which is the contract from #85.
With a prepared statement, ps.executeQuery(); ps.getResultSet() returns the same open result set. sqlite-jdbc throws because JDBC3PreparedStatement.executeQuery ends in getResultSet(), so a second request fails.
LibsqlStatementLifecycleTest covers only the plain Statement.
Expected:
Pass true in the prepared path.
Add the prepared statement case to the lifecycle tests.
Activity
fix(jdbc): mark prepared executeQuery result set as requested (#139)