Category "liquibase"

liquibase.exception.DatabaseException: ORA-01950: no privileges on tablespace 'VMSS_TBS'

Initially I was getting this exception while starting my service An attempt was made to call a method that does not exist. The attempt was made from the followi

How to fire liquibase rollback script from spring application

I am using spring with liquibase to update my database. Since know I have not need to user rollback functonality, but the times come where I would like to make

issue running liquibase commands with gradle

I'm trying to configure a springboot gradle project with Intellij and run different liquibase gradle commands. I am able to run the application successfully as

Condition in creating view - liquibase xml

I want to make some view but with condition in my fourth column. CONDITION: If epr.j_id is not null then fill lj.id BUT WHEN epr.j_id is null then fill 'NONE'

how to modify already defined composite key in liquibase

I need to alter a table to modify the order of the indexes created from the composite key for the below mentioned changeset. <changeSet author="demo (generat

How to handle changed database structures in Liquibase when switching between Git branches

Imagine I have a USER MySql table with the rows id, name, email, address in the 'main' Git branch. I create a new feature branch and decide the 'address' column

Liquibase using H2 getting Driver class was not specified and MVMap$2 error

When I execute: ./mvnw liquibase:diff I am getting errors: Driver class was not specified and ClassNotFoundException: org.h2.mvstore.MVMap$2: [ERROR] Failed to

SpringBoot Liquibase Oracle Junit test case execution fails

I have a SpringBoot application in which i use Liquibase to generate oracle schema and tables. When i run the application, it runs fine. But when i try to run t

Spring boot r2dbc and jdbc Liquibase does not update on application start

I want my application to use r2dbc drive when running and jdbc to handle the database with Liquibase. I have this as a reference. It is possible by adding the c

Unable to execute Liquibase update commands via Docker run

I am using docker here to build Liquibase and trying to execute Liquibase commands on fly. Here is the Dockerfile:- FROM liquibase/liquibase RUN lpm add mysql -

Liquibase exclude any changesets without a label

Is it possible to prevent changesets without a label from being deployed? We want to deploy our changesets based on feature/ticket using liquibase labels. Howev

Nesting one-to-one relationship in already owned entity

I'm working on a project with multiple user data mapped to a user by one-to-one relationships in the entities. I'm in the process of adding another entity which

How to reference the default schema in liquibase preCondition sqlCheck

Posting here in case it helps someone. TLDR: ${database.defaultSchemaName} within sqlCheck to access default schema name I wanted my database changeset to firs

Liquibase DatabaseChangeLogTable

There is a requirement in my project which requires more than one database change log table. Multiple microservices are connecting with one Db instance having l

Using Liquibase to populate data with ORM

I am currently using Liquibase to create the database schema. It's a spring boot application that uses hibernate ORM. Liquibase is changing the database schema

Liquibase. generate-changelog doesn't create script of function creation

I'm trying to execute command liquibase generate-changelog --changelog-file=baseline.postgresql.sql --diffTypes=functions on free version of liquibase (paramete

Missing table [rev_info] after bump liquibase version, spring data envers

I have problem with my project after bump liquibase version to 4.9.1. There is error: BeanCreationException: Error creating bean with name 'entityManagerFactor

Maven mvn install doesn't run liquibase scripts

everyone! I faced with a problem. I have SpringBoot app with Spring JDBC and liquibase. When I do mvn install my tests failed because, liquibase doesn't run. Wh

Two conditions in where tag of Liquibase

I want to add two conditions in where tag of liquibase and exception is thrown: Reason: liquibase.exception.DatabaseException: Unknown column 'uid' in 'where cl

how disable liquibase in jhipster 7.7.0

I'd like to know how can I temporarily disable Liquibase in JHipster 7.7.0 there is a similar question here I tried this suggested solution but it shows this er