Skip to content
Liquibase extension for HANA
Java
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Add more tests and minor fixes. Mar 26, 2020
.travis.yml
LICENSE Initial commit Feb 25, 2019
NOTICE Initial content Feb 26, 2019
README.md
pom.xml Update version to 1.0.2-SNAPSHOT Mar 25, 2020

README.md

SAP HANA Liquibase Extension

A Liquibase extension adding support for SAP HANA

Description

Liquibase has the concept of Extensions to abstract from the differences between different database systems. This project implements such a Liquibase extension for SAP HANA.

Include this in your application project to run Liquibase database migration scripts against a SAP HANA database instance.

Requirements

Download and Installation

Download

Clone or download the repository to your local computer.

git clone https://github.com/SAP/hana-liquibase.git
cd hana-liquibase

Installation

Use Maven to build and install the project to your local repository

mvn clean install

Running the tests requires a configured SAP HANA instance. To build the project without running the tests use the -DskipTests option

mvn clean install -DskipTests

Configuration

Database Access for Testing

Open the src/test/resources/tests.properties file.

url: jdbc:sap://hxehost:39015/
user: LIQUIBASE_TEST
password: L1qu1base_test
logLevel: DEBUG

Set up your database connection data and credentials.

Example

url: jdbc:sap://localhost:39015/
user: MY_DATABASE_USER
password: My_Pa$$word
logLevel: DEBUG

Save the file.

Build the project and run the tests:

mvn clean install

Usage in Application Projects

If you want to use the Liquibase HANA extension in an application project, add the following to your build descriptor:

Maven

<dependency>
    <groupId>com.sap.foss.hana</groupId>
    <artifactId>liquibase-hana</artifactId>
    <version>1.0.2-SNAPSHOT</version>
</dependency>

Gradle

implementation 'com.sap.foss.hana:liquibase-hana:1.0.2-SNAPSHOT'

How to obtain support

If you have questions or find a bug, please open an issue in this project's bug tracker.

License

Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.

This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file.

You can’t perform that action at this time.