<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Grails and LiquiBase &#8211; How to use</title>
	<atom:link href="http://www.jakusys.de/blog/2008/09/grails-and-liquibase-how-to-use/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jakusys.de/blog/2008/09/grails-and-liquibase-how-to-use/</link>
	<description>Ninja Coding Monkey goes Canada</description>
	<lastBuildDate>Fri, 01 Jul 2011 11:20:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
	<item>
		<title>By: Working with the Grails Database Migration Plugin &#124; Tomás Lin&#8217;s Programming Brain Dump</title>
		<link>http://www.jakusys.de/blog/2008/09/grails-and-liquibase-how-to-use/comment-page-1/#comment-19535</link>
		<dc:creator>Working with the Grails Database Migration Plugin &#124; Tomás Lin&#8217;s Programming Brain Dump</dc:creator>
		<pubDate>Fri, 24 Jun 2011 08:45:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.jakusys.de/blog/?p=313#comment-19535</guid>
		<description>[...] changesets, we use the database diff mechanism provided by the plugin. This is very similar to the liquibase mechanism described here by Jakob Kultzer, but made easier due to the Database Migration plugin&#8217;s [...]</description>
		<content:encoded><![CDATA[<p>[...] changesets, we use the database diff mechanism provided by the plugin. This is very similar to the liquibase mechanism described here by Jakob Kultzer, but made easier due to the Database Migration plugin&#8217;s [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jakob Külzer</title>
		<link>http://www.jakusys.de/blog/2008/09/grails-and-liquibase-how-to-use/comment-page-1/#comment-18090</link>
		<dc:creator>Jakob Külzer</dc:creator>
		<pubDate>Tue, 10 May 2011 03:48:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.jakusys.de/blog/?p=313#comment-18090</guid>
		<description>Hello Imran,
thank you, I&#039;m glad my post is so useful to you. :)</description>
		<content:encoded><![CDATA[<p>Hello Imran,<br />
thank you, I&#8217;m glad my post is so useful to you. <img src='http://www.jakusys.de/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Imran</title>
		<link>http://www.jakusys.de/blog/2008/09/grails-and-liquibase-how-to-use/comment-page-1/#comment-18073</link>
		<dc:creator>Imran</dc:creator>
		<pubDate>Mon, 09 May 2011 06:17:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.jakusys.de/blog/?p=313#comment-18073</guid>
		<description>Hey Jakob. You have done a great job by writing this article and simplifying the database change management through liquibase. I keep on referring to this article every now and then, especially the section, &quot;Using LiquiBase in the Middle of a Project&quot;.  Thanks.</description>
		<content:encoded><![CDATA[<p>Hey Jakob. You have done a great job by writing this article and simplifying the database change management through liquibase. I keep on referring to this article every now and then, especially the section, &#8220;Using LiquiBase in the Middle of a Project&#8221;.  Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jakob Külzer</title>
		<link>http://www.jakusys.de/blog/2008/09/grails-and-liquibase-how-to-use/comment-page-1/#comment-13545</link>
		<dc:creator>Jakob Külzer</dc:creator>
		<pubDate>Fri, 03 Dec 2010 04:24:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.jakusys.de/blog/?p=313#comment-13545</guid>
		<description>Hey Justin,
that is indeed something I&#039;ve been thinking about for a while. You can use liquibase to do that, using the insert data (http://www.liquibase.org/manual/insert_data) or load data (http://www.liquibase.org/manual/load_data) refactorings. You could also use custom sql refactoring (http://www.liquibase.org/manual/custom_sql_file) depending on your needs. I have to admit that I never used these refactorings, though. 

The obvious drawback is that loading data via these mechanisms doesn&#039;t offer a rollback. An interesting question is whether this could be part of an automated database synchronization mechanism... hmmm... 

Your question actually made me look at the new refactorings -- letting me solve some other problems elegantly now. Thanks. :)</description>
		<content:encoded><![CDATA[<p>Hey Justin,<br />
that is indeed something I&#8217;ve been thinking about for a while. You can use liquibase to do that, using the insert data (<a href="http://www.liquibase.org/manual/insert_data" rel="nofollow">http://www.liquibase.org/manual/insert_data</a>) or load data (<a href="http://www.liquibase.org/manual/load_data" rel="nofollow">http://www.liquibase.org/manual/load_data</a>) refactorings. You could also use custom sql refactoring (<a href="http://www.liquibase.org/manual/custom_sql_file" rel="nofollow">http://www.liquibase.org/manual/custom_sql_file</a>) depending on your needs. I have to admit that I never used these refactorings, though. </p>
<p>The obvious drawback is that loading data via these mechanisms doesn&#8217;t offer a rollback. An interesting question is whether this could be part of an automated database synchronization mechanism&#8230; hmmm&#8230; </p>
<p>Your question actually made me look at the new refactorings &#8212; letting me solve some other problems elegantly now. Thanks. <img src='http://www.jakusys.de/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin</title>
		<link>http://www.jakusys.de/blog/2008/09/grails-and-liquibase-how-to-use/comment-page-1/#comment-13526</link>
		<dc:creator>Justin</dc:creator>
		<pubDate>Wed, 01 Dec 2010 19:27:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.jakusys.de/blog/?p=313#comment-13526</guid>
		<description>Great post!

I am wondering if the grails liquibase plugin can support row data as well as schema changes. I have created a new table and want it populated with data when I perform the migration. Is there some other mechanism other than manually creating a data-load script and applying it to all my databases.

Thanks.</description>
		<content:encoded><![CDATA[<p>Great post!</p>
<p>I am wondering if the grails liquibase plugin can support row data as well as schema changes. I have created a new table and want it populated with data when I perform the migration. Is there some other mechanism other than manually creating a data-load script and applying it to all my databases.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Grails Liquibase plugin: dbDiff tool workaround &#171; Intelligrape Groovy &#38; Grails Blogs</title>
		<link>http://www.jakusys.de/blog/2008/09/grails-and-liquibase-how-to-use/comment-page-1/#comment-12565</link>
		<dc:creator>Grails Liquibase plugin: dbDiff tool workaround &#171; Intelligrape Groovy &#38; Grails Blogs</dc:creator>
		<pubDate>Tue, 12 Oct 2010 12:07:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.jakusys.de/blog/?p=313#comment-12565</guid>
		<description>[...] found one great article by Jackob Kulzer. As explained by Jackob Kulzer, dbDiff tool in the plugin is hard coded to compare development and [...]</description>
		<content:encoded><![CDATA[<p>[...] found one great article by Jackob Kulzer. As explained by Jackob Kulzer, dbDiff tool in the plugin is hard coded to compare development and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amit Jain</title>
		<link>http://www.jakusys.de/blog/2008/09/grails-and-liquibase-how-to-use/comment-page-1/#comment-12564</link>
		<dc:creator>Amit Jain</dc:creator>
		<pubDate>Tue, 12 Oct 2010 10:12:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.jakusys.de/blog/?p=313#comment-12564</guid>
		<description>Thanks a lot!! Nice post!!</description>
		<content:encoded><![CDATA[<p>Thanks a lot!! Nice post!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Blog bookmarks 08/19/2010 &#171; My Diigo bookmarks</title>
		<link>http://www.jakusys.de/blog/2008/09/grails-and-liquibase-how-to-use/comment-page-1/#comment-11835</link>
		<dc:creator>Blog bookmarks 08/19/2010 &#171; My Diigo bookmarks</dc:creator>
		<pubDate>Thu, 19 Aug 2010 04:34:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.jakusys.de/blog/?p=313#comment-11835</guid>
		<description>[...] Grails and LiquiBase – How to use « Jakob Külzer [...]</description>
		<content:encoded><![CDATA[<p>[...] Grails and LiquiBase – How to use « Jakob Külzer [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: maxou</title>
		<link>http://www.jakusys.de/blog/2008/09/grails-and-liquibase-how-to-use/comment-page-1/#comment-11169</link>
		<dc:creator>maxou</dc:creator>
		<pubDate>Tue, 25 May 2010 13:05:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.jakusys.de/blog/?p=313#comment-11169</guid>
		<description>Ok, I had time to test the tool.

In fact, the command which is very cool is db-diff (generate changelog is not very necessary in fact, db-diff do better). You don&#039;t have to write by hand the xml code. You just have copy and paste.
On the other hand, it&#039;s weird that the diff is done between dev and test databases. Why not between dev and prod databases ?
So, I had put the production database in the test environnement. I do : &quot;grails test migrate&quot;.

With a Db-diff which work correctly, Autobase not have reasons to exist.

My only problem is with foreign keys of the framework tables (fmwk_item...) which it searches to create and drop in every db-diff.</description>
		<content:encoded><![CDATA[<p>Ok, I had time to test the tool.</p>
<p>In fact, the command which is very cool is db-diff (generate changelog is not very necessary in fact, db-diff do better). You don&#8217;t have to write by hand the xml code. You just have copy and paste.<br />
On the other hand, it&#8217;s weird that the diff is done between dev and test databases. Why not between dev and prod databases ?<br />
So, I had put the production database in the test environnement. I do : &#8220;grails test migrate&#8221;.</p>
<p>With a Db-diff which work correctly, Autobase not have reasons to exist.</p>
<p>My only problem is with foreign keys of the framework tables (fmwk_item&#8230;) which it searches to create and drop in every db-diff.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jakob Külzer</title>
		<link>http://www.jakusys.de/blog/2008/09/grails-and-liquibase-how-to-use/comment-page-1/#comment-11096</link>
		<dc:creator>Jakob Külzer</dc:creator>
		<pubDate>Tue, 18 May 2010 21:16:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.jakusys.de/blog/?p=313#comment-11096</guid>
		<description>@maxou: there&#039;s two ways you can generate your changelog. You can either write it manually or you can get liquibase to generate it for you. The later will take a certain existing database structure and create your changelog.xml from it. To answer your question, no, you cannot generate a changelog.xml directly from domain classes (because this is highly database dependent). But you can get Grails and hbm2ddl to populate a database for you and then use liquibase to create the changelog.xml.</description>
		<content:encoded><![CDATA[<p>@maxou: there&#8217;s two ways you can generate your changelog. You can either write it manually or you can get liquibase to generate it for you. The later will take a certain existing database structure and create your changelog.xml from it. To answer your question, no, you cannot generate a changelog.xml directly from domain classes (because this is highly database dependent). But you can get Grails and hbm2ddl to populate a database for you and then use liquibase to create the changelog.xml.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

