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

Connect to Data Lake Relational Engine Using the JDBC Driver

Create and debug a Java application that connects to the data lake Relational Engine.

Overview

🎓 beginner 10 min. SAP HANA Cloud Data LakeBeginnerSAP HANA CloudJava

You will learn

  • โœ”How to create and debug a Java application that connects to and queries a data lake Relational Engine database
Unknown U Unknown March 28, 2026
Created by May 13, 2021
Contributors

Prerequisites

Prerequisites

  • You have completed the first tutorial in this group.

Steps

Intro

Java Database Connectivity (JDBC) provides an API for accessing databases from Java. An application written to the JDBC standard can be ported to other databases. Database vendors provide JDBC drivers for their database products. Further details of the SAP JDBC driver can be found at JDBC Driver.


Step 1 Install a JDK
โ€”

Ensure that you have a Java Development Kit (JDK) installed and make sure it is accessible from your path.

You should already have the SAP Java Virtual Machine (JVM) installed after completing the SAP HANA Cloud, Data Lake Client Interfaces Overview prerequisite tutorial.

If not, you can download an OpenJDK from at SapMachine.

To verify that the JDK is correctly set up, run the following:

Shell
java -version
javac -version

If these commands fail, ensure that the folder they are located in is included in your path.

For Linux, the following command will install Java on openSUSE Leap 15.4.

Shell
sudo zypper install java-11-openjdk-devel
Step 2 The data lake Relational Engine JDBC driver
+
Step 3 Create a Java application that queries data lake Relational Engine
+
Step 4 Debug the application
+
Step 5 Knowledge check
+

Resources

Discussion

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

Submit detailed feedback Discuss in Community
Steps
Step 1 of 5
1. Install a JDK 2. The data lake Relational Engine JDBC driver 3. Create a Java application that queries data lake Relational Engine 4. Debug the application 5. Knowledge check

Learn more →