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

Which database is used for java?

957


What are the functions of the jdbc connection interface?

979


How can we disable a constraint ?

1026


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

927


What is the latest version of JDBC? What are the new features added in that?

999


What are the different types of locking in JDBC?

1013


RowSetInternal caller and returns void. What can I do in the readData method?

981


What do you mean by jdbc batch processing and what are the advantages of using jdbc batch processing?

990


Why is odbc needed?

912


How can we execute stored procedures?

1015


What is metadata in programming?

1003


What is a jdbc url?

902


Once I have the Java 2 SDK, Standard Edition, from Sun, what else do I need to connect to a database?

1000


What does it mean to "materialize" data?

1005


How does a file store compare with a jdbc store?

1204