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

Data type conversion matrix - table of LiquibaseDataType to DatabaseDataType...

Since the structure of the data type conversions has changed from 2.x to 3.x, and now data types are registered using the Service Locator pattern (lines 25 - 30 of DataTypeFactory), it's not so easy to...

View Article


Re : Mysql GenerateChangelog of data in xml format error

Yeah I moved the loglevelFollowing output now:C:\Users\Carbon>liquibase --driver=com.mysql.jdbc.Driver --url=jdbc:mysql://localhost:3306/kmmdemo --username=kmmdemo --password=kmmdemo...

View Article


Liquibase: I'm having an error fixing the installation of Liquibase on oracle

here is the error saying liquibase is not recognized as an internal/externalcommand http://animobile.info/upload/1/error.bmplb_update.bat code:        @echo off call Liquibase...

View Article

generateChangeLog does not create auto_increment correct with its unique key

Hi,when using auto_increment (MySQL) in a column, the generateChangeLog splits the column- and the key-generation in 2 different change sets. That causes an error on migration:"Incorrect table...

View Article

Re : Mysql GenerateChangelog of data in xml format error

Looks like we're running into http://stackoverflow.com/questions/11133759/0000-00-00-000000-can-not-be-represented-as-java-sql-timestamp-errorAdding the zeroDateTimeBehavior=convertToNull parameter...

View Article


Liquibase: I'm having an error fixing the installation of Liquibase on oracle

here is the error saying liquibase is not recognized as an internal/externalcommand http://animobile.info/upload/1/error.bmplb_update.bat code:        @echo off call Liquibase...

View Article

Re : Can we include a file in rollback?

Hi , I am looking for something similar. Just need to understand how to call a sql script from within the rollback tag.This is my sql file which creates a procedure--liquibase formatted sql--changeset...

View Article

Liquibase Hibernate and composite-id

Hi there,I'm trying to get a composite-id to work with liquibase but I can't get it done.<hibernate-mapping package="com.my.domain">  <class dynamic-insert="true" dynamic-update="true"...

View Article


Re : Liquibase Hibernate and composite-id

To explain a bit more, I am trying to generate my changelog from my hibernate files. If I put a simple id field it works great but as soon as I do a composite-id, it fails. I have a relation...

View Article


Image may be NSFW.
Clik here to view.

Re : Liquibase Hibernate and composite-id

I've been trying different mapping and can't get liquibase to understand them. My mapping is validated by hibernate, hbm2ddl understands and creates the table with the right primary/foreign keys.Does...

View Article

Re : v3.0.5: ORA-01000: maximum open cursors exceeded (not on v2.0.5)

Sorry for the late reply.First changeset contains an sql file with the base of the DB; after that only relatively simple stuff like new columns, a constraint or index, and every now and then a new...

View Article

Re : Redshift support

Downloaded snapshot#3, and at first I thought it doesn't work at all, but then I found out that it INDEED WORKS and both features I tested work (dbms="redshift", and the create databasechange* without...

View Article

UpdateSQL: Unique Constraints before ForeignKeys

I followed the next steps:     1. Created with third-party tool a Database Schema in Postgres.     2. Used Liquibase to export it to an db-initial.xml (changelog) in order to have an start point....

View Article


Re : UpdateSQL: Unique Constraints before ForeignKeys

This was my, sorry I was not logged In.

View Article

Re : UpdateSQL: Unique Constraints before ForeignKeys

To be more clear: Update SQL is generating SQL in this order:Create tablesForeign KeysUniqueConstraints and indexesI Just moved ForeignKeys block to the end and it works perfect. Why this is not the...

View Article


Re : relativeToChangelogFile for loadData?

It's been three years, any movement on this? The JIRA is a deadlink, so it's hard to tell. When running from Maven CLI, it is a real pain to have to provide complete paths to these resources, while...

View Article

Re : LB 3.0.7 against MSSQL: Precondition tableExists not handled

I am running into this same problem with Oracle.  When I changed the property to be the schema name in all caps, it works correctly.  I compared to 2.0.5, and I did not need the schema name to be in...

View Article


Re : Liquibase.jar can't load own classes if it resides inside another jar.

So, did anyone find a solution to this issue?

View Article

Re : Custom change: can I designate a field as not affecting the checksum?

Hmm... I have problem now, during upgrade to 3.0.7. Above annotation is no longer available, but your issue is not yet solved. Any idea? ;)

View Article

CustomSqlChange: how access database metadata ?

Hi,For version 2 of liquibase, I wrote a CustomSqlChange accessing java.sql.DatabaseMetaData in order to get the list of constraints :Set<UniqueConstraint> constraints =...

View Article
Browsing all 2993 articles
Browse latest View live


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