fixes unique method error in oracle dialect

example:
```
SELECT(ask.*) FROM(ask) WHERE(ask.id EQ askQuestId).unique
```
throw Exception

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