Quantcast
Channel: Liquibase Forums
Browsing all 2993 articles
Browse latest View live

Re : CDILiquibase not reliable working

I personally have no familiarity at all with CDI, so I can't really help.  Steve Donie Principal Software Engineer Datical, Inc. http://www.datical.com/

View Article


Re : CDILiquibase not reliable working

Hello Steve, thanks for your reply. The question was not to CDI it was how to get rid the CDI. Means what type of startup in a EJB containter do you suggest? I know this:...

View Article


Re : CDILiquibase not reliable working

Again, not something in my realm of expertise. There may be other people here who can answer, but I would suggest that StackOverflow probably gets more traffic, especially around EJB containers and...

View Article

rollback on error

Is there a way to completion LiquiBase after a failed update command is automatically launched rollback?

View Article

Liquibase Update command not executing rollback changesets

Hi, I have the following changelog : <?xml version="1.0" encoding="utf-8" standalone="no"?> <databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"...

View Article


Re : Liquibase Update command not executing rollback changesets

By specifying an empty rollback tag, you have effectively told Liquibase "this does not need to be rolled back". Since the createTable change can automatically be rolled back, just removing the...

View Article

Re : CDILiquibase not reliable working

Looking at the code for CDILiquibase, it checks the liquibase.shouldRun flag and if it is false, it does not execute.  Your easiest route would be to either set the liquibase.shouldRun system property...

View Article

Re : Liquibase Update command not executing rollback changesets

Actually, the rollback tag isn't empty, it is referencing a changelog. That is telling liquibase that to rollback changeSet "test-1111-rollback" you execute what is in "test-1111" which creates the...

View Article


How do I get Liquibase to print out the SQL it generated?

Hi, I’m using Gradle 2.7, the Liquibase 1.1.1 plugin and attempting to run my changeset on an Apache Derby (v. 10.12.1.1) in-memory database.  Running the following changeSet fails immediately on the...

View Article


Re : How do I get Liquibase to print out the SQL it generated?

I don't use gradle, but it appears from the documentation that you would do something like this on the command line: gradle updateSql  Steve DoniePrincipal Software EngineerDatical, Inc....

View Article

Drop-create data after each test with SpringLiquibase

I'm using Springliquibase 3.3.2. I read the datas for db in csv files. I have unit tests running with SpringLiquibase and I wanted the database returned to it's initial state after each test run. I'm...

View Article

Inheritable contexts

I've created a pull request for an older feature request that will make it possible for change sets to inherit contexts from the databaseChangeLog, include and includeAll elements. I think this will...

View Article

Latest MySQL Error on Setting Tags

Looks like Liquibase had this issue a long time ago. We run our migration tests out of the latest mysql dockers for dev. The most resent update now gives the following error when setting a tag. Error:...

View Article


Cannot pass property using -Dproperty=value

When I try to run Liquibase on the command line passing a property using the -D switch I always get an error: liquibase -Dtable_owner=foo --defaultsFile=connection.properties...

View Article

Re : Cannot pass property using -Dproperty=value

I think you need to specify the parameters after the "update" command, so: liquibase --defaultsFile=connection.properties --changeLogFile=changelog.xml update -Dtable_owner=foo

View Article


Re : Cannot pass property using -Dproperty=value

Thanks for the answer. I did try that and also got an error - but that was unrelated to my commandline. My properties file contained a line "table_owner: foo" which caused the error. Passing -D after...

View Article

Re : Can I add changelog property to liquibase.properties file?

I had the same requirement, and after looking at the source code, I found out that this is possible if the property key is prefixed with "parameter": #Liquibase.properties driver:...

View Article


Liquibase problems with converting TINYINT(1) to BIT

Deciding to treat TINYINT as BIT seems not to be working. Liquibase: Data truncation: Data too long for column 'LOCKED' at row 1 [Failed SQL: INSERT INTO hgigoc.databasechangeloglock (ID, LOC KED,...

View Article

Liquibase unknown database error.

Hi , I am using liquibase 3.4.1 but I got one issue regarding database , my database  name is combination of small & capital letters. While running liquibase update it is showing unknown database...

View Article

slash / after plsql block in sql script included by sqlFile tag

A lot of tools like Toad generates pl/sql scripts with slash after pl/sql blocks. But liquibase adds ; after slash and after compilation object is invalid. Shouls I always manually remove slash? Is...

View Article
Browsing all 2993 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>