How we say that PreparedStatment is Precompiled? where it
will be compiled?

Answer Posted / paks chaudhary

prepared Statements are compiled at database server side.
Once the statement is passed to the database the Statement
is parsed for valid and checked weather the table exist
or not .if the statement is valid the server holds the
statement object and process the multiple request from the
client.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of statements in jdbc?

693


What is SQL Warning? How to retrieve SQL warnings in the JDBC program?

710


What are drivers available?

762


What is meant by jdbc and odbc?

649


How can I know when I reach the last record in a table, since JDBC doesn't provide an EOF method?

737






What is the benefit of having jdbcrowset implementation? Why do we need a jdbcrowset like wrapper around resultset?

678


Explain about Join?

766


Explain the life cycle of jdbc.

791


What is serialization and deserialization in java programming?

689


Give an example of code used for setting up connection with a driver.

673


What are the differences between execute, executequery, and executeupdate?

672


What is db client?

682


Is possible to open a connection to a database with exclusive mode with JDBC?

705


How to connect html page to database using jdbc?

642


How to use JDBC API to call Stored Procedures?

717