Questions tagged [liquibase-hibernate]

Liquibase plugin for Hibernate that lets this be configured as a comparison database for Liquibase commands.

Liquibase plugin for Hibernate that lets this be configured as a comparison database for diff, diffChangeLog and generateChangeLog commands of Liquibase.

163 questions
0
votes
1 answer

Unable to get liquibase-hibernate plugin work with gradle

While trying to integrate liquibase:hibernate plugin with spring-boot:gradle:postgres, I'm getting stuck at this error when i run gradle diff command. Unexpected error running Liquibase:…
0
votes
2 answers

Using liquibase with Altibase

We already have an existing project with liquibase scripts (mysql, postgresql). Now we want to support a new database named Altibase. But when we run liquibase:dropAll liquibase:update we got: [ERROR] Failed to execute goal…
czetsuya
  • 4,773
  • 13
  • 53
  • 99
0
votes
1 answer

I modified existing student entity through sub generator and then override all and after run gradlew command but I got folling error, what is wrong?

2017-12-28 15:40:31.813 ERROR 5060 --- [tapp-Executor-1] i.g.j.c.liquibase.AsyncSpringLiquibase : Liquibase could not start correctly, your database is NOT ready: Validation Failed: 1 change sets check sum …
0
votes
1 answer

How to incrementally update changelog?

I've generated changelog with java -jar liquibase.jar --changeLogFile="./data/" generateChangeLog I've got a "create table" changelog. After it I altered table by adding a new column and runned java -jar liquibase.jar…
Arthur
  • 3,253
  • 7
  • 43
  • 75
0
votes
1 answer

Add Gradle Tasks for Liquibase Tasks

I am using JHipster 4.5.4 with Gradle as build system and would like to add Gradle Tasks for executing Liquibase tasks such as validate or reset. I used the liquibaseDiffChangelog task that ships with JHipster as a template. This task is defined…
Stefan
  • 679
  • 2
  • 9
  • 21
0
votes
1 answer

Liquibase Only Running Single Changelog

I have a master changelog set up that contains all of my changelogs, which looks something like this: { "databaseChangeLog": [ { "include": [ { "file": "changelog/4.0/insert-languages-4.0.0.json" }, {…
user1985569
  • 183
  • 2
  • 8
0
votes
1 answer

Liquibase: postgres fails, mysql - ok

A pretty simple Spring application made to run using different DataSources. In it I have a liquibase change-set which involves this sql: UPDATE home_description hd INNER JOIN home h ON hd.id = h.description_id SET hd.home_id =…
Deniss M.
  • 3,617
  • 17
  • 52
  • 100
0
votes
0 answers

Multiple applications using Liquibase with different datasource in OSGi Container

I am using Liquibase in OSGi environment via bundle org.openengsb.labs.liquibase.extender (https://github.com/openengsb-labs/labs-liquibase) which defines datasource globaly in org.openengsb.labs.liquibase.cfg…
Tom
  • 83
  • 1
  • 1
  • 9
0
votes
1 answer

Hibernate - Audit table edit

i would like to better understand the behavior of Hibernate Envers.. Here's the problem : (PostgreSQL) I have this: Person ( id bigint not null, job character varying(10) ) plus its "_aud" table Person_AUD Now, i have to do…
user6404301
0
votes
1 answer

liquibase -diff command does not generate precondition

I am using liquibase-hibernate ext. I am able to generate the difference between a hbm file and my schema. But I am not able to generate the tag. I am not talking about custom precondition, I need to have the built in precondition tag…
Nagendra555
  • 141
  • 3
  • 15
0
votes
1 answer

Generate changeset diff between current master-changelog.xml and database schema

How can I generate changesetlog for the changes happened in the hbm file. For eg: I have my database and have my hbm files in project. If I change the hbm files in the project, how can I compare the db schema and the current hbm files and generate a…
-1
votes
2 answers

Suggest any structure to maintain history tabel

Suggest any structure for below process. If I update something in a table. before affecting the changes values to be stored in history table.
-1
votes
1 answer

Need steps to implement liquibase in spring boot with docker and how to execute using docker

Need steps to implement liquibase in spring boot application with dockerfile. And Need steps for how to execute liquibase using docker.
1 2 3
10
11