sqlexception - JDBC Invalid column index exception -


for sql query

select m.txrefno,m.processdate  f.processid=? , (m.countrycode in (?) or m.countrycode null) , (m.txrefno=?) 

i have passed string as

stmt.setstring(3, entry.getvalue().tostring()); stmt.setstring(2, entry.getvalue().tostring()); stmt.setstring(1, entry.getvalue().tostring()); 

but showing invalid column index exception.


Comments

Popular posts from this blog

Python Kivy ListView: How to delete selected ListItemButton? -

asp.net mvc 4 - A specified Include path is not valid. The EntityType '' does not declare a navigation property with the name '' -