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

Create a simple application using Hibernate on SAP HANA

This tutorial shows how to create a simple application using Hibernate on SAP HANA to interact with the database.

Overview

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

Prerequisites

Prerequisites

  • Proficiency: Beginner

Steps

Time to Complete

15 Min

Step 1 Define the model
โ€”

In this tutorial you will model a small software project portal where developers can create projects, upload code, and create software releases.

The model consists of three entities: project, developer, and version:

Entity diagram
Entity diagram

A project has exactly one owner and can have zero or more contributors. A project can have zero or more released versions.

As defined by the model three Java classes representing the entities will be created:

  • Project
  • Developer
  • Version

As the identity of a version entity will be defined by a composite value (i.e. the project to which it belongs and the version string), we will need an additional class named VersionPK to represent it.

Step 2 Create the Version Key Entity
+
Step 3 Create the Version Entity
+
Step 4 Create the Developer Entity
+
Step 5 Create the Project Entity
+
Step 6 Test your entities
+

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. Define the model 2. Create the Version Key Entity 3. Create the Version Entity 4. Create the Developer Entity 5. Create the Project Entity 6. Test your entities

Learn more →