<?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>Wed, 26 May 2010 19:12:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<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>
	<item>
		<title>By: maxou</title>
		<link>http://www.jakusys.de/blog/2008/09/grails-and-liquibase-how-to-use/comment-page-1/#comment-11086</link>
		<dc:creator>maxou</dc:creator>
		<pubDate>Tue, 18 May 2010 07:25:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.jakusys.de/blog/?p=313#comment-11086</guid>
		<description>Hi,

Thanks for the tutorial !
But, there is one thing that I am not sure to have understood. In fact, the changelog.xml is not generated with domain classes but with the database or with informations writen manually. We can&#039;t generate this file with domain classes ?

Thanks,

maxou</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks for the tutorial !<br />
But, there is one thing that I am not sure to have understood. In fact, the changelog.xml is not generated with domain classes but with the database or with informations writen manually. We can&#8217;t generate this file with domain classes ?</p>
<p>Thanks,</p>
<p>maxou</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Masiar</title>
		<link>http://www.jakusys.de/blog/2008/09/grails-and-liquibase-how-to-use/comment-page-1/#comment-5988</link>
		<dc:creator>Masiar</dc:creator>
		<pubDate>Wed, 29 Jul 2009 13:52:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.jakusys.de/blog/?p=313#comment-5988</guid>
		<description>Hi jakob,

nice post. Could you publish the mentioned compareToChangelog ? It would be helpful!!

thanks,
masiar</description>
		<content:encoded><![CDATA[<p>Hi jakob,</p>
<p>nice post. Could you publish the mentioned compareToChangelog ? It would be helpful!!</p>
<p>thanks,<br />
masiar</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.jakusys.de/blog/2008/09/grails-and-liquibase-how-to-use/comment-page-1/#comment-5130</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Mon, 29 Jun 2009 21:29:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.jakusys.de/blog/?p=313#comment-5130</guid>
		<description>I recently wrote a JDBC driver wrapper to perform schema management.  Basically what you do is setup your jdbc URL to use the wrapper around your backend JDBC driver and in doing so deployment will occur automatically prior to the release of the first client connection.  This solution works with LiquiBase, Grails, plain old Java, and/or any tool that uses JDBC.

The driver currently the LiquiBase schema manager in addition to a more direct internal schema manager.   This gives the user choice since LiquiBase provides database independence via the XML layer and for users who must support more then one DB type using LiquiBase as the schema manger is the best approach.   The standard manager is the best approach for a shop that uses only one type of DB and wants to take advantage of driver level features for schema record and/or use vendor specific SQL statements rather then the XML indirection model.

In any case please checkout the project on my blog.
http://markfarnsworth.wordpress.com/2009/06/27/garin/</description>
		<content:encoded><![CDATA[<p>I recently wrote a JDBC driver wrapper to perform schema management.  Basically what you do is setup your jdbc URL to use the wrapper around your backend JDBC driver and in doing so deployment will occur automatically prior to the release of the first client connection.  This solution works with LiquiBase, Grails, plain old Java, and/or any tool that uses JDBC.</p>
<p>The driver currently the LiquiBase schema manager in addition to a more direct internal schema manager.   This gives the user choice since LiquiBase provides database independence via the XML layer and for users who must support more then one DB type using LiquiBase as the schema manger is the best approach.   The standard manager is the best approach for a shop that uses only one type of DB and wants to take advantage of driver level features for schema record and/or use vendor specific SQL statements rather then the XML indirection model.</p>
<p>In any case please checkout the project on my blog.<br />
<a href="http://markfarnsworth.wordpress.com/2009/06/27/garin/" rel="nofollow">http://markfarnsworth.wordpress.com/2009/06/27/garin/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adwin</title>
		<link>http://www.jakusys.de/blog/2008/09/grails-and-liquibase-how-to-use/comment-page-1/#comment-4501</link>
		<dc:creator>adwin</dc:creator>
		<pubDate>Thu, 11 Jun 2009 02:00:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.jakusys.de/blog/?p=313#comment-4501</guid>
		<description>thanks for the tutorial. it really helpfull ... 

i am using autobase before (in grails 1.0.4) and now move to use liquibase (in grails 1.1.1) since the autobase plugin are not working :(</description>
		<content:encoded><![CDATA[<p>thanks for the tutorial. it really helpfull &#8230; </p>
<p>i am using autobase before (in grails 1.0.4) and now move to use liquibase (in grails 1.1.1) since the autobase plugin are not working <img src='http://www.jakusys.de/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jakob.kuelzer</title>
		<link>http://www.jakusys.de/blog/2008/09/grails-and-liquibase-how-to-use/comment-page-1/#comment-77</link>
		<dc:creator>jakob.kuelzer</dc:creator>
		<pubDate>Thu, 09 Oct 2008 12:52:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.jakusys.de/blog/?p=313#comment-77</guid>
		<description>The db-diff command just ouputs the changes to the console and usually this is what you want. You can review the changes, copy it into your changelog file or just use it to see if there are differences. 

Cheers,
Jakob</description>
		<content:encoded><![CDATA[<p>The db-diff command just ouputs the changes to the console and usually this is what you want. You can review the changes, copy it into your changelog file or just use it to see if there are differences. </p>
<p>Cheers,<br />
Jakob</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dimitri</title>
		<link>http://www.jakusys.de/blog/2008/09/grails-and-liquibase-how-to-use/comment-page-1/#comment-76</link>
		<dc:creator>Dimitri</dc:creator>
		<pubDate>Thu, 09 Oct 2008 09:11:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.jakusys.de/blog/?p=313#comment-76</guid>
		<description>Is the db-diff command supposed to add diff&#039;s to changelog or do you just copy it from the std-out? Nice post well done!</description>
		<content:encoded><![CDATA[<p>Is the db-diff command supposed to add diff&#8217;s to changelog or do you just copy it from the std-out? Nice post well done!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: เกรลส์ หกสิบหก » Grails Podcast Episode 67</title>
		<link>http://www.jakusys.de/blog/2008/09/grails-and-liquibase-how-to-use/comment-page-1/#comment-50</link>
		<dc:creator>เกรลส์ หกสิบหก » Grails Podcast Episode 67</dc:creator>
		<pubDate>Mon, 29 Sep 2008 17:22:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.jakusys.de/blog/?p=313#comment-50</guid>
		<description>[...] 1. Grails Plugin ซึ่งประกอบไปด้วย - P6Spy Plugin สำหรับ monitor JDBC queries - Grails Debug Help Plugin - Grails Mail Plugin 0.4 Released - Grails Testing Plugin 0.2 Released - EasyB Grails Plugin - การใช้งาน Grails LiquiBase Plugin [...]</description>
		<content:encoded><![CDATA[<p>[...] 1. Grails Plugin ซึ่งประกอบไปด้วย &#8211; P6Spy Plugin สำหรับ monitor JDBC queries &#8211; Grails Debug Help Plugin &#8211; Grails Mail Plugin 0.4 Released &#8211; Grails Testing Plugin 0.2 Released &#8211; EasyB Grails Plugin &#8211; การใช้งาน Grails LiquiBase Plugin [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Groovy on Grails : Grails Podcast Episode 67: Newscast for September 27 2008 (Sven Haiges &#38; Glen Smith)</title>
		<link>http://www.jakusys.de/blog/2008/09/grails-and-liquibase-how-to-use/comment-page-1/#comment-48</link>
		<dc:creator>Groovy on Grails : Grails Podcast Episode 67: Newscast for September 27 2008 (Sven Haiges &#38; Glen Smith)</dc:creator>
		<pubDate>Sun, 28 Sep 2008 20:20:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.jakusys.de/blog/?p=313#comment-48</guid>
		<description>[...] Using the Grails LiquiBase Plugin Blog Post [...]</description>
		<content:encoded><![CDATA[<p>[...] Using the Grails LiquiBase Plugin Blog Post [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
