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 an advantage of using the jdbc connection pool?
Describe odbc?
What are the methods which can verify the cursor particular position?
What is jdbc and jpa?
What is an SQL Locator?
State the three different ways in which you can create a table?
Is jdbc a protocol?
What are different parts of a url?
What is transaction processing in jdbc?
Explain about Join?
What is odbc and jdbc in dbms?
Why do we need jdbc?
What is connection data?
Which package contains jdbc api?
Compare jdbc and odbc and how is jdbc required in this context.