playframework/playframework — pull request #3316 by cchantep (2014-08-21 00:21:17+00:00)
Title: Oracle JDBC driver doesn't support isLast on ResultSet

I'm using anorm 2.4-SNAPSHOT and I replaced `query.apply` with `query.fold` as suggested by the deprecation message.

On an Oracle database I get the following exception:

> java.sql.SQLException: Invalid operation for forward only resultset : isLast

and apparently the reason is that Oracle doesn't support `isLast`, which is called here by `RowIterator`: https://github.com/playframework/playframework/blob/863a9bdf78c25e9161043f3c6f8567b9e12fb3bb/framework/src/anorm/src/main/scala/anorm/Anorm.scala#L435

How can we work around this issue?