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
How can we store and retrieve images from the database?
What is the jdbc rowset?
Explain the main method?
How to set the attribute concurrency in resultset?
What is a jdbc url?
Why do we need jdbc?
How many types of JDBC Drivers are present and what are they?
How java can be connected to a database?
What is the different between ResultSet and RowSet?
How can I instantiate and load a new CachedRowSet object from a non-JDBC source?
Which is better odbc or jdbc?
What is the benefit of having jdbcrowset implementation? Why do we need a jdbcrowset like wrapper around resultset?
What are the factors that the jdbc driver performance depends upon?
How can I determine where a given table is referenced via foreign keys?
What are clob and blob data types in jdbc?