Re : Use Liquidbase to create objects in empty database
Sorry you hadn't gotten a response. The thing to remember about organizing your changesets is that in the end they get flattened into a list and ran from top to button, and order can matter. Just like...
View ArticleRe : preCondition onFail="CONTINUE"
The reason is because preconditions on child changelogs are considered global to the entire changelog. There is a feature request in jira to support preconditions that cause the changelog it is in to...
View ArticleRe : Generated duplicate constraint names
The primary key name liquibase uses should be what hibernate is generating. Is there a limit on PK length in hiberante that is causing the conflicts? Nathan
View ArticleRe : Execute an Oracle sql script
The reason it is closed is because liquibase is just calling out to the executable and has no control over whether the executable exits or not. I tested with the 3.2.1 release (almost released, but...
View ArticleRe : How to reference new change in xml file
You probably just need to make sure you have a namespace for your new change. If you don't want to create you own xsd, you can use http://www.liquibase.org/xml/ns/dbchangelog-ext...
View ArticleRe : Liquibase generateChangeLog is failing - with Table already exists
The problem is probably because of differences in the "filename" of the changelog. Each changeSet is uniquely identified with the id+author+filename. If you select * from databasechangelog you will see...
View ArticleRe : How to tag a database with liquibase 3.2.0 ?
The null pointer exception should be fixed in the upcoming 3.2.1 release. Nathan
View ArticleRe : Upgrading from 2.0.5 to 3.2.0 - Problem with preConditions ?
It seems to be working fine for me with the 3.2.1 version I am in final testing with. Try it with that version when it is out and let me know if you are still having problems. Nathan
View ArticleRe : GenerateChangeLog + Oracle column order for tables (v3.1.1)
Yes, that has now been fixed with the upcoming 3.2.1 release. Nathan
View ArticleRe : precondition problem mysql
It is working for me on 3.2.1. Can you try the newest version? (3.2.1 should be out later today or monday) Nathan
View ArticleRe : mysql tagDatabase operation problem
Yes, orderexecuted should be taken into account, not just dateexecuted. https://liquibase.jira.com/browse/CORE-842 is tracking the fix which will hopefully be in 3.3.0, planned for late August. Nathan
View ArticleRe : Export data from db2 database
Unfortunately there is not support yet for excluding certain tables from the export. You will have to export everything and then delete from the generated changelog. Nathan
View ArticleRe : ignoredTables maven example
It hasn't been incorporated yet. Hopefully with 3.3.0. Nathan
View ArticleRe : CURRENT_TIMESTAMP with mariadb
Hi, I didn't even know there was a specific driver for mariadb. I was using the official mysql jdbc driver. I do not know if it make any difference. I'm moving my scripts from mysql to mariadb and I...
View Article--diffTypes="tables" is an unexpected command parameter
I run liquibase diff on command:liquibase --driver=com.mysql.jdbc.Driver --url=jdbc:mysql://192.168.2.242:3306/test --classpath=/data/mysql-connector-java-5.1.22.jar --username=root --password=biker...
View ArticleRe : --diffTypes="tables" is an unexpected command parameter
and my liquibase version 3.2.0
View ArticleRe : Upgrading from 2.0.5 to 3.2.0 - Problem with preConditions ?
Thanks Nathan! I will try it when 3.2.1 is out and I will let you know if i have any problem.
View ArticleRe : Upgrading from 2.0.5 to 3.2.0 - Problem with preConditions ?
Thanks. 3.2.1 is out now Nathan
View ArticleReferring to s for
LB 3.1.1 In the interest of DRY, Don't Repeat Yourself, I tried referring to a changeSet from a previous release of our application for a rollback of a modification made this release. Upon running...
View ArticleRe : --diffTypes="tables" is an unexpected command parameter
That is a bug. I have just submitted pull request: https://github.com/liquibase/liquibase/pull/287 Steve DoniePrincipal Software EngineerDatical, Inc. http://www.datical.com/
View Article