get the List to oracle database in index values [closed]

Probably you need to study a bit more about Prepare Statement. You have problem with below code:

pstmt.setString(5, address);

While you query has just one wildcard (?) – you are trying to set string to the 5th one (which doesn’t exists). Change it to:

pstmt.setString(1, address);

Leave a Comment