Hibernate (Java) Question:

Download Job Interview Questions and Answers PDF

How do you switch between relational databases without code changes?

Hibernate Interview Question
Hibernate Interview Question

Answer:

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

Download Hibernate Interview Questions And Answers PDF

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?