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

Does jdbc use ssl?

979


How can you create jdbc statements?

1017


What are database warnings in jdbc and how can we handle database warnings in jdbc?

1045


Is jdbc a middleware?

1001


How many ways that we can view a result set?

1058


What is jdbc and odbc in java?

965


What is meant by connection string?

1025


Can we return resultset in java?

969


Explain the JDBC Architecture?

1069


Explain the two tier and three tier architecture of jdbc.

963


Explain Basic Steps in Writing a Java Program Using Jdbc?

1108


Is jdbc a framework?

961


Is java a database?

1012


How can we execute stored procedures using callablestatement?

983


What is jdbc and odbc?

982