I\'m using the following code
st = connection.createStatement( ResultSet.CONCUR_READ_ONLY, ResultSet.FETCH_FORWARD, Resu
I think setFetchSize(...) is in order to provide Pagenation
setFetchSize(...)
But in case you just want to limit the number of rows, use this instead:
st.setMaxRows(1000);