Quantcast
Browsing all 1169 articles
Browse latest View live

Re : Liquibase modify dbchangelog table

Sorry for the slow response. I'll put a fix into 3.4.1 to not send alter statements if the type is different https://liquibase.jira.com/browse/CORE-2461 Nathan

View Article


Preconditions column exists

Using liquibase 3.4.1 I want to rename my columns in Oracle to uppercase if they exist. I always get the following error no matter what I do: Unexpected error running Liquibase: ORA-00957: duplicate...

View Article


Password encryption in Liquibase properties file

To manage migration with Liquibase, I am using a properties file that holds all the information about the database connection. The pitfall of this file is that it discloses my database password since...

View Article

Re : Password encryption in Liquibase properties file

If you google "Password Encryption in Liquibase" you will get some results that answer the question....

View Article

While executing the liquibase script, how to print the comment the one which...

<changeSet id="Aug050815" author="myApplication" >    <comment>Test comments 1</comment>    </changeSet> </databaseChangeLog> While executing the liquibase script, how to...

View Article


Silently stopping Liquibase at mid-update

Is there any way I can cancel a Liquibase update after I started it? I've a list with around 5000 changesets, and I need to prevent all changesets from a specific point forward, to not be executed if...

View Article

Translator from MySQL to liquibase

Do you guys know if there are any tools to convert SQL scripts into LB .xlm files? It would really come in handy in order to import all my previous changes and sum them up in order to be able to do a...

View Article

Re : While executing the liquibase script, how to print the comment the one...

You would need to run Liquibase programatically (i.e. from your own Java code) and write a class that implements the ChangeExecListener interface. The class implementing the interface would get...

View Article


Re : Translator from MySQL to liquibase

I assume you mean .xml rather than .xlm What you would do is: 1. Create a clean, empty database. 2. Apply the SQL scripts that you have to the database. 3. Run the Liquibase generateChangelog command...

View Article


Liquibase java not applying changesets

Hi, I'm using Liquibase directly from Java 8, after adding the Maven dependency for Liquibase 3.4.0. My project includes some database interactions with an Oracle 11g database (I included ojdbc6.jar in...

View Article

Re : Preconditions column exists

Oracle doesn't consider case when checking for table names or column names.Thus you don't even have to rename your columns !

View Article

Re : Silently stopping Liquibase at mid-update

If you know the number of changesets you have to apply, you could use the equivalent of command line's action "updateCount <value>" in whatever way your are using liquibase. Or is there no way to...

View Article

Re : Liquibase java not applying changesets

See my reply on StackOverflow Steve Donie Principal Software Engineer Datical, Inc. http://www.datical.com/

View Article


dropAll fails when tables have child partitions - postgres

When running dropAll, and the database has a partitioned table, the dropAll process fails when attempting to drop the partitions. (Liquibase version 3.4.1, Postgres 9.4) master_table...

View Article

Re : Translator from MySQL to liquibase

Thank you for the answer. My bad with the ".xlm" typo. I was looking for something to convert individual sql scripts int xml change sets. If there isn't any similar tool around, I'll just make one with...

View Article


Re : Silently stopping Liquibase at mid-update

Or is there no way to break your changelog into much smaller pieces? If you have to stop changesets from executing starting at some point, then you should have a way to create much smaller changelogs...

View Article

Re : Silently stopping Liquibase at mid-update

I already have lots of small changesets. Don't understand exactly your suggestion here.   I was speaking about breaking your big changelog into smaller changelogs (not changesets) and applying only...

View Article


Re : Translator from MySQL to liquibase

Ah, I see what you are saying. In that case, I can see how a tool might be useful. We have written something like that recently using DaticalDB. We have a command line interface for DaticalDB that is...

View Article

Re : Silently stopping Liquibase at mid-update

Your answers gave me an idea and since we are dynamically creating an include changelog file, for all the smaller changelogs, I simple iterate all the smaller changelog files until I reach the file...

View Article

Re : [SOLVED] - Silently stopping Liquibase at mid-update

If I understand correctly: You got your changesets in tiny changelog files. You include all these mini changelogs into an include changelog file generated dynamically at process start, which will...

View Article
Browsing all 1169 articles
Browse latest View live


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