Re : Execute an Oracle sql script
I wonder if it is a problem with the sqlplus command not exiting completely but expecting more input.You aren't able to reference the sql directly with an <sqlFile> tag?Nathan
View ArticleLock problems with HSQLDB
I seem to run into problems with HSQLDB where liquibase gets stuck at "Waiting for lock..." I haven't attempted to debug it, but being that I'm running HSQLDB as an in memory database, there obviously...
View ArticleRe : generateChangeLog and difftypes
I am running liquibase with Ant (v1.8.2). By the way I'm using DB2 v9.7.
View ArticleRe : Lock problems with HSQLDB
Liquibase runs "update databasechangeloglock set locked=1" when it first starts and "update databasechangeloglock set locked=0" after it has applied any unrun changeSets. If you kill you application...
View ArticleExecute liquibase update in production environment
I have a Java Maven project. I'm using liquibase to update DB.Locally, to update my db, I just run in command line:mvn liquibase:update In production environment, I don't have Maven installed.What I...
View ArticleRe : Execute liquibase update in production environment
You can use the command line liquibase mode (http://www.liquibase.org/documentation/command_line.html)Alternately, some people will use mvn liquibase:updateSql during testing to create the SQL to...
View ArticleHow to rollback a specific changetset
Hi,Lets say I have 5 changesets in a single changelog. All changeset has their own rollback section. How can I rollback a specific changeset from the changelog.Thanks in advance.Rgds - SR
View ArticleRe : Generating SQL file per changeset
I created https://liquibase.jira.com/browse/CORE-1620 to track the feature request. I'm not sure when it will make it to the top of my priority list, though.Nathan
View ArticleRe : Hibernate and Liquibase 3.x
So it looks like the persistence.xml being read isn't having the variables expanded. How are you normally bootstrapping the persistence.xml so that they get replaced?You may need to look at using the...
View ArticleRe : Redshift support
I missed overriding a method in the DateTimeType portion of the extension. I pushed a fix for it but haven't done an official build yet.You should be able to use dbms="postgres" or dbms="redshift" now....
View ArticleRe : Execute an Oracle sql script
I'll have to do more debugging, it'll take a little time to get to it though. I created https://liquibase.jira.com/browse/CORE-1621 to track the fix.Nathan
View ArticleRe : generateChangeLog and difftypes
I created https://liquibase.jira.com/browse/CORE-1622 to track the issue and will look at it as part of the next release.Nathan
View ArticleRe : Mysql GenerateChangelog of data in xml format error
Are you getting any stacktrace in the debug output?Nathan
View ArticleRe : Redshift support
Unfortunatelly there is no way I know of. Using the url might work for some - people that use the original bla-bla.us-east-1.redshift.amazonaws.com hostname. However I can imagine that it is not always...
View ArticleRe : Mysql GenerateChangelog of data in xml format error
Would the debug output also be generated in the command line?Or is it output to a file? Sorry I'm new to liquibase.Only got that oneliner in my console output.
View ArticleNullable constraint without a constraint tag?
When looking at one of the test JSON changelogs, there's what appears to be a nullable constraint outside of a constraint tag. Is this a bug (intentional or not) or is this an undocumented option for...
View ArticleRe : Mysql GenerateChangelog of data in xml format error
It should go to output. I think the problem is that the --logLevel=debug flag goes before the generateChangeLog command, not after.Nathan
View ArticlegenerateChangeLog does not work with enum
Hi,I used generateChangeLog to save a change log with an enum (MySQL) in it. Instead of the enum being placed as type="ENUM('field1','field2')", it wrote type="ENUM(2)" where 2 is the number of...
View ArticleRe : Redshift support
Thanks for the info. I uploaded a new snapshot #3 with the date time fix, plus the isCorrectDatabaseImplementation logic is...
View Article