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 a PreparedStatement?

Answer Posted / kalyan

If same query is executed multiple times over DB for
different values, we go for preparedStatement

PreparedStatement ps = con.prepareStatement(
"UPDATE TABLE_NAME SET COLUMN = ? WHERE COF_VALUE
LIKE ?");

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can I get a null resultset?

1081


What are clob and blob data types in jdbc?

1094


What is url in jdbc connection?

996


What is jdbc driver in java?

970


Which is better jpa or jdbc?

960


Which interface handles transaction management in jdbc?

1170


code to insert values/rows into oracle database from a java swing textfield when a button is pressed(using preparedstatements)

4460


DB2 Universal claims to support JDBC 2.0, But I can only get JDBC 1.0 functionality. What can I do?

1019


Explain about the Try Block?

1033


What is odbc and jdbc drivers?

998


Where is mysql jdbc driver located?

1082


What causes the "No suitable driver" error?

1129


What are the types of statements in jdbc?

1023


What do you mean by jdbc batch processing and what are the advantages of using jdbc batch processing?

1026


What is serialization and deserialization in java programming?

1033