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



Home Answers Viewqa JDBC can you explain callable statement interface in details and exp

Have Programming Question? Ask it here!
 
 
 


Nagendran
can you explain callable statement interface in details and exp
1 Answer(s)      2 years and 2 months ago
Posted in : JDBC


can you explain callable statement interface in details and exp?


Advertisement
View Answers

May 9, 2012 at 4:11 PM


The CallableStatement interface allows the use of SQL statements to call stored procedures. Stored procedures are programs that have a database interface. These programs possess the following:

1) They can have input and output parameters, or parameters that are both input and output.

2) They can have a return value.

3) They have the ability to return multiple ResultSets.

JBDC CallableStatement Example



Related Tutorials/Questions & Answers:
Java callable statement
Java callable statement  What is callable statement? Tell me the way to get the callable statement
can you explain ?
can you explain ?  my dear can you teel me the explaintion for this code i need it GregorianCalendar cal = new GregorianCalendar(y, m, 0...(); } } iam explain whole code exept this part can you help
Advertisements
how to pass the parameter in callable statement
how to pass the parameter in callable statement  calstat=conn.prepareCall("{call studentrc(?,?,?,?,?)}"); // it show error parameter value is null...=smark1,mark2=smark2,total=stotal where Regno=Regno; end;// how can i pass the parameter
Please explain @interface with an example
Please explain @interface with an example  Here is the code snippet: @Retention(RUNTIME) @Target({ FIELD }) public @interface InjectProperty...) private Runnable runnable; where Runnable is an interface. Could you please
Please explain @interface with an example
runnable; where Runnable is an interface. Could you please explain what does...Please explain @interface with an example  Here is the code snippet: @Retention(RUNTIME) @Target({ FIELD }) public @interface InjectProperty
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... have one task to do soft parsing tl asked to do callable statement,stored... for update also thank you
can any one explain this
can any one explain this  class Clidder { private final void flipper() { System.out.println("Clidder"); } } public class Ex3 extends Clidder { public final void flipper() { System.out.println
Can an Interface implement another Interface?
Can an Interface implement another Interface?   Hi, Can an Interface implement another Interface? Thanks
Can an Interface extend another Interface?
Can an Interface extend another Interface?   Hi, Can an Interface extend another Interface? thanks
Explain how you overcame a major obstacle
Explain how you overcame a major obstacle       Qus. Explain how you overcame a major... you see yourself five (ten or fifteen) years from now? Ans. Explain your career
how the answer is 13 can anyone explain plz
how the answer is 13 can anyone explain plz  public class that { public static void main(String arr[]) { int i=3; int j=1; while(i<4) { //j=i; i=i+j/2; } System.out.println(i
'if' Statement - if inside if
Java Notes'if' Statement - if inside if if inside if You can put an if statement inside another if statement. Example -- series... can go very far to the right if there are many tests. if (score < 35
can interface solve this problem in java
can interface solve this problem in java  I have a JDialog which displays the calendar [from 2010-2020], i created this in a different class... this calander class. can interface solve this problem. If yes then how. pls
Please can you help
Please can you help  I have a some code which uses a textarea comment box that will on post return the users text to the same page that they entered...; Please could you change the code so it will do this Please. Many thanks. Colin
Can you correct this codes?
Can you correct this codes?  Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 4 at searchcon.(searchcon.java:39) at search.initComponents(search.java:41) at search.(search.java:7) at payroll
can u plz explain the http request methods - JSP-Servlet
can u plz explain the http request methods  can u plz explain http...?  Hi friend, public interface HttpServletRequest extends ServletRequest Extends the ServletRequest interface to provide request information
justifying java exp - Java Interview Questions
should i get in to Java and how can i justify my exp in Java Development... justifying java exp   HI Friend I am working with a good... a technical support for a java based application, I am having almost 2 years of exp
I am getting error.How can i get details
I am getting error.How can i get details  Exception in thread "main" java.sql.SQLException: Listener refused the connecti n with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect
Can a method inside a Interface be declared as final?
Can a method inside a Interface be declared as final?   Hi, Can a method inside a Interface be declared as final? Thanks
Can a method inside a Interface be declared as final?
Can a method inside a Interface be declared as final?   Hi, Can a method inside a Interface be declared as final? Thanks
Can you help me with applet?
Can you help me with applet?  I'm very new to applet, and i'm weak in graphic design part. How can i add the graphic in my test project? Can you help...(); String[] selectopt={ "1) Add a Toys", "2) View Toys Details
JDBC CallableStatement Example
.style1 { text-align: center; } JDBC Callable Statement JDBC Callable... = connection.prepareCall("CALL HI()"); A Simple Example of callable statement... { // Creating Callable Statement String query = "CALL HI()"; CallableStatement
JDBC Execute Statement
JDBC Execute Statement       JDBC Execute Statement is used to execute SQL Statement, The Execute Statement accept SQL object as parameter and return you the result set from
can i estimate estimate execution time for a method without knowing implementation details of a method - Java Interview Questions
can i estimate estimate execution time for a method without knowing implementation details of a method  hi all, can i estimate estimate execution time for a method without knowing implementation details of a method. Thanks
When are you supposed to use endif to end the conditional statement?
When are you supposed to use endif to end the conditional statement?  When are you supposed to use endif to end the conditional statement
JSP If statement Example
JSP If statement Example In this section with the help of example you will learn about the "If" statement in JSP. Control statement is used.... Now you are aware of if block, now we are going to use if statement using
Can you create an object of an abstract class?
Can you create an object of an abstract class?   Hi, Can you create an object of an abstract class? Thanks
Explain factories design?
Explain factories design?  Hi, I can't understand the concept of factories design, if you can explain it to me in simple words, i would be grateful... can let its subclasses to decide which class to instantiate. For more details
how can you say java is secure
how can you say java is secure  we are using notepad editor for Java programming which is an Microsoft product, then how can you say Java is secure when you are using Microsoft product as an editor
can we use class in jsp which implements interface
can we use class in jsp which implements interface   can we use class in jsp which implements interface
jdbc
can you explain callable statement interface in details and exp  can you explain callable statement interface in details and exp?   The CallableStatement interface allows the use of SQL statements to call stored
Can you give me Hibernate one to one example?
Can you give me Hibernate one to one example?  Hello there, Can you give me a hibernate one to one example that explain the concept and mapping in Hibernate. Thanks in advance
Can you provide me Hibernate configuration tutorial?
Can you provide me Hibernate configuration tutorial?  Hello There, I want to learn about Hibernate configuration, Can anyone provide me with hibernate configuration tutorial> Thanks
Can you instantiate the Math class? - Java Beginners
Can you instantiate the Math class?   Hi, Can you create object of Math class? Thanks   Hi, All the methods in Math class is static. The constructor is not public in the Math class. So, we can't create
interface
interface  What is marker interface ?? what is its use in java programming?? is this us in programming ??Explain is implementation with code
can you check below code if any erors
can you check below code if any erors  database.java /* * To change...; Connection conn = null; Statement stmt = null; try{ Class.forName... = null; Statement stmt = null; try{ Class.forName
how can you calculate you your age in daies??
how can you calculate you your age in daies??  **hi, I am beginner in java! can any one help me to write programm to calculate age in daies...."); } } Hope that the above code will be helpful for you. Thanks
How many qusetions can you ask?
How many qusetions can you ask?  Hi I was very impressed following my very first question I asked regarding some coding. However I am not sure why any further questions have not yet been answered. Is this because they are more
Can you tell me how it worked?
Can you tell me how it worked?  public class Ball { private static final int DIAMETER = 30; int x = 0; int y = 0; int xa = 1; int ya = 1; private Game game; public Ball(Game game) { this.game= game; } void move
Hey neighbor, can you lend some Hammers?
Hey neighbor, can you lend some Hammers?  import java.util.Date; public class AccountProblem { public static void main(String[] args) { //create an instance object of class Stock Account myAccount = new Account
Hey neighbor, can you lend some Hammers?
Hey neighbor, can you lend some Hammers?  import java.util.Date; public class AccountProblem { public static void main(String[] args) { //create an instance object of class Stock Account myAccount = new Account
Explain ServletContext.
Explain ServletContext.  Explain ServletContext.   Hi, Here is the answer, ServletContext interface is a window for a servlet to view it?s environment. A servlet can use this interface to get information
interface
interface  will the interface implements a interface   Hi Friend, No. Interface can extends another interface but cannot implements it, because interface will not contain the implementation. Thanks
Can you give me a simple Hibernate Sessionfactory example?
Can you give me a simple Hibernate Sessionfactory example?  Hi, I would like to get session instance from the SessionFactory interface in Hibernate 4. Can you give me a simple Hibernate Sessionfactory example for the above
MySQL Select Statement
statement in MySQL and you can also learn how to use SELECT statement with WHERE... by the SELECT statement. You can specify the start row, and number of records... records from table. By the following example you can retrieve the full list
JDBC Batch Process With Prepare Statement Example
JDBC Batch Process With Prepare Statement Example: In this example, you can learn about jdbc batch process with prepare statement. First of all, we... will create a prepare statement object as: PreparedStatement stmt = null
interface
interface   Hi I have interface in that interface 3 methods are there , after some days client said that,i want to add one more method in that interface ,so how can add 4 method so that the implemented class did not affect
IF-Else Conditional Statement
IF-Else Conditional Statement Conditional Statements are used to carry out actions based on condition. If-Else is also a conditional statement used... the following conditional statement : if statement if...else statement
interface
interface  can we extend interface?   Hi Friend, Yes an interface can be extended by other interface like using extends keyword interface A{ } interface B extends A{ } For Example: interface IntefaceA { void
interface
variables.Any class can implement(inherit)the interface and make use...interface  what the use of interface?   An interface is one... is achieved by using the interface (by implementing more than one interface at a time
 

 

 

DMCA.com