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 can we connect to db without using getConnection()
method

Answer Posted / naveen

it is not possible to get the connection from db server
without using getConnection();method, because
getConnection()method will take 3 paramaeters like
url,username,pwd......without this a javapgm will not
connect to db server. and getConnection method returns
connectionobject ..........

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give steps to connect to the db using jdbc?

968


What are the different types of drivers under jdbc?

801


What is a rollback in jdbc?

880


How to set NULL values in JDBC PreparedStatement?

928


explain about special characters?

921


Can we have foreign key reference to a non primary key column ?

909


What is the role of the jdbc drivermanager class?

881


What is serialization and deserialization in java programming?

916


How many packages are available in jdbc api?

910


Which jdbc driver type s is are the jdbc odbc bridge?

814


What is the function of drivermanager class?

1039


What isolation level is used by the DBMS when inserting, updating and selecting rows from a database?

919


What is jdbc connection?

1046


What is device controller?

976


Which is better odbc or jdbc?

918