Re : Formatted SQL with a comment.
It looks like it needs a ":" after --comment --comment: INSERT TABLE I put in a fix for 3.3.1 to make the colon optional. Nathan
View ArticleRe : Error executing SQL --rollback drop table test: Invalid SQL type:...
No problem, glad you straightened it out. I should add code to detect formatted sql file with sqlFile to reduce confusion. Nathan
View ArticleRe : MySQL 5.6 keywords `partition' not quoted as a column name
Thanks. I added CORE-2136 and the fix will go out with 3.3.1. Nathan
View ArticleRe : Liquibase 2.0.5 does not seem to commit between changesets against MySQL...
The current codebase has removed the childDropChanges attribute. Are you able to do a local build where you remove the attribute and keep childDropChanges as a local variable in generateStatements? You...
View ArticleRe : Formatted SQL with a comment.
Adding a ":" works, thank you very much Nathan. Here is my formatted sql that works: $ cat ddl/test.sql --liquibase formatted sql --changeset ascii:001 --comment: Table for testing purposes create...
View ArticleRe : MySQL 5.6 keywords `partition' not quoted as a column name
Great, When do you plan to release the 3.3.1 ? Evgeny
View ArticleRe : MySQL 5.6 keywords `partition' not quoted as a column name
Working though the open issues and testing the standard extensions. It will probably be Monday or Tuesday. There are snapshot builds available from https://liquibase.jira.com/builds/browse/CORE-LB4 if...
View ArticleProblem with Preconditions in Version 3.3
today I tried to migrate one of our mysql databases. In my changelog there is 1 changeset with precondition columnExists. After all migration took 40 minutes to complete its work. After I monitored...
View ArticleRe : Problem with Preconditions in Version 3.3
I am starting to look at ways to improve the general snapshot process with 4.0. For the upcoming 3.3.1, I did make a couple changes that may help. I'm only seeing one SHOW FULL TABLES now and it...
View ArticleMultiple inserts in sqlFile do not fail as expected
We are using SqlServer with sqlFiles, and were testing the failure behavior. We expected a bad insert (string into an int col) to fail the changeSet and not write the record into the DATABASECHANGELOG...
View ArticleLiquibase 3.3 : insert SYSDATE into DATE field fails with 'ora-01858'
Hello I've just upgraded to liquibase 3.3 (was in 1.9.5) because logging in debug mode didn't work. Now logging works but I spent a lot of time to find why inserting the current date in a date field...
View ArticleCalling sql scripts with some parameters
Hi,I'm using Oracle CDC for which I have scripts to add columns, create tables... With liquibase (3.3) I have to call those scripts with the <sqlFile> tag. I can call them while I'm connected...
View ArticleRe : Allow multi-schema database installations without need for elevated...
I have 4 db_users (on different oracle instances) and uses Ant to call 4 targets. So I call 4 times liquibase having for each a connection and separate changesets files. As I manage scripts by versions...
View ArticleRe : Calling sql scripts with some parameters
Same thing to be able to change for example the tablespaces used depending on the target database: <createTable tableName="THE_TABLE_NAME" tablespace="${ONE_TABLESPACE}"> with MY_TABLESPACE name...
View Articlejavadoc for liquibase 3.3
I am trying to view the javadoc for liquibase 3.3. http://www.liquibase.org/javadoc/ is showing me javadoc for release 3.2.
View ArticleRe : Calling sql scripts with some parameters
Liquibase does have changelog parameter support (http://www.liquibase.org/documentation/changelog_parameters.html) which should work for both attributes in the XML and in sqlFile. How you set them...
View ArticleRe : Liquibase 3.3 : insert SYSDATE into DATE field fails with 'ora-01858'
Are you using an <insert> tag? Or is it a raw <sql> block? Nathan
View ArticleRe : Multiple inserts in sqlFile do not fail as expected
Liquibase should try to start a transaction at the beginning of the changeSet and only commit it and the insert into databasechangelog at the end. Could you post an example of the files you are using?...
View Article