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

Why do we need jdbc?

1110


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

1010


What is jdbc odbc driver?

1086


What is the use of JDBC DriverManager class?

1135


What is an advantage of using the jdbc connection pool?

936


What is DML?

1068


What happens if connection is not closed in jdbc?

1026


What is jdbc type?

944


How does jdbc work?

927


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

1055


What do you mean by database connection pooling?

998


Explain the JDBC Architecture?

1075


Why would you use setautocommit(false) in jdbc?

1270


Is jpa faster than jdbc?

932


Which type of JDBC driver is the fastest one?

1142