Generate SQL file in liquibase offline mode
I want to generate a SQL file from which I can generate my database. It works when I connect to the database but I want to do in offline mode. So I try this via command line: .\liquibase...
View ArticleUpgrade from 3.4.2 to 3.5.5 includeAll issues
Hello,We are using liquibase in dev and production enviorments and right now we tried to upgrade from 3.4.2 to 3.5.5. The big game breaking issue that we hit on is that for some reason when starting to...
View ArticleAre using contexts a best practice for revertible drop using a rename
Hello!I'm trying to make my liquibase changesets in a manner that gives an opportunity to rollback, even when the final intent of my action is to drop data.The idea being that the first time I run it,...
View ArticleHow to set extension for a liquibase installed on CentOS?
Hi All,I have liquibase installed on CentOS, but I have got very old scripts created for version 1.9, so, they need modifyColumn tag to run.I found that there is an extension for liquibase version 3.1...
View ArticleHow to run a hardcore sqlfile from liquibase? Getting errors no matter what I...
I have a file with the contents like below. I get get anything to run and I would like to take these scripts that my team is used to developing and run them from <sqlfile> tags. I have never...
View ArticleRe : How to set extension for a liquibase installed on CentOS?
May be the problem is that we are trying to use version 3.1... I will upgrade it to 3.2.3 and try to do everything once again
View ArticleDB2 precition issue.
DB2 only allows maximum 31 precision for a Decimal( eg. numeric(31,3)) thus when we have something like numeric(38,3) it will fail and liquibase will throw exception. I am wondering if there is a way...
View ArticleRe : DB2 precition issue.
None that I know of. You would need to do something like what Datical does and pre-process the changelog. Datical implements a forecast tool that simulates operations, and also has a rules engine that...
View ArticleAnyone ever used it with UCanAccess
Hi all,I just discovered liquibase and wanted to test it with an Access database. It seems it can load everything ok, but then I get the following when trying to run a...
View ArticleRe : How to set extension for a liquibase installed on CentOS?
Yes, upgrade has solved the problem.
View Articlecomments not added to "comments" column in DATABASECHANGELOG table
Hi,I am trying to add comments to my changesets but even though it creates comments inside SQL statements as well as in the update database scripts it doesn't seem to be able to add that to the...
View ArticleCreating/replacing packages using Liquibase
I'm using Liquibase to apply development changes to QA environments. I have both table and DML changes working great via Liqibase. I've tried to push packages and their bodies using: <changeSet...
View ArticleLiquibase and SQL Server 2016
Hello,We are using liquibase for schema creation and upgrades over different versions. The issue we are facing is with SQL Server 2016 and 2017. Its working fine till 2014. Here is what we needWe need...
View ArticleHow to add preconditions into changeset with code
How to add preconditions into changeset with code?In my code, use XMLChangeLogSerializer to generage changeset log file, xmlChangeLogSerializer.write(databaseChangeLog.getChangeSets(), fos);but...
View ArticleOracle endDelimiter pbm
Hello all.I wonder why I did not see such a pbm there or elwhere in the net... peharps I'm a noob ^^The pbm I face off is when I run liquibase to create packages, the "/" symbol from my division has...
View ArticleWhy does Liquibase generate needless statements?
I am using liquibase 3.5.5 and have generated a changelog file from my oracle database but the changelogs are somehow strange since there are always two statements for creating an index and then adding...
View ArticleDatabases not within the if/else conditions in JdbcDatabaseSnapshot need to...
There are two classes (JdbcDatabaseSnapshot.java and UniqueConstraintSnapshotGenerator.java) with a general else condition that queries for a "constraints" table for sql generation..."select...
View ArticleOracle Wallet Reference
Hi there, Can anyone please advise how to reference an Oracle wallet to connect instead of username & password in Liquibase command or Properties file ?I have an Oracle wallet configured but just...
View ArticleWhat is meant by the phrase adapter/connector?
This is a basic questions. I want to apply to an entry level java developer position with the following requirement:Familiarity with the Sailpoint Identity IQ standard adapters/connectorsBy standard...
View ArticleMySQL diffChangeLog converts VARCHAR(50) to VARCHAR(50 BYTE) and other oddities
We are using liquibase to generate change logs for MySQL database.When creating a change log it seems to convert VARCHAR(50) to VARCHAR(50 BYTE), INT to INT(10) among other things.VARCHAR(50 BYTE) is...
View Article