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 |
I have getting problem to calling stored procedure from Mysql through JSP. Please help me.
How does a custom RowSetReader get called from a CachedRowSet?
How do I start debugging problems related to the JDBC API?
What is 2-tier and 3-tier architecture?
What are different parts of a url?
What is executequery in java?
What is JDBC Statement?
How does jdbc work?
What are the steps required to execute a query in jdbc?
What are the different types of resultset?
Does jdbctemplate close connection?
Explain the difference between resultset and rowset in jdbc