Hibernate (Java) Question:
How do you switch between relational databases without code changes?
Answer:
Using Hibernate SQL Dialects , we can switch databases. Hibernate will generate appropriate hql queries based on the dialect defined.
Previous Question | Next Question |
What are the benefits does HibernateTemplate provide? | If you want to see the Hibernate generated SQL statements on console, what should we do? |