Callable Statement goes something like this:

CallableStatement cs =
        con.prepareCall("{call procedureName(?,?)}");

  cs.setString(1,var1);
  cs.setString(2,var2);

  cs.executeQuery();

Follow the link below and this covers callable statement.
http://developer.java.sun.com/developer/onlineTraining/Programming/JDCBo
ok/jdbc.html#call

----- Original Message -----
From: Christian Hamann Linares <[EMAIL PROTECTED]>
Date: Thursday, October 19, 2000 3:45 pm
Subject: Help with callable Statement

> Hi All
> Can someone help me with CallableStatement.. because i have a
> servlet which
> has to execute a store procedure and i dont know how call it
> Please
> atte
> chris
>
>
========================================================================
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to