Blogger

Delete comment from: Javarevisited

Hi Anonymous, Can you please post full exception stacktrace? From your code it looks like you are setting fifth position ps.setString(5) but I can only see 4 placeholders (?) in your prepared statement. This could be the cause of your SQLException, invalid column index.

Aug 3, 2013, 1:26:42 AM


Posted to How to fix java.sql.SQLException: Invalid column index? Example

Google apps
Main menu