Connect Using the SAP HANA JDBC Driver
January 12, 2021
Beginner
15 min.
Create and debug a Java application that connects to SAP HANA using the SAP HANA client.
You will learn
- How to install Java
- How to create and debug a Java application that queries a SAP HANA database
Prerequisites
- You have completed the first 3 tutorials in this mission.
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.
Step 1: Install a JDK
Step 2: The SAP HANA JDBC driver
Step 3: Create a Java application that queries SAP HANA
Step 4: Debug the application
Step 5: Browse SAP HANA using Eclipse Data Tools