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

How do you create Connection?

Answer Posted / p.kodanda rami reddy

After loading the driver in order to refer the what kind of
database u communicate we Establish the connection with the
help of a static method called GETCONNECTION this is from
DRIVER MAMAGER.GETCONNECTION. accepting arguments as JDBC
URL ,USER NAME , PASSWORD
EX: DriverManager.getConnection
("jdbc:odbc:sid","scott","tiger");
here jdbc,odbc,sid -> is url and sid is service id.
scott - > is user name.
tiger - > is password.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the utilities of the callablestatement?

934


What causes the "No suitable driver" error?

970


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

914


What is a statement in java?

854


What is the purpose of the jdbc resultset interface?

870


What is jdbc explain?

860


What are the different classes through which JDBC represents statements?

873


What is the full form of jdbc and what is its purpose?

931


What is jdbc driver manager?

900


What is a java driver?

933


What does adapter class provide?

880


Why do we need a jdbcrowset like wrapper around resultset?

1190


Is there another way of dealing with the result set that could execute faster?

964


Explain how to make updates to the updatable resultsets.

866


What is the use of statement in jdbc?

873