• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can we use two quries using prepared statement in one method

 
Adnan Gondal
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI all!

Can we use two quries in one method while using prepared statement, i have tried using this but invalid column name exception is comeing. Any idea please?

My code snippets is as follows.

 
Paul Clapham
Sheriff
Posts: 20983
31
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kajal, please don't cross-post your questions to multiple forums. Especially don't repost in a second forum when you already have responses to the original post. I'm closing this one.

(Original post here: http://www.coderanch.com/t/538753/JSF/java/we-two-quries-prepared-statement for anybody who wants to respond.)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic