how can we connect to db without using getConnection()
method

Answer Posted / kanu butani

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does jdbctemplate close connection?

689


Why resultset is used in java?

698


What is JDBC Driver interface?

805


What is jdbc thin client?

742


Describe how the jdbc application works.

764


What does the jdbc databasemetadata interface?

736


What are the basic exceptions in jdbc?

761


What do you mean by jdbc batch processing and what are the advantages of using jdbc batch processing?

766


What is jdbc driver manager?

709


What is database connection pooling? Advantages of using a connection pool?

829


What is jdbc and explain jdbc architecture?

731


What is the role of the jdbc drivermanager class?

714


What is the query used to display all tables names in SQL Server (Query analyzer)?

758


What are the new features available in jdbc 4.0?

728


Is jdbc faster than hibernate?

776