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 / mathivanan

Connection is the second step of JDBC followed by
Driver_Loading. It gives the connection between the
database Driver's Manager and our java program.

Syntax: Connection con_obj = DriverManager.getConnection
("url", "login_name", "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 is the fastest type of JDBC driver?

1063


Explain the steps in writing a java program using jdbc?

946


In which ways is driver class is registered with drive manager?

927


What are the common tasks of JDBC?

999


What packages are used by jdbc?

950


How MS-Access DB can be accessed over a network, using JDBC API?

2430


What are the types of jdbc drivers that exist?

1013


How a database driver can be loaded with jdbc 4.0 / java 6?

942


When do we use execute method in java jdbc?

993


What is a datasource in java?

959


Is jdbc connection secure?

957


Why is jdbc used?

946


What class.forname will do while loading drivers of jdbc?

943


What is SQL Warning? How to retrieve SQL warnings in the JDBC program?

1047


What are the differences between setmaxrows(int) and setfetchsize(int)?

1065