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

diffChangeLog with Firebird databases

I was making some tests with diffChangeLog command, and it seems to be strange.If i compare the same database in Firebird, it brings me a lot of changes, like this:    <changeSet author="Victor...

View Article


Clob with Base64

I have currently a clob column in oracle db where i am storing the value in base64 format, how this can be done using liquibaseI tried as given below <insert tableName="IMAGES"> <column...

View Article


Hadoop HDFS: DateNode directory on system partition?

 Hi,We come up short on space on our Hadoop Cluster that is set up thusly: 1x 1TB HDD/<-Ubuntu System Partition 3x 1.5TB HDD/data1/data2/data3 <-HDFS Data Volumes The framework parcel is nearly...

View Article

stored proc formatted SQL double quote issue Sybase

i have a stored proc like this--liquibase formatted sql--changeset author:idcreate proc abcas beginselect @var1= "insert into a1"      select @var1= @var1+ " select  c1,c2"      select @var1= @var1+ "...

View Article

Need suggestion for best approach to deploy Liquibase on legacy product using...

I have an application that is currently deployed via RPM. I'm working on including database migration as part of this, and am trying to determine best approach that accomplishes the ability to deploy...

View Article


How to generate liquibase change logs along with basic preconditions ?

Hi,I used generateChangeLog command on an existing database. It helped me auto generating 'create' changesets for all tables, sequences. I am interested to know if there is a way to doing same and get...

View Article

Re : How to generate liquibase change logs along with basic preconditions ?

I don't think this is possible, but sounds like a reasonable change request for https://liquibase.jira.com/secure/Dashboard.jspa

View Article

Re : How to generate liquibase change logs along with basic preconditions ?

In general, you don't need to have preconditions for things like 'table exists' before the change that creates a a table because liquibase will see that the change to create the table has already been...

View Article


NullPointerException when using `addColumn`

Hey all,I'm getting an error with a simple liquibase setup. I've provided details in this stackoverflow question: liquibase-simple-changelog-nullpointerexceptionI've also created a simple repo with the...

View Article


generateChangeLog fails to include columns in createTable commands

Hello, I'm new to Liquibase and am looking to see how it can be used on an already existing project.  I found the documentation on how to generate a changelog against our existing MySql DB.  But all of...

View Article

Image may be NSFW.
Clik here to view.

Source control your database with Liquibase

I recently started to use Liquibase on a project to keep track of the database changes in our Java Enterprise application. I must say that I like the way it works. It makes the deployment of my...

View Article

Re : generateChangeLog fails to include columns in createTable commands

It sounds like you are doing reasonable steps and getting unexpected results. I see you have logLevel debug already set, can you share the logs?Steve DoniePrincipal Software EngineerDatical, Inc....

View Article

Re : generateChangeLog fails to include columns in createTable commands

Sure.  Sorry it's a bit ugly (thanks terrible windows command line).C:\Users\elumpkin\Desktop>java -jar...

View Article


Release Updates

Liquibase Community, I want to provide a quick update on the promise I made near the end of last year about maintaining a healthier update cadence to the Liquibase project. The Datical leadership team...

View Article

DB2 stored procedures with liquibase : mixing 2 delimiters in generated SQL

Hello everybody,i'm quite new to liquibase so i wish your kindness.I try using <sqlFile> changelog wto create stored procedures.My problem is relating to delimiters.The sql code of my SP uses ;...

View Article


Column data type "double" incorrectly translated to "float (24)" for Oracle,...

The following column: <column name=" SOME_NAME" type="double"> </column> gets created by Liquibase in Oracle 12с as float 24CREATE TABLE table_name ( SOME_NAME FLOAT(24) ) but The following...

View Article

Problem with the loadUpdateData with Oracle

Hi Guys,I am using loadUpdateData to import CSV file data, it is working fine with MySQL, but with oracle I am having an issue. DECLARE v_reccount NUMBER := 0;BEGIN SELECT COUNT(*) INTO v_reccount FROM...

View Article


Cannot execute commands against an offline database when I am trying to...

Below are the code which I am using:               private static String file="create-table.yml"; public static void main(String[] args) throws Exception { Database database...

View Article

Validation for rollback with ChangeSetId is not correct

Hello everybody,Example:<changeSet id="id1" author="mmr" dbms="postgresql"> <createTable tableName="TABLE_TO_DROP"> <column name="ID" type="BIGINT"/> <column name="TEXT_VALUE"...

View Article

Liquibase Change set appears to be empty when executing update command

Before I explain my issue, I must declare that I'm a novice in Liquibase.I'm trying to run liquibase update method in my Test class. My code reads the changeset file, acquires lock, reads from...

View Article
Browsing all 2993 articles
Browse latest View live


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