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 does the connection object represents?
What is resultset?
Is jdbc a web technology?
How many locking systems are there in jdbc?
What are the standard isolation levels defined by JDBC?
What is the difference between setmaxrows(int) and setfetchsize(int)?
What do you understand by DDL and DML statements?
What is the use of jdbc api?
What is JDBC API and when do we use it?
How to update a resultset programmatically?
What is jdbc servlet?
What does the jdbc resultset interface?
Is possible to open a connection to a database with exclusive mode with JDBC?
What are the advantages of database connection pooling?
What is jsp and jdbc?