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 are JDBC statements?

Answer Posted / vikas

JDBC Statements are Interfaces & are of three types.
1. statement
2. preparestatement
3. callable statement

in this preparestatement extends the statement interface and
callable statement extends preparestatement

you can create only one query using statement and you can
pass multiple queries through preparestatement and if we
have to call procedure from database then use callable statment.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

explain about special characters?

978


Explain the main method?

1053


Why can't I invoke the ResultSet methods afterLast and beforeFirst when the method next works?

1216


Give steps to connect to the db using jdbc?

1017


What are the exceptions in jdbc?

966


What's the benefit for specifying constraints like not null, primary key explicitly instead of specifying it against the column ?

973


What is difference between statement and preparedstatement in jdbc?

912


What is addbatch jdbc?

1044


There is a method getColumnCount in the JDBC API. Is there a similar method to find the number of rows in a result set?

1043


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

958


What is a merge field?

940


What are the ddl statements?

856


What are the common tasks of JDBC?

999


What is jdbc explain?

924


What does the jdbc databasemetadata interface?

985