documentation/Reference/Database Driver Reference/SAP HANA (Including SAP HANA Cloud).md
{% include database-boilerplate.html %}
| Item | Details |
|---|---|
| URL format | <code>jdbc:sap://<i>host</i>:<i>port</i>/?databaseName=<i>database</i></code> |
| Ships with Flyway Command-line | No |
| Maven Central coordinates | com.sap.cloud.db.jdbc:ngdbc |
| Supported versions | 1.0 and later |
| Default Java class | com.sap.db.jdbc.Driver |
SAP HANA support is a separate dependency for Flyway and will need to be added to your Java project to access these features.
SAP HANA is found within the flyway-database-saphana plugin module.
<dependency>
<groupId>com.redgate.flyway</groupId>
<artifactId>flyway-database-saphana</artifactId>
</dependency>
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-database-saphana</artifactId>
</dependency>
buildscript {
dependencies {
implementation "com.redgate.flyway:flyway-database-saphana"
}
}
buildscript {
dependencies {
implementation "org.flywaydb:flyway-database-saphana"
}
}
BEGIN .. END; blocks used for triggers and anonymous do blocks