Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liquibase/liquibase-db2i
Liquibase DB2 for iSeries support
https://github.com/liquibase/liquibase-db2i
core extension oss
Last synced: 3 months ago
JSON representation
Liquibase DB2 for iSeries support
- Host: GitHub
- URL: https://github.com/liquibase/liquibase-db2i
- Owner: liquibase
- Created: 2013-11-08T14:57:08.000Z (about 11 years ago)
- Default Branch: main
- Last Pushed: 2024-05-22T23:41:19.000Z (8 months ago)
- Last Synced: 2024-05-23T00:34:40.053Z (8 months ago)
- Topics: core, extension, oss
- Language: Java
- Homepage:
- Size: 239 KB
- Stars: 11
- Watchers: 17
- Forks: 18
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Liquibase DB2 iSeries Extension [![Build and Test Extension](https://github.com/liquibase/liquibase-db2i/actions/workflows/build.yml/badge.svg)](https://github.com/liquibase/liquibase-db2i/actions/workflows/build.yml)
This is a Liquibase DB2 extension for iSeries support. [DB2 iSeries](https://www.ibm.com/products/db2-database) enables Liquibase to connect to DB2 iSeries data sources.
## Configuring the extension
These instructions will help you get the extension up and running on your local machine for development and testing purposes. This extension has a prerequisite of Liquibase core in order to use it. Liquibase core can be found at https://www.liquibase.org/download.
### Liquibase CLI
Download [the latest released Liquibase extension](https://github.com/liquibase/liquibase-db2i/releases) `.jar` file and place it in the `liquibase/lib` install directory. If you want to use another location, specify the extension `.jar` file in the `classpath` of your [liquibase.properties file](https://docs.liquibase.com/workflows/liquibase-community/creating-config-properties.html).
### Maven
Specify the Liquibase extension in the `` section of your POM file by adding the `org.liquibase.ext` dependency for the Liquibase plugin.
```
org.liquibase
liquibase-maven-plugin
4.3.2
liquibase.properties
org.liquibase.ext
liquibase-db2i
${liquibase-db2i.version}
```
## Java call
```
public class Application {
public static void main(String[] args) {
DB2iDatabase database = (DB2iDatabase) DatabaseFactory.getInstance().openDatabase(url, null, null, null, null);
Liquibase liquibase = new Liquibase("liquibase/ext/changelog.generic.test.xml", new ClassLoaderResourceAccessor(), database);
liquibase.update("");
}
}
```
## ContributionTo file a bug, improve documentation, or contribute code, follow our [guidelines for contributing](https://www.liquibase.org/community).
[This step-by-step instructions](https://www.liquibase.org/community/contribute/code) will help you contribute code for the extension.
Once you have created a PR for this extension you can find the artifact for your build using the following link: [https://github.com/liquibase/liquibase-db2i/actions/workflows/build.yml](https://github.com/liquibase/liquibase-db2i/actions/workflows/build.yml).
## Documentation
[Using Liquibase with DB2 LUW](https://docs.liquibase.com/workflows/database-setup-tutorials/db2-luw.html)
## Issue Tracking
Any issues can be logged in the [Github issue tracker](https://github.com/liquibase/liquibase-db2i/issues).
## License
This project is licensed under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0.html).