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 are different types of JDBC Drivers?
code to insert values/rows into oracle database from a java swing textfield when a button is pressed(using preparedstatements)
How to check jdbc connection in java?
What is encrypted connection?
Is JDBC a language or Application?
what is callable statement?
What is a JDBC 2.0 DataSource?
What is jdbc and odbc in java?
signature of init method?
When do we use execute method in java jdbc?
Which is best database for java?
How java can be connected to a database?