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
What is jdbc odbc driver?
How can you use preparedstatement in jdbc?
How can you load the drivers?
Explain about multiple implementations and drive manager?
What are the three basic components of the odbc architecture?
What is phantom read and which isolation level prevents it?
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?
How do I start debugging problems related to the JDBC API?
Can we return resultset in java?
What is the fastest type of JDBC driver?
What are 4 drivers available in JDBC? At what situation are four of the drivers used?
What is jdbc thin client?
How do I write Greek ( or other non-ASCII/8859-1 ) characters to a database?
What is the meaning of connection?
What is ojdbc?