项目作者: liquibase

项目描述 :
Liquibase extension for HANA
高级语言: Java
项目地址: git://github.com/liquibase/liquibase-hanadb.git
创建时间: 2019-02-25T15:18:58Z
项目社区:https://github.com/liquibase/liquibase-hanadb

开源协议:Apache License 2.0

下载


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.

  1. git clone https://github.com/liquibase/liquibase-hanadb.git
  2. cd liquibase-hanadb

Installation

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

  1. mvn clean install

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

  1. mvn clean install -DskipTests

Configuration

Database Access for Testing

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

  1. url: jdbc:sap://hxehost:39015/
  2. user: LIQUIBASE_TEST
  3. password: L1qu1base_test
  4. logLevel: DEBUG

Set up your database connection data and credentials.

Example

  1. url: jdbc:sap://localhost:39015/
  2. user: MY_DATABASE_USER
  3. password: My_Pa$$word
  4. logLevel: DEBUG

Save the file.

Build the project and run the tests:

  1. 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

  1. <dependency>
  2. <groupId>org.liquibase.ext</groupId>
  3. <artifactId>liquibase-hanadb</artifactId>
  4. <version>4.0.0</version>
  5. </dependency>

Gradle

  1. implementation 'org.liquibase.ext:liquibase-hanadb:4.0.0'

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.