Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MySQL Problem !!!

 
Siddharth Bhargava
Ranch Hand
Posts: 280
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using jdbcTemplate and while getting the value of the User I am getting an exception .... I am attaching my code snippet.....

The exception which is coming is as follows:




Please tell me the solution to this problem and tell me where i am going wrong.... Thanks in advance ...
 
Bob Good
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perhaps the '?' parameter should be ?
 
Siddharth Bhargava
Ranch Hand
Posts: 280
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I checked with ? also instead of '?' but its giving problem with it also ...
 
Bob Good
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The same exception or a different one?
Please post it...

You old one was this:
Parameter index out of range (1 > number of parameters, which is 0).
[ February 01, 2008: Message edited by: Bob Good ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic