Java
Driver
SAP Hana is a commercial and professional product. However, the hana JDBC driver is available in Maven Central what makes it easy to integrate. All you need is the following maven dependency:
<dependency>
<groupId>com.sap.cloud.db.jdbc</groupId>
<artifactId>ngdbc</artifactId>
<version>${hana.driver.version}</version>
</dependency>
Of course the version (${hana.driver.version}
) needs to be adopted to your needs (Hana installtion in production, e.g. 2.4.64
).
For an overview of available driver versions see here.
Developer Usage
For your local development environment you will love the free SAP HANA, Express Edition.
You can run HANA in several ways:
-
On-premise
-
Via a Docker image (Linux only)
-
Via a pre-configured virtual machine (Windows, Linux, OS X)
-
Installed natively on your local machine (Linux only)
-
-
In the cloud
-
Refer Google Cloud Platform
-
Refer Microsoft Azure Cloud
-
Refer Amazon Web Services
-
To get started with SAP HANA, Express Edition you can check out the tutorials at the SAP Developer Center.