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

How can we store and retrieve images from the database?

914


What is the jdbc rowset?

948


Explain the main method?

987


How to set the attribute concurrency in resultset?

886


What is a jdbc url?

847


Why do we need jdbc?

995


How many types of JDBC Drivers are present and what are they?

1076


How java can be connected to a database?

1044


What is the different between ResultSet and RowSet?

965


How can I instantiate and load a new CachedRowSet object from a non-JDBC source?

932


Which is better odbc or jdbc?

926


What is the benefit of having jdbcrowset implementation? Why do we need a jdbcrowset like wrapper around resultset?

913


What are the factors that the jdbc driver performance depends upon?

909


How can I determine where a given table is referenced via foreign keys?

957


What are clob and blob data types in jdbc?

994