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...

can someone tell me how does preparedstatement works? its
an interface and where is the implementation?

Answer Posted / sk.bilal ahmed

A SQL statement is precompiled and stored in a
PreparedStatement object. This object can then be used to
efficiently execute this statement multiple times.

Note: The setter methods (setShort, setString, and so on)
for setting IN parameter values must specify types that are
compatible with the defined SQL type of the input
parameter. For instance, if the IN parameter has SQL type
INTEGER, then the method setInt should be used.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is java a high level language?

1132


What are the main components of multi-tier architecture?

1004


What is jaap?

1021


Define orm and its working in j2ee?

1101


What is asant?

1075


Define authorization constraint?

1073


Is java safe to download?

928


What is client-certificate authentication?

1066


How does j2ee application work?

1058


What will happen when you compile and run the following code?

1019


What is java api for xml registries (jaxr)?

1081


What is j2ee module?

1068


What does the application client module contain?

974


What is business logic?

1029


What is setbounds in java?

1136