This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes JDBC and the fly likes Can we use two quries using prepared statement in one method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Can we use two quries using prepared statement in one method" Watch "Can we use two quries using prepared statement in one method" New topic
Author

Can we use two quries using prepared statement in one method

Adnan Gondal
Ranch Hand

Joined: Apr 30, 2011
Posts: 32
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
Bartender

Joined: Oct 14, 2005
Posts: 18150
    
    8

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.)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can we use two quries using prepared statement in one method
 
Similar Threads
Problem with preapred Statement
A Very little problem in h:dataTable implementation
Can we use two quries using prepared statement in one method
howto modify database structure ?
ejbLoad is not getting called