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 an encrypted internet connection?

981


How can I know when I reach the last record in a table, since JDBC doesn't provide an EOF method?

1038


Briefly tell about the jdbc architecture.

1049


What is difference between odbc and jdbc?

1073


What is thin driver in jdbc?

1050


What are the new features available in jdbc 4.0?

1013


What is type 4 jdbc driver?

893


What happens if we don't close the connection in jdbc?

925


I have the choice of manipulating database data using a byte[] or a java.sql.blob. Which has best performance?

965


java based application for hospital management

3876


What is JDBC API and when do we use it?

1087


Is it possible to connect to multiple databases simultaneously?

1120


What is benefit of using preparedstatement in java?

971


Which jdbc drivers will run your program?

981


How do I receive a ResultSet from a stored procedure?

1012