Skip to content

juliuskrah/hibernate-liquibase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Liquibase Hibernate Demo

This repository contains the code accompanying the tutorial at https://docs.liquibase.com/workflows/database-setup-tutorials/hibernate.html

Running the application

To run this demo, run the following command

> .\mvnw exec:exec

Getting the dependencies

You can run the command below to get the library files for the migration:

> .\mvnw dependency:copy-dependencies -DoutputDirectory=${project.build.directory}/lib -Dhttps.protocols=TLSv1.2

Generate Changelog

Use the following command to generate a changelog XML file

From CLI

> .\mvnw install
> liquibase --logLevel=INFO --defaultsFile=src/main/resources/liquibase.properties generateChangeLog

From Maven

> .\mvnw liquibase:diff