Commit 6d3c009a authored by mobreza's avatar mobreza
Browse files

setFetchSize causes problems with Postgres

parent 31de09c1
......@@ -43,7 +43,8 @@ public class JdbcRowReader implements RowReader {
this.preparedStatement = conn
.prepareStatement(query, ResultSet.TYPE_FORWARD_ONLY,
ResultSet.CONCUR_READ_ONLY);
preparedStatement.setFetchSize(Integer.MIN_VALUE);
// TODO Can this be a setting on the DB level?
//preparedStatement.setFetchSize(Integer.MIN_VALUE);
this.res = preparedStatement.executeQuery();
ResultSetMetaData metadata = res.getMetaData();
this.columnCount = metadata.getColumnCount();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment