We have to set hibernate.show_sql property in hibernate configuration.
- What are the core components are of hibernate architecture?
- What is SessionFactory?
- Is SessionFactory a thread-safe object?
- What is Session?
- Is Session a thread-safe object?
- What will happen if we don’t have no-args constructor in Entity bean?
- Can we make an hibernate entity class final?
- How to log hibernate generated sql queries in log files?