Prepare
Practice
Interview
Aptitude
Reasoning
English
GD
Placement papers
HR
Current affairs
Engineering
MCA
MBA
Online test
Login
Online Practice Test
>
JDBC
« Previous
Next »
Are prepared statements actually compiled?
Options
- Yes, they compiled
- No, they are bound by the JDBC driver
CORRECT ANSWER : Yes, they compiled
Discussion Board
Prepared Statements compiled
PreparedStatement object are used for sending SQL statements to the database. It is a special type of statement derived from the more general class, Statement. If any execution of Statement object needs to be done many times then the PreparedStatement object reduces the time considerably. PreparedStatement uses SQL statements to send the data to DBMS right away after being compiled. It just not contain SQL statement, but a SQL statement that has been precompiled. This means that when the PreparedStatement is executed, the DBMS can just run the PreparedStatement SQL statement without having to compile it first.
Rohit Sharma 09-21-2014 09:19 AM
« Previous
Next »
Write your comments
*
*
Email must be in the form someone@domain.com
*
*
Enter the code shown above:
Please enter the code shown above
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)
Related Content
Java Beginner (11)
Java (39)
Java (40)
Java (22)
Java (30)
Java (25)
Java (20)
Java (20)
Core Java (20)
Core Java (10)
Core Java (72)
EJB (20)
JDBC (20)
Applet (20)
Struts (21)
Servlets (20)
Java Web Services (20)
Javascript (40)
J2EE (10)
jQuery (46)
Advertisement
▲