how can we connect to db without using getConnection()
method
Answers were Sorted based on User's Feedback
Use Hibernate framework to connect to the database without
using getConnection method.
Hibernate Performing the usual DB operations
| Is This Answer Correct ? | 8 Yes | 5 No |
Answer / john
i suggest shine Enterprise farmework
use the jconnection package
it contains something like hibernate
and i removed the .xml files
enjoy it
http://sourceforge.net/projects/shine-enterpris/files/
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / 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 |
Explain the difference between resultset and rowset in jdbc
Explain what should be done when a SQL exception is raised?
How a database driver can be loaded with jdbc 4.0 / java 6?
After creating conntinpool in weblogic how to write the code in programe where i can use that pool object in the programe connecting to the database and how to debug programe withou eclipse
What is a PreparedStatement?
Why would you use setautocommit(false) in jdbc?
Explain the various types of locking system in jdbc?
Which database is used for java?
Which is best database for java?
Explain jdbc savepoint?
What are the jdbc drivers in java?
How many rowset are available in jdbc?