What steps will reproduce the problem?
1. Use JdbcReader with the postgres JDBC Driver (9.3)
What is the expected output? What do you see instead?
Gives the following exception:
Caused by: org.postgresql.util.PSQLException: Operation requires a scrollable
ResultSet, but this ResultSet is FORWARD_ONLY.
at org.postgresql.jdbc2.AbstractJdbc2ResultSet.checkScrollable(AbstractJdbc2ResultSet.java:236)
at org.postgresql.jdbc2.AbstractJdbc2ResultSet.last(AbstractJdbc2ResultSet.java:726)
at de.tudarmstadt.ukp.dkpro.core.io.jdbc.JdbcReader.query(JdbcReader.java:171)
... 11 more
What version of the product are you using? On what operating system?
DKPro 1.6.2 on Windows, 64-bit Java 1.7
Please provide any additional information below.
The error is basically the same as in this StackOverflow Question, which also
has a potential fix:
http://stackoverflow.com/questions/6367737/resultset-exception-set-type-is-type-
forward-only-why
Original issue reported on code.google.com by kutschke...@googlemail.com on 2 Apr 2015 at 3:35
Original issue reported on code.google.com by
kutschke...@googlemail.com
on 2 Apr 2015 at 3:35