aspose file tools
The moose likes JDBC and the fly likes PreparedStatement not valid Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "PreparedStatement not valid" Watch "PreparedStatement not valid" New topic
Author

PreparedStatement not valid

Muhammad Imad Qureshi
Ranch Hand

Joined: Sep 13, 2005
Posts: 238
What does the following error message means?

"PreparedStatement is not valid for this transaction context" ?

Thanks
Imad
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 16483
    
    2

That depends on the context. Was that error message thrown by Java code, or by a database, or what? Try reading this: TellTheDetails and then tell us the details.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 26173
    
  66

Also, is that the exact error message? I ask because a search on google for it only yields this thread. It's highly unlikely there aren't any other references to it on the internet, not even in a list of error messages.


[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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: PreparedStatement not valid
 
Similar Threads
PreparedStatement
How to handle this Date format?
Update query
error of missing values
Java/Oracle JDBC transaction management and committing sessions