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

Explain the sequence of steps to connect to the database?

Answer Posted / devarathnam c,kotagudibanda(po

Hi... These are the steps to connecting to the database
1: Loading the drivers
2:Get the connection
3:Create the statement
4:Execute the query
5:Process the resultset
6:Close the connection

Is This Answer Correct ?    18 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we store the file in the oracle database?

936


How many ways can you update a result set?

1020


Which is better jpa or jdbc?

913


Is jdbc database independent?

971


Why hibernate is better than jdbc?

936


Explain about multiple implementations and drive manager?

1048


Is jdbc object oriented?

946


What are the common JDBC problems that you got and how do you solved them?

2436


How do I stop nullpointerexception?

979


What do you mean by odbc?

1027


What is a statement?

1017


Is possible to open a connection to a database with exclusive mode with JDBC?

967


What does the jdbc databasemetadata interface?

984


What is the use of setFetchSize() and setMaxRows() methods in Statement?

1000


What is ojvm used for?

988