Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

PreparedStatement not valid

 
Muhammad Imad Qureshi
Ranch Hand
Posts: 238
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does the following error message means?

"PreparedStatement is not valid for this transaction context" ?

Thanks
Imad
 
Paul Clapham
Sheriff
Posts: 21120
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Marshal
Posts: 34669
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic