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

Setup Hibernate for SAP HANA in your Eclipse project

This tutorial shows the basic setup steps required for getting started with Hibernate on SAP HANA.

Overview

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

Prerequisites

Prerequisites

  • Proficiency: Beginner

Steps

Time to Complete

20 Min

Step 1 Software
โ€”

To complete this tutorial, you will need:

  • Eclipse IDE for Java EE Developers Neon or newer (other Eclipse packages may require to manually install additional components)

You will also need an instance of SAP HANA 2.0, express edition (SPS02 revision 24 or newer). Both packages, the Server only and Server + Applications, will work.

To get your instance up and running, you can check the available options and get started on the SAP HANA, express edition product page.

Step 2 Create a new Maven project In Eclipse
+
Step 3 Set the minimum Java version
+
Step 4 Add Hibernate as a Maven dependency
+
Step 5 Add Maven dependencies for Java 9 and higher
+
Step 6 Add the HANA JDBC driver as a Maven dependency
+
Step 7 Create a persistence configuration
+
Step 8 Test your setup
+

Resources

Discussion

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

Submit detailed feedback Discuss in Community
Steps
Step 1 of 8
1. Software 2. Create a new Maven project In Eclipse 3. Set the minimum Java version 4. Add Hibernate as a Maven dependency 5. Add Maven dependencies for Java 9 and higher 6. Add the HANA JDBC driver as a Maven dependency 7. Create a persistence configuration 8. Test your setup

Learn more →