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 / suresh kumar

to create connection first we have to load the driver using
class.forName(drivername)
then register the driver using DriverManager.getConnection()
afterwards you can create Statement object and u can
execute the qurey

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many jdbc driver types are there?

874


What is an SQL Locator?

1030


Explain creation of statement object with connection method create method with help of an example.

902


What is the difference between execute, executeQuery, executeUpdate?

959


Why would you use setautocommit(false) in jdbc?

1129


What is jdbc connection class?

843


What is the JDBC?

997


Is jdbc object oriented?

874


What are the standard isolation levels defined by JDBC?

1024


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

938


What are the benefits of PreparedStatement over Statement?

949


How many locking systems are there in jdbc?

960


What is phantom read and which isolation level prevents it?

987


explain about special characters?

918


What is jdbc type?

845