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 |
What is while rs next ())?
How to get the Database server details in java program?
is java pure object oriented or not ?
Is uri the same as url?
can we define indexes on a foreign key? Explain pros and cons?
Can we make a database connection from HTML ?
6 Answers Aptech, BOB Technologies, Cap Gemini, Wipro,
How do I find jdbc version?
How many jdbc driver types are there?
Compare jdbc and odbc and how is jdbc required in this context.
What are four types of JDBC driver?
Does sql allow null values ?
Once I have the Java 2 SDK, Standard Edition, from Sun, what else do I need to connect to a database?