Skip to main content

Questions tagged [liquibase]

Liquibase is an open source, database-independent library for tracking, managing and applying database changes. It is built on a simple premise: All database changes are stored in a human readable yet trackable form and checked into source control.

liquibase
0 votes
0 answers
30 views

Setting up liquibaseSchemaName for Liquibase with MS-SQL Server

I am using Liquibase with SQL Server (Microsoft SQL Server 2016) and Spring Boot. By default, Liquibase uses the dbo schema for the databasechangelog and databasechangeloglock tables. However, I want ...
omers's user avatar
  • 284
0 votes
0 answers
31 views

How to generate Liquibase changelogs with Quarkus using the Liquibase Hibernate extension?

I'm working on a Java application using Quarkus and I'm trying to generate Liquibase changelog files from my JPA entities. Previously, I have successfully used the Liquibase Hibernate extension with ...
Régis Martin's user avatar
-1 votes
0 answers
14 views

How to avoid circular references in Java Liquibase migration?

I have a SpringBoot application and Java Liquibase migration code that used to work, but now migrations can't go through due to a circular dependency error. LiquibaseConfig.java @Configuration(...
John Doe's user avatar
0 votes
0 answers
25 views

Maven test pass, but with install tests fail

I'm using maven, liquibase in project and spock with groovy to test java code. Normally my tests pass, but when I'm using packaging/install then tests fails with error of spring context initializing ...
Cezary's user avatar
  • 35
-1 votes
0 answers
16 views

Liquibase "preConditions" not working with hsqldb version 2.7.2

We are upgrading the application's mysql version from 5.7 to 8. As part of the process, we also need to upgrade the hsqldb to the compatible version. Below is the summary for the same Item. Existing ...
Ajinkya2006's user avatar
0 votes
2 answers
63 views

springboot3 app is unable to find liquibase changelog file

I am using Springboot3 with liquibase. Spring is unable to find the changelog file, however it is present and the path is configured correctly project structure src/main/java/com/example/io.akash....
Akash Sharma's user avatar
-1 votes
0 answers
35 views

Error creating 2 database users in SpringBoot3 app with Liquibase

I am trying to create an app with SpringBoot3, Hibernate and Liquibase. For now I have just implemented the liquibase part and wanted to get it working before adding business logic. The app defines 2 ...
Akash Sharma's user avatar
0 votes
0 answers
18 views

Liquibase with Gradle - How to generate the current state of the database with the Liquibase using Gradle? [duplicate]

I added the Liquibase to the existing project and would like to generate the current state of the database. But the problem is that the project is using Gradle, and I'm not that familiar with Gradle, ...
J.N.'s user avatar
  • 1
-1 votes
0 answers
23 views

Liquibase Springboot integration for multiple database users

I want to create a springboot3.X app that uses apring data jpa but jpa(underlying Hibernate) not to create tables. I want to create tables using Liquibase. I want to have 2 database users: 1.owner 2....
Akash Sharma's user avatar
1 vote
0 answers
27 views

How to setup optimistic locking for overlapping datetime?

I am trying to make a booking system, where users can book a booking at a location for a certain time period. The problem I am having is, 2 entries that happen at the same time and overlap in the time ...
user26020733's user avatar
0 votes
0 answers
51 views

SQL Server created user returns as "guest" with "SELECT USER, USER_NAME()"

On a fresh SQL Server container, with image mcr.microsoft.com/mssql/server:2022-latest I login as "sa" and create a database, two schemas and a login/user. -- USE master -- <create ...
Avixon's user avatar
  • 113
0 votes
1 answer
39 views

validate the number of affected rows by "update" and "delete" change types

In Liquibase, update and delete change types use a where query to target a number of rows. Is there a way to enforce the number of affected rows by these two change types? Something like the following:...
Younes's user avatar
  • 1,651
1 vote
1 answer
17 views

jOOQ: How do I set up Catalog and Schema Version Providers for Liquibase?

We have a build, where we generate a PostgreSQL database with a single schema using Liquibase. From that database, we generate Java source code using jOOQ. The build uses Maven and the jooq-codegen-...
Peter Becker's user avatar
  • 8,855
0 votes
0 answers
38 views

Liquibase Rollback functionality stopped working after applying seed data

We are doing a POC on the tool Liquibase to integrate our database changes into a CI/CD pipeline. After applying some seed data with the loadData command (https://docs.liquibase.com/change-types/load-...
Josh Lester's user avatar
0 votes
0 answers
35 views

Liquibase erroring when creating foreign key - relation "person" does not exist

Using a liquibase changeset I am receiving an error when attempting to create a foreign key when creating a table. If I run the same query against the postgres db it creates the table just fine. Here ...
moff2's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
257