SQLException: Before start of result set code example
Example: java.sql.SQLException: Before start of result set
if (rs.next() {
InputStream stream = rs.getBinaryStream(1);
...
if (rs.next() {
InputStream stream = rs.getBinaryStream(1);
...