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 is jdbc odbc driver?

760


How can you use preparedstatement in jdbc?

749


How can you load the drivers?

731


Explain about multiple implementations and drive manager?

786


What are the three basic components of the odbc architecture?

667


What is phantom read and which isolation level prevents it?

726


Which of the attributes in the monitoring tab for a jdbc connection pool in the administrative console tell us how many clients are currently waiting for a connection?

705


How do I start debugging problems related to the JDBC API?

732


Can we return resultset in java?

658


What is the fastest type of JDBC driver?

800


What are 4 drivers available in JDBC? At what situation are four of the drivers used?

693


What is jdbc thin client?

718


How do I write Greek ( or other non-ASCII/8859-1 ) characters to a database?

780


What is the meaning of connection?

738


What is ojdbc?

716