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

Why is jdbc used?

993


What is use of connection pooling?

1013


What is the difference between setmaxrows(int) and setfetchsize(int)?

1116


What is 2 phase commit?

1249


Why are we using blob datatypes in jdbc?

1145


How many jdbc driver types are there?

964


Explain about the drive manager class working?

1180


What are the main components of JDBC ?

1111


What are the different types of interfaces in the api component?

1025


Once I have the Java 2 SDK, Standard Edition, from Sun, what else do I need to connect to a database?

1049


Where can I find ojdbc14 jar file?

1059


Why can't Tomcat find my Oracle JDBC drivers in classes111.zip?

1023


What is jdbc connection interface?

1078


What are the differences between stored procedure and functions?

1072


How to achieve JDBC Connection Pooling using JDBC DataSource and JNDI in Apache Tomcat Server?

1068