java.sql.SQLException: Column Index out of range, 0 < 1

后端 未结 3 1704
无人共我
无人共我 2020-12-11 04:54

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

3条回答
  •  一生所求
    2020-12-11 05:42

    the statement should be like this

    while (resultSet.next())

    resultSet.getBlob(1);

    col index from 1 to ...

提交回复
热议问题