• 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: 21981
36
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.)
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!