Re : cvc-complex-type.2.3: Element 'createTable' cannot have character...
Good morning, I was experiencing this issue also with the dbchangelog-3.5.xsd using generated xml from liquibase. I downloaded the xsd and validated it against the file (tfs adding ti to the xml...
View ArticleRe : cvc-complex-type.2.3: Element 'createTable' cannot have character...
That worked Mark, changing the version from "1.1" To "1.0" helped to parse the XML without any errors.I don't know why it's trying to convert default value of "CURRENT_TIMESTAMP" for a TIMESTAMP...
View ArticleRe : cvc-complex-type.2.3: Element 'createTable' cannot have character...
Here is the changeset xml for that table: <changeSet author="root (generated)" id="1484939656104-1"> <createTable tableName="ACCOUNT_PHONE_NUMBER"> <column...
View ArticleHow can I get Data Diff using java dependency
Hello Team, I use liquibase 3.5.3 in my java project. I'm trying to get the differences between 2 databases.I use the code bellow. It give me difference of structure, but doesn't show differences on...
View ArticleRe : is there a way to reverse engineer an existing schema into Liquibase?
http://bytefilia.com/managing-database-schema-changes-liquibase-existing-schema/This link shows how to reverse engineer with liquibase. I have not yet worked through this, so YMMV
View ArticlelogicalFilePath
Hi,as mentioned here and here I try to use logicalFilePath for path independend changeset checksums on loading data from CSV files. I put it on both, <databaseChangeLog> and <changeSet>...
View Articlejenkins liquibase runner, 'DATABASECHANGELOG' already exists
I am sorry if this is a wrong portal but here I have found closest solutions but they are not working.I am trying to configure Liquibase Runner plugin in Jenkins.The database configuration is right...
View ArticleRe : DATABASECHANGELOGLOCK is created twice on case-sensitive MS SQL database
Hi,I am having exact problem.Can you please tell, which defaultSchemaName you have used? I have tried dbo, db_owner and database name.As per Sarah, sysusers has quite a list but not sure which one is...
View ArticleScript executed but data not persisted
I am working on a database migration in which we migrate data from 1 table to 2 other tables. For this I use a PL/SQL script. A very simplified version of the script is visible below:BEGIN FOR foo IN...
View ArticleRe : Script executed but data not persisted
I found out why it wasn't working and it was a really stupid mistake of myself. Nothing to do with liquibase.I insert test data through the Intellij Oracle Console. Apparently this Console by default...
View Articlehow can i set the diff referenceUrl parameter on a package of JPA entities ?
Can i use diffChangelog on hibernate entities without using hibernate-liquibase plugin ? i want to genearate a diffChangelogFile between my database and jpa entities without using any maven plugins....
View ArticlegenerateChangeLog on mysql with autoincrement and composite key
Hi,I am still seeing the issue reported in https://liquibase.jira.com/browse/CORE-548 for the sql formatted results. May be its fixed only for xml ouput? Thanks,Sriram K
View ArticleLiquibase Create View in Schema - Issue
I'm using liquibase 3.5.3.I have a multi-tenant (Postgres, not sure that matters) environment where each tenant gets a schema created for them when they sign up.When a user registers, I create a schema...
View ArticlecreateSequence is not supported on Azure MS SQL
Hello, what is the reasoning on not supporting createSequence on Azure SQL Database?I found this code but did not find any clues online:public boolean supportsSequences() { try { if (isAzureDb()) {...
View ArticleLiquibase to add index for foreign key for postgres
Hi,I'd like to have liquibase to automatically add indexes for all foreign keys created via <addForeignKeyConstraint /> statements.We use MySQL and PostgreSQL, and for MySQL this is done by...
View ArticleLiquibase generates columns with the same name (Sybase)
I have a DB in sybase and I have some tables with the same name but with a capital letter (fruit and fruiT), as well as views with the same name as the tables (Fruit), When I generate the XML with the...
View ArticleCustomtaskChange passing a parameter
I am using a customtaskchange and would like to be able to a pass a parameter to the class, is this possible. I want to be bale to have single task that can take a different value for processing, so a...
View ArticleRe : CustomtaskChange passing a parameter
Hi aorb38,it is as simly as adding a property to your implementation class (wich implements CustomSqlChange or CustomTask).public class CustomTask implements CustomTaskChange { private String...
View ArticleRe : CustomtaskChange passing a parameter
Hi DanielThanks for that, I had created the method but It was passing the parameters to the methods, is having the difficulty with.John
View ArticleRe : CustomtaskChange passing a parameter
Hi John,I'm not sure if I get it right. Do you mean that the parameters are not set into your CustomChange class?Do you have any more information? Is there a error if you enable logging?Can you...
View Article