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

Re : Understanding Rollback

Can give a example of rollback with rollback<tag>,on command, thanks

View Article


Re : informix - performance - view generation - subselect

If you want to take a look at it, the general function is the class MissingViewChangeGenerator. This in turn uses CreateViewChange, CreateViewStatement, and CreateViewGenerator. The CreateViewGenerator...

View Article


Re : Understanding Rollback

Here are a few resources:The Liquibase docs on rollback have a bit about what the rollback command means when you rollback using a tag:http://www.liquibase.org/documentation/rollback.html“Roll Back To”...

View Article

Re : Adding comments to changesets no longer works reliably

This is fixed for the upcoming 3.2.1 release. Planning on releasing it next week.Nathan

View Article

Re : informix - performance - view generation - subselect

In the class CreateViewGeneratorInformix in the generateSql method there is the statementString createClause = "CREATE VIEW  " + viewName + " AS SELECT * FROM (" + statement.getSelectQuery() + ") AS...

View Article


Use Liquidbase to create objects in empty database

Hi,I am trying to use Liquibase to create objects in empty database.Since we have quite a lot of objects I decided to split them into separate XML files based onpurpose of objects (security.xml,...

View Article

Re : informix - performance - view generation - subselect

There is also a problem with the naming of the views. Informix has a special syntax to name views:http://publib.boulder.ibm.com/infocenter/idshelp/v111/index.jsp?topic=/com.ibm.sqls.doc/sqls396.htm

View Article

Re : sqlFile tag not expanding placeholders

Yes, I've noticed this as well, but nobody has responded. http://forum.liquibase.org/topic/sqlfile-property-replacement-in-3-2-0  

View Article


Re : Understanding Rollback

thank you very much! I think I have got it,I should define a tagDatabase. By the way, and is there a completed document of changeSet file? include insert,rollback,tagDatabase and so on.    

View Article


CURRENT_TIMESTAMP with mariadb

Hello,I'm trying to replicate the next sql:CREATE TABLE IF NOT EXISTS lang (    lang_id INT NOT NULL AUTO_INCREMENT,    country VARCHAR(2) NOT NULL,    language VARCHAR(2) NOT NULL,    description...

View Article

Partial oracle packages updates

I’ve been using liquibase for a while now and often came across with the need to add/delete/update a single procedure/function part of an Oracle package. The usual way we do it is to put the whole...

View Article

Liquibase attempting to load unrelated classes

I am using the Java Liquibase API with some deployment scripts written in Groovy. The groovy scripts and all dependencies are packaged together into a fat jar.For some reason when we run this jar we...

View Article

Re : calculateCheckSum command

Hi Ijnelson,thanks for adding this function.It was needed to calculate some hashes without any interactions of db.Some questions:Why I had to add --changeLogFile? additionaly to the...

View Article


Re : changeset with multiple context

I see where the problem with formatted sql and context expressions happens.  I created https://liquibase.jira.com/browse/CORE-1969 to track the fix. Nathan

View Article

Re : Liquibase attempting to load unrelated classes

Liquibase's extension system scans the jar files for classes that could be used by Liquibase. There is a list of packages to look in, however, that should limit the search. There was a fix in the...

View Article


Re : Precondition to Check Whether Column is Nullable

There isn't a built-in precondition that will check that, but you could either use the <sqlCheck> precondition and query the metadata tables in the check, or write your own extension that can...

View Article

Re : DIFF - Getting "schemas equal" result for completely different schemas

What version of liqubase are you running? And can you run with --logLevel=DEBUG and post the output? Nathan

View Article


Re : Liquibase Mysql Includes

If you submit it as a pull request, I can look at incorporating those changes into the main liquibase repository. Nathan

View Article

Re : https://forum.liquibase.org wrong SSL certificate

The forum is hosted by zoho and out of my control. I think the problem is because you are accessing a custom domain (forum.liquibase.org) that is different than their SSL cert. I'll see if there is...

View Article

Re : CURRENT_TIMESTAMP with mariadb

With some testing, it appears that the maria support works just fine, they do a good job of pretending they are mysql. Even using a "jdbc:mariadb" URL with org.mariadb.jdbc.Driver. So the issue you are...

View Article
Browsing all 2993 articles
Browse latest View live