Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the use of prepared statement?Ans:used to execute
pre compiled statement...so the question is when that
precompiled statement will be execute or
comiple?................

Answer Posted / nagashree

Prepared statements are used due to its 2 advantages.

Advantages:
1) We can give dynamic values.
2) The statement will be compiled only once, it need not be
compiled each & every time we give new values.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to invoke Oracle Stored Procedure with Database Objects as IN/OUT?

1028


Is jpa faster than jdbc?

847


What is jdbc type?

853


How can we move the cursor in a scrollable result set?

913


How do java applications access the database using jdbc?

980


What is the execute method in java?

962


How can I write to the log used by DriverManager and JDBC drivers?

960


What is jdbc template?

923


Explain the process of creating tables using NetBeans IDE?

933


What are the different types of statements in jdbc?

881


What is the role of class.forname while loading drivers?

953


What is url in jdbc connection?

905


What is serialization and deserialization in java programming?

927


What are the functions of the jdbc connection interface?

941


Explain the necessary steps to connect to the database in java?

996