• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

java.sql.SQLException: Parameter missing IN or OUT index: 2

 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

i got an error: java.sql.SQLException: Parameter missing IN or OUT index::2 in this bellow code

But when I put the value in code I get the error java.sql.SQLException: Parameter missing IN or OUT index:: 1

The Query class is from a framework, but the error happens when execute rs = stmt.executeQuery(); inside Query class as normally Statement...

The database is oracle9i, but I'm using oracle client 10. I don't know if it can cause issues....

Someone have an indea what can be happening ?










 
everson santos
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I solved



to



 
reply
    Bookmark Topic Watch Topic
  • New Topic