A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Make it so: Java DB Connections & Transactions
this week in the
JDBC and Relational Databases
PreparedStatement not valid
Muhammad Imad Qureshi
Joined: Sep 13, 2005
Dec 14, 2010 11:43:57
What does the following error message means?
"PreparedStatement is not valid for this transaction context" ?
Joined: Oct 14, 2005
Dec 14, 2010 12:32:56
That depends on the context. Was that error message thrown by
code, or by a database, or what? Try reading this:
and then tell us the details.
author & internet detective
Joined: May 26, 2003
Dec 14, 2010 18:28:15
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.
OCA 8 book
How To Ask Questions The Smart Way
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
I agree. Here's the link:
subject: PreparedStatement not valid
Java/Oracle JDBC transaction management and committing sessions
error of missing values
How to handle this Date format?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015