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

What do you mean by batch processing in jdbc?

1009


What do you mean by two phase commits?

1082


Explain what should be done when a SQL exception is raised?

973


What are restrictions on triggers?

2232


What does jdbc do?

1040


Why do we need jdbc api?

980


What are the packages are used in jdbc?

1042


Explain Basic Steps in Writing a Java Program Using Jdbc?

1062


Is jdbc faster than odbc?

918


What is the reason why we need a jdbcrowset like the wrapper around resultset?

977


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

1009


What is type 4 jdbc driver?

849


Differentiate between stored procedure and functions?

1060


What is an SQL Locator?

1135


Where jdbc drivermanager class is used?

967