liquibase-hibernate
liquibase-hibernate copied to clipboard
Liquibase Hibernate Integration
Hi everyone, I've encountered the following issue when running "diffChangelog" command in my project. Currently, I have the following column in my database table:  It is a varchar, length...
Hi, I am using the liquibase gradle plugin to generate the (diff)changeLog. The first call of diffChangeLog worked (just a part of the whole code): ``` ``` Now I updated...
Hi, Running Liquibase:diff for a timestamp column with a default value, Liquibase keeps adding **addDefaultValue** even if the default value is already set in the table. Versions: liquibase-core: 4.21.1 liquibase-hibernate5:...
Using a validation constraint annotation (i.e. `javax.validation.constraints.NotNull`) does not produce a `NOT NULL` constraint in the Liquibase migration. The same issue happens with using other javax constraints like `@Size` ```...
For example, i have two entities: ``` package ru.atc.initsqldata.entity.multischema; import javax.persistence.*; @Entity @Table(schema = "schema1", name = "table1") public class Entity1 { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; private...
Once I create initial Diff change log, every following run of `mvn clean install liquibase:diff `generates a number of useless changeLog records. **For example, after initial run of `mvn clean...
When there is no live database changelog diff cannot be generated (or documentation is missing). In our projects developers work with embedded h2 database while there is a production PostgreSQL...
I get a NullPointerException when executing mvn liquibase:diff. This happens only when using liquibase-core 3.6.0 or above. Tested it with liquibase-core 3.5.5, that worked with my configuration. > [INFO] Executing...
I'm trying to generate a diff file from my jpa annotaed entities and my database. I'm using the classic mode. Here' s my liquibase properties : ``` changeLogFile=src/main/resources/liquibase/liquibase-changeLog.xml url=jdbc:oracle:thin:@//oralit-scan.infra.vs.ch:1521/OTBSVC_D username=XXXXXX...
using an id generation "native" with postgresql, hibernate defaults to using one `hibernate_sequence`. liquibase-hibernate uses autoincrement in a hardcoded way: https://github.com/liquibase/liquibase-hibernate/blob/master/src/main/java/liquibase/ext/hibernate/snapshot/ColumnSnapshotGenerator.java#L162 why is that behavior needed? or could the defaults...