Chapter 4, Hibernate with Spring

Q1. What is ORM?

ORM is the process of persisting objects in a relational database such as RDBMS. ORM bridges the gap between object and relational schemas, allowing object-oriented application to persist objects directly without having the need for converting object to and from a relational format.

ORM is about mapping object representations to JDBC Statement parameters, and in turn mapping JDBC query results back to object representations. The database columns are mapped to instance fields of domain objects or JavaBeans' properties.

Q2. Explain the basics elements of Hibernate architecture.

The basics elements of Hibernate architecture are described in the following sections:

  • Configuration: The org.hibernate.cfg.Configuration ...

Get Spring: Developing Java Applications for the Enterprise now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.