Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Query in callable statement

Thread Tools

Query in callable statement
Posts: n/a
Can i pass a query in callable statement ?


Reply With Quote
Manish Pandit
Posts: n/a
Yes, that is what callable statements are for.


Reply With Quote
Posts: n/a
      10-10-2006 Removed) wrote:
> Can i pass a query in callable statement ?

Normally you use PreparedStatement for queries
and CallableStatement for stored procedure calls.

Why do you want to use CallableStatement for query ?

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Making Non Callable Objects Callable exiquio Python 2 10-07-2008 06:02 PM
mysql callable statement problem lightning Java 1 02-11-2007 09:27 PM
Grabbing a object from the current code block using a callable statement? ChaosKCW Python 1 02-25-2006 09:20 PM
if statement that, when false, skips first statement in its block, executes second? Jay McGavren Java 11 01-16-2006 05:49 PM
How do I do a conditional statement in a constant statement? VHDL 3 12-16-2005 06:13 PM