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

Re : Integration with Dropwizard and JUnit

And is there any example how to combine Dropwizard, JDBI DAO's and JUnit? StackOverFlow

View Article


Re : Validate only with Spring integration

Thanks for the pointer. I had a look at how that works and implemented a solution based on it. I've sent a pull request (https://github.com/liquibase/liquibase/pull/562) but I'm using a subclassing...

View Article


Cannot get diff against Hibernate to work in ant

I am using these jars:hibernate-core-4.2.7.SP1-redhat-3.jarliquibase.jar (3.4.2)liquibase-hibernate4.2-3.5.jarliquibase-oracle-3.0.0.jarAs well as the other required jars of course.My database:...

View Article

Re : Cannot get diff against Hibernate to work in ant

You just need to make sure that the Oracle JDBC driver jar is included in your list of jars. I am not sure what is in liquibase-oracle-3.0.0.jar, but it seems like that is the problem.Steve...

View Article

Re : Cannot get diff against Hibernate to work in ant

Thanks for the suggestion.  I should have mentioned that I am including ojdbc6.jar, which does include the Oracle driver.  I also removed liquibase-oracle-3.0.0.jar, but still the same error.I looked...

View Article


Re : Cannot get diff against Hibernate to work in ant

Perhaps someone could post a complete working example of the ant script and properties required to get this to work.  I've tried dozens of variations of jar files, properties, and attributes for the...

View Article

Liquibase udeploy integration fails when loglevel=info

Hi , Am working for udeploy and i have created a plugin to call the liquibase commands from udeploy. So far, it was working fine till i add the loglevel==info to invoke the Liquibase command.After...

View Article

Re : Liquibase udeploy integration fails when loglevel=info

You might take a look at the DaticalDB4UrbanCode plugin that was written for Datical DB, which is an extension to Liquibase. The source is on Github: https://github.com/Datical/DaticalDB4UrbanCodeSteve...

View Article


validCheckSum in formatted sql

Is it possible to place a validCheckSum comment in a liquibase formatted sql.  I tried the following and it did not work.  Is there a different way to register a secondary validCheckSum value?...

View Article


Re : validCheckSum in formatted sql

I've answered my own question.  Feature is comming in lq 3.5.0 (https://liquibase.jira.com/browse/CORE-2100)

View Article

Is it possible to simulate a while loop using Liquibase XML or other formats?

HelloHere is an example of heavy DB migration (postgresql):run the following statement in a separate transaction unless it returns zeroWITH updated as (      UPDATE some_table      SET some_column =...

View Article

Re : Is it possible to simulate a while loop using Liquibase XML or other...

This would need to be done inside a <sql> change tag or a custom change tag you write yourself. Liquibase itself does not have anything built-in like this.Steve DoniePrincipal Software...

View Article

Re : Is it possible to simulate a while loop using Liquibase XML or other...

Unfortunately it is not possible to do it in SQL in PostgreSQL, at least not using JDBC (it is only possible to write it in psql scripting language in some ugly way).Does Liquibase design allow to...

View Article


Re : Is it possible to simulate a while loop using Liquibase XML or other...

When you write a custom tag, you can do pretty much anything you want. We have written a custom <sqlplus> tag for Oracle that allows you to run the sqlplus command line tool, which allows for the...

View Article

Re : Cannot get diff against Hibernate to work in ant

Your <referencedatabase> element is not fully filled out. That element is the same type as a <database> element and takes the same attributes. Something like this:<target...

View Article


Can Liquibase export blob data?

HiIs Liquibase supports blob data type when generating changelog?java -jar liquibase.jar \    ...    --diffTypes="data" \    generateChangeLog

View Article

Re : Cannot get diff against Hibernate to work in ant

Thanks.  That gets past the JDBC driver issue but now I have this:diff-against-hibernate2:[liquibase:diffDatabaseToChangeLog] Starting Liquibase.dropping...

View Article


Re : Cannot get diff against Hibernate to work in ant

It looks like the Liquibase cannot connect to the database. It is trying to call driver.connect()on the given JDBC URL and driver and that method is returning null. According to the JDBC Javadoc:The...

View Article

Re : Cannot get diff against Hibernate to work in ant

Thanks.  I changed the jdbc driver for the referencedatabase only to liquibase.ext.hibernate.database.connection.HibernateDriver based on something I read in one of the forum posts here.  So my target...

View Article

Inserting the content of an XML file into a DB Table in a change-set

We have a table called XMLData with the column Data, type XML.We want to insert the contents of an XML file (e.g. Customer.XML) that is located in a folder in the same directory with the change-log...

View Article
Browsing all 1169 articles
Browse latest View live


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