I want to display all the images from database. I have written code but that is displaying error java.sql.SQLException: Column Index out of range, 0 < 1. below is the my
Column Index should start from 1 and not 0
http://docs.oracle.com/javase/7/docs/api/java/sql/ResultSet.html#getBlob(int)
Parameters: columnIndex - the first column is 1, the second is 2, ...
Should be
resultSet.getBlob(1) //first column