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
Which database is used for java?
What are the functions of the jdbc connection interface?
How can we disable a constraint ?
In which ways is driver class is registered with drive manager?
What is the latest version of JDBC? What are the new features added in that?
What are the different types of locking in JDBC?
RowSetInternal caller and returns void. What can I do in the readData method?
What do you mean by jdbc batch processing and what are the advantages of using jdbc batch processing?
Why is odbc needed?
How can we execute stored procedures?
What is metadata in programming?
What is a jdbc url?
Once I have the Java 2 SDK, Standard Edition, from Sun, what else do I need to connect to a database?
What does it mean to "materialize" data?
How does a file store compare with a jdbc store?