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

What does the connection object represents?

1099


What is resultset?

1053


Is jdbc a web technology?

942


How many locking systems are there in jdbc?

1083


What are the standard isolation levels defined by JDBC?

1214


What is the difference between setmaxrows(int) and setfetchsize(int)?

1114


What do you understand by DDL and DML statements?

970


What is the use of jdbc api?

1013


What is JDBC API and when do we use it?

1086


How to update a resultset programmatically?

1136


What is jdbc servlet?

1025


What does the jdbc resultset interface?

1009


Is possible to open a connection to a database with exclusive mode with JDBC?

1007


What are the advantages of database connection pooling?

962


What is jsp and jdbc?

956