Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa JDBC how can we call stored procedure using jdbc
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Nagendran
how can we call stored procedure using jdbc
1 Answer(s)      2 years and 6 months ago
Posted in : JDBC


how can we call stored procedure using jdbc


Advertisement
View Answers

May 9, 2012 at 4:07 PM


Call a Stored Procedure using the CallableStatement.You can call the storedprocedure in the following way:

CallableStatement cs = con.prepareCall("{call Hello()}");
ResultSet rs = cs.executeQuery();

For more information, visit the following link:

JDBC call Stored Procedure



Related Tutorials/Questions & Answers:
How we can create a table through procedure ?
How we can create a table through procedure ?  How we can create a table through procedure
Insert Data in Table Using Stored Procedure
;); 7.Step to call procedure: We are using CallableStatement to execute a stored... into a table using stored procedure. Steps: 1.Create database: To create... Insert Data in Table Using Stored Procedure   
Advertisements
JPA 2.1 Stored Procedure Example
JPA 2.1 Stored Procedure Example - Lear how to call stored procedures from JPA program In this tutorial you will learn how to create Stored Procedure... for programmers. You can easily call stored procedure from your Java
passing xml created using DocumentBuilderFactory as input to oracle stored procedure using java JDBC
and it is to be send using JDBC. Stored procedure in oracle database will contains two... passing xml created using DocumentBuilderFactory as input to oracle stored procedure using java JDBC  I want to send the xml as input parameter
JDBC CallableStatement Example
statement provides a way to call the stored stored procedure of the database... FRIEND !' AS MESSAGE; END // DELIMITER; Now you call the stored procedure... is give below which calls the stored procedure HI() from database student
stored procedure
stored procedure  what is stored procedure
creating and executing stored procedure using hibernate
creating and executing stored procedure using hibernate  I have to execute following query using hibernate DECLARE @i_STARTDATETIME DATETIME DECLARE @i_ENDDATETIME DATETIME DECLARE @o_ERRORCODE INT DECLARE @o_ERRORDESCRIPTION
remote procedure call using java - JSP-Servlet
remote procedure call using java  what is the romote procedure call and related coding in java?  Hi Friend, The RPC (Remote Procedure Call) is a mechanism that enables a remote procedure call from a client
stored procedure
stored procedure  on storing values to database using stored procedure it throws an error lyk ADODB.Command error '800a0bb9' Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another
What is Stored Procedure?
What is Stored Procedure?  What is Stored Procedure?   Hi, Here is the answer, A stored procedure is a named group of SQL statements... procedures accept input parameters so that a single procedure can be used over
Call Procedure
and  task. Stored Procedure can be compiled and executed... an example from 'Call Procedure'. In this Tutorial we create a table 'Stu_Table... Call Procedure      
Stored Procedure and Trigger
Stored Procedure and Trigger  hello, What is the difference between Stored Procedure and Trigger ?   hii, Triggers once defined are called automatically, there can be no explicit invocation Stored procedure has
update date from stored procedure
update date from stored procedure  how to works on insert,update data from stored procedure.   Insert data using stored procedure
jdbc
how can we call stored procedure using jdbc  how can we call stored procedure using jdbc   Call a Stored Procedure using...(); For more information, visit the following link: JDBC call Stored Procedure
receive a ResultSet from a stored procedure
receive a ResultSet from a stored procedure  How do I receive a ResultSet from a stored procedure
How can we create a database using PHP and mysql?
How can we create a database using PHP and mysql?  How can we create a database using PHP and mysql
How can we encrypt the username and password using PHP?
How can we encrypt the username and password using PHP?  How can we encrypt the username and password using PHP
How can we find the number of rows in a result set using PHP?
How can we find the number of rows in a result set using PHP?   How can we find the number of rows in a result set using PHP
How can we get second of the current time using date function?
How can we get second of the current time using date function?  How can we get second of the current time using date function
Processing stored procedure in MySQL - SQL
Processing stored procedure in MySQL  Dear All java with mysql... Stored procedure in SQL.... create or replace procedure INVNAMES (bno... using 10 out parammeters........ so can anybody help me out please
callable statement,stored procedure for insert data and also for update data into oracle database using jsp
callable statement,stored procedure for insert data and also for update data into oracle database using jsp  iam a fresher newbie to softparsing i have one task to do soft parsing tl asked to do callable statement,stored
What is the maximum size of a file that can be uploaded using PHP and how can we change this?
What is the maximum size of a file that can be uploaded using PHP and how can we change this?  What is the maximum size of a file that can be uploaded using PHP and how can we change
How to delete excel file records using Store Procedure?
How to delete excel file records using Store Procedure?  Hi.. I have created one Excel file through stored procedure.Now I want to delete records or delete excel file. Thanks
How we can integrate ASP .net website to payment gateway using SOAP xml request and response using wsdl.
How we can integrate ASP .net website to payment gateway using SOAP xml request and response using wsdl.  We have a e-commerce website in ASP.net, c... with wsdl format. As i'm new in development. How i can integrate our website
How can we destroy the cookie?
How can we destroy the cookie?   How can we destroy the cookie
iBatis Stored Procedure Example
;/sqlMap> Now we can call this stored procedure as : sqlMap.queryForList... iBatis Stored Procedure Example   ... with iBatis. Here is the example where you will see how "Stored Procedures"
Call Procedure
unit and  task. Stored Procedure can be compiled and executed... illustrate an example from 'Call Procedure'. In this Tutorial we create... Call Procedure      
How many ways we can retrieve the date in result set of mysql using php?
How many ways we can retrieve the date in result set of mysql using php?  How many ways we can retrieve the date in result set of mysql using php
How many ways we can retrieve the date in result set of mysql using php?
How many ways we can retrieve the date in result set of mysql using php?  How many ways we can retrieve the date in result set of mysql using php
How many ways we can retrieve the date in result set of mysql using php?
How many ways we can retrieve the date in result set of mysql using php?  How many ways we can retrieve the date in result set of mysql using php
How many ways we can retrieve the date in result set of mysql using php?
How many ways we can retrieve the date in result set of mysql using php?  How many ways we can retrieve the date in result set of mysql using php
 

 

 

DMCA.com