Quiz: Hibernate ORM Questions
Browse questions from Quiz: Hibernate ORM. Each question has options and an explanation.
Questions — Page 1 of 2
- What does ORM stand for?
- Hibernate is an ORM framework.
- Which Hibernate object is thread-safe and usually created once per application?
- Hibernate Session is thread-safe and should be shared globally.
- Which Hibernate API helps build dynamic queries using objects instead of string concatenation?
- Criteria-style APIs are useful when filters are assembled dynamically.
- Which Hibernate method family is associated with HQL query creation?
- HQL is exactly the same as raw SQL and never references entity names.
- A Hibernate Session is stored in a static field and shared across web requests. What is wrong with this design?
- You need to build a query where filters are optional based on request parameters. Which Hibernate query style is designed for dynamic query construction?