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
Give steps to connect to the db using jdbc?
What are the different types of drivers under jdbc?
What is a rollback in jdbc?
How to set NULL values in JDBC PreparedStatement?
explain about special characters?
Can we have foreign key reference to a non primary key column ?
What is the role of the jdbc drivermanager class?
What is serialization and deserialization in java programming?
How many packages are available in jdbc api?
Which jdbc driver type s is are the jdbc odbc bridge?
What is the function of drivermanager class?
What isolation level is used by the DBMS when inserting, updating and selecting rows from a database?
What is jdbc connection?
What is device controller?
Which is better odbc or jdbc?