Hibernate (Java) Question:

How do you switch between relational databases without code changes?

Tweet Share WhatsApp

Answer:

Using Hibernate SQL Dialects , we can switch databases. Hibernate will generate appropriate hql queries based on the dialect defined.

Download Hibernate PDF Read All 52 Hibernate Questions
Previous QuestionNext Question
What are the benefits does HibernateTemplate provide?If you want to see the Hibernate generated SQL statements on console, what should we do?