aspose file tools
The moose likes JDBC and the fly likes error in prepared statement Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "error in prepared statement" Watch "error in prepared statement" New topic
Author

error in prepared statement

nadeem akhtar
Greenhorn

Joined: Oct 17, 2009
Posts: 12
Rob Camick
Ranch Hand

Joined: Jun 13, 2009
Posts: 1808
    
    2
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

Joined: Mar 03, 2008
Posts: 470
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 26496
    
  78

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: error in prepared statement
 
Similar Threads
jTDS Driver is giving error when connecting to SQL 2000
please help me to corect the error
Please Point Out My Mistakes
I FACE SOME ERROR, PLEASE HELP ME, ALSO I SEE THE RESULT IN SIMPLE GUI
Database Connection