SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

Introduction to Hibernate

This tutorial gives a short introduction to the concepts of the Hibernate ORM (Object/Relational Mapping) framework.

Overview

🎓 beginner 15 min. SAP HANABeginnerJavaExpress Edition
Unknown U Unknown November 2, 2022
Created by November 2, 2017
Contributors

Prerequisites

Prerequisites

  • Proficiency: Beginner

Steps

Time to Complete

5 Min

Step 1 The Hibernate ORM framework
โ€”

Hibernate is an open source object-relational mapping framework for the Java programming language. Its primary purpose is to map an object-oriented domain model written in Java to a relational model that can be persisted in a relational database.

Hibernate architecture
Hibernate architecture

The Hibernate framework presents the user with an abstraction of the database thereby freeing the user from knowing too many details about the representation of the data in the database.

The user only deals with the objects of the object-oriented model and can stay entirely within the concepts of the Java programming language.

The Hibernate framework thus solves the so called “object-relational impedance mismatch”, i.e. it takes care of the conceptual differences between the object-oriented model and the relational model.

The database specifics are implemented as so-called dialects that are called by the Hibernate core to generate valid SQL statements for the different database systems.

The general concept of object-relational mapping has been standardized in Java by the Java Persistence API (JPA).

Hibernate is also an implementation of the JPA and can therefore be used with any JPA-compliant application.

Provide an answer to the question below then click on Validate.

Step 2 Entities
+
Step 3 Associations
+
Step 4 The Hibernate Session
+
Step 5 Queries
+
Step 6 Hibernate References
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 6
1. The Hibernate ORM framework 2. Entities 3. Associations 4. The Hibernate Session 5. Queries 6. Hibernate References

Learn more →