https://github.com/liquibase/liquibase-cache
Cache database support
https://github.com/liquibase/liquibase-cache
core extension oss
Last synced: 6 months ago
JSON representation
Cache database support
- Host: GitHub
- URL: https://github.com/liquibase/liquibase-cache
- Owner: liquibase
- Created: 2013-11-07T22:49:33.000Z (almost 12 years ago)
- Default Branch: main
- Last Pushed: 2024-04-12T13:41:49.000Z (over 1 year ago)
- Last Synced: 2024-04-12T20:59:50.417Z (over 1 year ago)
- Topics: core, extension, oss
- Language: Java
- Homepage:
- Size: 204 KB
- Stars: 3
- Watchers: 17
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Liquibase Cache Extension [](https://github.com/liquibase/liquibase-cache/actions/workflows/build.yml)
This is a Liquibase extension for Cache support. [InterSystems Caché®](https://www.intersystems.com/products/cache/) is a high-performance database that powers transaction processing applications around the world. Using the Cache database, you can model and store data as tables, objects, or multidimensional arrays (hierarchies).
## 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-cache/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-cache
${liquibase-cache.version}
```
## Java call
```
public class Application {
public static void main(String[] args) {
CacheDatabase database = (CacheDatabase) 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-cache/actions/workflows/build.yml](https://github.com/liquibase/liquibase-cache/actions/workflows/build.yml).
## Issue Tracking
Any issues can be logged in the [Github issue tracker](https://github.com/liquibase/liquibase-cache/issues).
## License
This project is licensed under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0.html).