• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error in prepared statement

 
nadeem akhtar
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Rob Camick
Ranch Hand
Posts: 2676
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why did you create a new posting?

You can edit your original question. And while your at it, use the "Code" tags so your code is formatted and readable.

And you still haven't stated what the actual compile/runtime error is.
 
Misha Ver
Ranch Hand
Posts: 470
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please use code tags - http://faq.javaranch.com/java/UseCodeTags , it is hard to read your code. It would be better if you tell the details of the error http://faq.javaranch.com/java/TellTheDetails

By the way you have the misprint in this line


 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35279
384
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this the exact code you used? "prepateStatement" has a typo and wouldn't compile.

As pointed out above, you want to TellTheDetails so people can help you with your actual error rather than speculate about it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic