https://github.com/baudoliver7/easy-liquibase4j
Easy use of Liquibase in pure Java
https://github.com/baudoliver7/easy-liquibase4j
connection database datasource easy generation java liquibase
Last synced: 7 months ago
JSON representation
Easy use of Liquibase in pure Java
- Host: GitHub
- URL: https://github.com/baudoliver7/easy-liquibase4j
- Owner: baudoliver7
- License: mit
- Created: 2022-03-31T18:58:23.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-07-17T15:18:41.000Z (over 1 year ago)
- Last Synced: 2025-03-27T10:11:34.983Z (8 months ago)
- Topics: connection, database, datasource, easy, generation, java, liquibase
- Language: Java
- Homepage:
- Size: 30.3 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[](https://www.elegantobjects.org)
[](http://www.rultor.com/p/baudoliver7/easy-liquibase4j)
[](https://www.jetbrains.com/idea/)
[](http://www.javadoc.io/doc/com.baudoliver7/easy-liquibase4j)
[](https://github.com/baudoliver7/easy-liquibase4j/blob/master/LICENSE.txt)
[](https://codecov.io/gh/baudoliver7/easy-liquibase4j)
[](https://hitsofcode.com/view/github/baudoliver7/easy-liquibase4j)
[](https://maven-badges.herokuapp.com/maven-central/com.baudoliver7/easy-liquibase4j)
[](http://www.0pdd.com/p?name=baudoliver7/easy-liquibase4j)
It makes using Liquibase easy.
## How does it work ?
Simply wrap your data source like this :
```java
final DataSource source =
new LiquibaseDataSource(
,
"liquibase/db.changelog-master-test.xml"
);
```
Or your connection like this :
```java
final Connection connection =
new LiquibaseConnection(
,
"liquibase/db.changelog-master-test.xml"
);
```
These commands run automatically scripts contained in the change log master file.
## Use it in your project
If you're using Maven, you should add it to your pom.xml dependencies like this:
```xml
com.baudoliver7
easy-liquibase4j
org.liquibase
liquibase-core
```
## How to contribute
Fork repository, make changes, send us a pull request. We will review
your changes and apply them to the `master` branch shortly, provided
they don't violate our quality standards. To avoid frustration, before
sending us your pull request please run full Maven build:
> mvn clean install -Pqulice
Keep in mind that JDK 8 and Maven 3.1.0 are the lowest versions you may use.
## Got questions ?
If you have questions or general suggestions, don't hesitate to submit
a new [Github issue](https://github.com/baudoliver7/easy-liquibase4j/issues/new).