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? -

ruby - How do I merge two hashes into a hash of arrays? -