liquibase-hana | Liquibase Hana extension

 by   lbitonti Java Version: 3.1.1 License: Apache-2.0

kandi X-RAY | liquibase-hana Summary

kandi X-RAY | liquibase-hana Summary

liquibase-hana is a Java library. liquibase-hana has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can download it from GitHub, Maven.

Liquibase extension that provides support for SAP Hana DB. Initial Hana DB support is currently implemented in the 2.0.x and 3.0.x branches. The master branch at the moment follows 3.4.x and it's built against version 3.4.2 of Liquibase. The original Liquibase distribution is available at: The official liquibase site is: Released under the Apache 2.0 License with no guarantee whatsoever. This is currently used in some projects I have been involved with. Branch 3.0.x has definitely undergone more testing at this point, but 2.0.x is still used in production with good results. If you give it a go, I'd like to know how it worked for you.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              liquibase-hana has a low active ecosystem.
              It has 11 star(s) with 11 fork(s). There are 7 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 6 open issues and 6 have been closed. On average issues are closed in 156 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of liquibase-hana is 3.1.1

            kandi-Quality Quality

              liquibase-hana has 0 bugs and 0 code smells.

            kandi-Security Security

              liquibase-hana has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              liquibase-hana code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              liquibase-hana is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              liquibase-hana releases are not available. You will need to build from source code and install.
              Deployable package is available in Maven.
              Build file is available. You can build the component from source.
              liquibase-hana saves you 3007 person hours of effort in developing the same functionality from scratch.
              It has 6484 lines of code, 510 functions and 95 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed liquibase-hana and discovered the below as its top functions. This is intended to give you an instant insight into liquibase-hana implemented functionality, and help decide if they suit your requirements.
            • Generate SQL for setNullableStatement
            • Gets the foreign key constraints from the result set
            • Returns all the foreign key constraints for a table
            • Returns a set of foreign key constraints for the specified table
            • Generates the SQL for the drop default value
            • Retrieves the column data definition for a given column
            • Returns the column meta data
            • Generate the SQL for the add column
            • Returns the default clause for the given column
            • Ensures that the createView is valid
            • Ensures that the sequence name is ordered
            • Ensures that all the required fields are allowed
            • Get the database schema name
            • Generates the drop primary key
            • Checks if is system object
            • Generate the create view
            • Generates the drop index
            • Generates the SQL for the create table
            • Validates the table name
            • Generates the SQL for a table statement
            • Generates SQL for a drop sequence
            • Generate the drop table
            • Generate SQL for alter sequence statement
            • Generate SQL for dropColumn statement
            • Generate the SQL for the CreateSequence
            • Generate the SQL statement to create an index
            Get all kandi verified functions for this library.

            liquibase-hana Key Features

            No Key Features are available at this moment for liquibase-hana.

            liquibase-hana Examples and Code Snippets

            No Code Snippets are available at this moment for liquibase-hana.

            Community Discussions

            Trending Discussions on liquibase-hana

            QUESTION

            Add Liquibase extension to Keycloak
            Asked 2020-Nov-02 at 09:10

            I am trying to use the Keycloak docker image with a non-standard database (HANA-DB).

            Modifying the configuration as described in the documentation worked fine and keycloak connects to the database. The remaining problem seems to be that the Liquibase migrations can not run because Liquibase does not know how to handle HANA-DB out of the box.

            Of course, there is an extension library (https://mvnrepository.com/artifact/org.liquibase.ext/liquibase-hanadb/4.0.0) that adds this capability to Liquibase. Now my question: How do I get Keycloak's Liquibase to use this library?

            I already tried:

            • Packaging the library into its own module and adding a dependency to it in Keycloak's Liquibase module
            • Adding the library as a second resource-root to Keycloak's Liquibase module

            Both did not work, i.e. Liquibase is still not recognizing the "HDB" database.

            What would be the correct way to do this?

            ...

            ANSWER

            Answered 2020-Aug-26 at 14:26

            It turns out, that adding the library as a second resource-root in Keycloaks's liquibase module is actually working. It does not get loaded because Keycloak removes liquibase.ext from the service loader used to find liquibase extensions.

            This can be worked around by using the liquibase.scan.packages system property, though.

            For all those trying to make Keycloak working with HANA:

            • Overriding the liquibase.scan.packages system property causes the library to be loaded
            • Now, a class (LoggingService) from liquibase that is referenced in the liquibase-hanadb library, can not be found because it was introduced in liquibase 3.6 and Keycloak comes with 3.5.5.
            • When hacking a more recent version of liquibase (3.6.0) into Keycloak's modules, for some reason a changeset only intended for DB2 is being run, causing errors. I suspect an incompatibility between Keycloak's changelogs and the updated liquibase version.

            I gave up at this point.

            Source https://stackoverflow.com/questions/63594839

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install liquibase-hana

            You can download it from GitHub, Maven.
            You can use liquibase-hana like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the liquibase-hana component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
            Maven
            Gradle
            CLONE
          • HTTPS

            https://github.com/lbitonti/liquibase-hana.git

          • CLI

            gh repo clone lbitonti/liquibase-hana

          • sshUrl

            git@github.com:lbitonti/liquibase-hana.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Java Libraries

            CS-Notes

            by CyC2018

            JavaGuide

            by Snailclimb

            LeetCodeAnimation

            by MisterBooo

            spring-boot

            by spring-projects

            Try Top Libraries by lbitonti

            deltaspike-dbunit

            by lbitontiJava

            CdiDsl

            by lbitontiJava