<?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: Java migrations tools</title>
	<atom:link href="http://blog.f12.no/wp/2009/07/08/java-migrations-tools/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.f12.no/wp/2009/07/08/java-migrations-tools/</link>
	<description>Running around in the maze</description>
	<lastBuildDate>Sun, 05 Sep 2010 08:55:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Anders</title>
		<link>http://blog.f12.no/wp/2009/07/08/java-migrations-tools/comment-page-1/#comment-78683</link>
		<dc:creator>Anders</dc:creator>
		<pubDate>Mon, 30 Nov 2009 07:21:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.f12.no/wp/?p=977#comment-78683</guid>
		<description>Found a new tool at http://code.google.com/p/bering/ . First look, it looks a bit like DBDeploy.

Also check out this blog: http://exortech.com/blog/2009/02/01/weekly-release-blog-11-zero-downtime-database-deployment/

If using migrations and always keeping backwards compatibility for a while, you can actually test a new version of the application in production before &quot;committing&quot; to it. Intriguing. :)</description>
		<content:encoded><![CDATA[<p>Found a new tool at <a href="http://code.google.com/p/bering/" rel="nofollow">http://code.google.com/p/bering/</a> . First look, it looks a bit like DBDeploy.</p>
<p>Also check out this blog: <a href="http://exortech.com/blog/2009/02/01/weekly-release-blog-11-zero-downtime-database-deployment/" rel="nofollow">http://exortech.com/blog/2009/02/01/weekly-release-blog-11-zero-downtime-database-deployment/</a></p>
<p>If using migrations and always keeping backwards compatibility for a while, you can actually test a new version of the application in production before &#8220;committing&#8221; to it. Intriguing. <img src='http://blog.f12.no/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anders</title>
		<link>http://blog.f12.no/wp/2009/07/08/java-migrations-tools/comment-page-1/#comment-78680</link>
		<dc:creator>Anders</dc:creator>
		<pubDate>Wed, 25 Nov 2009 16:26:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.f12.no/wp/?p=977#comment-78680</guid>
		<description>For Norwegian speaking people check out the following address for some additional views and some good discussion.

http://johannesbrodwall.com/2009/11/24/tips-for-databasemigreringer/</description>
		<content:encoded><![CDATA[<p>For Norwegian speaking people check out the following address for some additional views and some good discussion.</p>
<p><a href="http://johannesbrodwall.com/2009/11/24/tips-for-databasemigreringer/" rel="nofollow">http://johannesbrodwall.com/2009/11/24/tips-for-databasemigreringer/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eirik Rosvold Larsen</title>
		<link>http://blog.f12.no/wp/2009/07/08/java-migrations-tools/comment-page-1/#comment-78675</link>
		<dc:creator>Eirik Rosvold Larsen</dc:creator>
		<pubDate>Mon, 23 Nov 2009 12:31:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.f12.no/wp/?p=977#comment-78675</guid>
		<description>Unfortunately they&#039;re not in a maven repo AFAIK, and also there might be licensing issues. sqldeveloper 1.5 came with an undocumented bat/sh script that does the job, it&#039;s called &quot;sqlcli&quot;</description>
		<content:encoded><![CDATA[<p>Unfortunately they&#8217;re not in a maven repo AFAIK, and also there might be licensing issues. sqldeveloper 1.5 came with an undocumented bat/sh script that does the job, it&#8217;s called &#8220;sqlcli&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anders</title>
		<link>http://blog.f12.no/wp/2009/07/08/java-migrations-tools/comment-page-1/#comment-78674</link>
		<dc:creator>Anders</dc:creator>
		<pubDate>Mon, 23 Nov 2009 09:30:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.f12.no/wp/?p=977#comment-78674</guid>
		<description>Cool. That would be a good option for a new Ant task or the deployer. I guess they&#039;re not available in any Maven repo though. :(</description>
		<content:encoded><![CDATA[<p>Cool. That would be a good option for a new Ant task or the deployer. I guess they&#8217;re not available in any Maven repo though. <img src='http://blog.f12.no/wp/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eirik Rosvold Larsen</title>
		<link>http://blog.f12.no/wp/2009/07/08/java-migrations-tools/comment-page-1/#comment-78673</link>
		<dc:creator>Eirik Rosvold Larsen</dc:creator>
		<pubDate>Mon, 23 Nov 2009 09:25:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.f12.no/wp/?p=977#comment-78673</guid>
		<description>&gt; When it comes to Sqlplus vs. Ant it was just a question of which operations are available through JDBC. 

You can also get most sqlplus operations (such as PL/SQL stored procedures) available through Java with the sqldeveloper jars which comes bundled with sqldeveloper. The small differences between sqlplus and sqldeveloper is also well documented on the oracle web site.</description>
		<content:encoded><![CDATA[<p>&gt; When it comes to Sqlplus vs. Ant it was just a question of which operations are available through JDBC. </p>
<p>You can also get most sqlplus operations (such as PL/SQL stored procedures) available through Java with the sqldeveloper jars which comes bundled with sqldeveloper. The small differences between sqlplus and sqldeveloper is also well documented on the oracle web site.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anders</title>
		<link>http://blog.f12.no/wp/2009/07/08/java-migrations-tools/comment-page-1/#comment-78666</link>
		<dc:creator>Anders</dc:creator>
		<pubDate>Mon, 16 Nov 2009 13:28:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.f12.no/wp/?p=977#comment-78666</guid>
		<description>My reason earlier for not using Ant from the command line was to avoid having the developers as well as host machines install it. Maven was already installed. But that&#039;s really no biggie.

I think the stuff you are saying makes sense. Just a couple of things that would make everything ideal:
* All artifacts for deploy to anything else than local dev is available in central Maven repo. Even with cargo plugin.
* Have separate tasks that lets you create/copy/dump databases easily for everyone.

I think you probably have most of it covered, and as I say it would just make everything ideal. :)

When it comes to Sqlplus vs. Ant it was just a question of which operations are available through JDBC. When you&#039;re doing some more advanced DB refactorings you might need some of the Sqlplus features. But there&#039;s really no problem using Ant sql until you need the sqlplus stuff. Just make sure none of your developers grinds to a halt because they don&#039;t know what to do when they hit the limit of JDBC operations. :)</description>
		<content:encoded><![CDATA[<p>My reason earlier for not using Ant from the command line was to avoid having the developers as well as host machines install it. Maven was already installed. But that&#8217;s really no biggie.</p>
<p>I think the stuff you are saying makes sense. Just a couple of things that would make everything ideal:<br />
* All artifacts for deploy to anything else than local dev is available in central Maven repo. Even with cargo plugin.<br />
* Have separate tasks that lets you create/copy/dump databases easily for everyone.</p>
<p>I think you probably have most of it covered, and as I say it would just make everything ideal. <img src='http://blog.f12.no/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>When it comes to Sqlplus vs. Ant it was just a question of which operations are available through JDBC. When you&#8217;re doing some more advanced DB refactorings you might need some of the Sqlplus features. But there&#8217;s really no problem using Ant sql until you need the sqlplus stuff. Just make sure none of your developers grinds to a halt because they don&#8217;t know what to do when they hit the limit of JDBC operations. <img src='http://blog.f12.no/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Viggo</title>
		<link>http://blog.f12.no/wp/2009/07/08/java-migrations-tools/comment-page-1/#comment-78665</link>
		<dc:creator>Viggo</dc:creator>
		<pubDate>Mon, 16 Nov 2009 13:18:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.f12.no/wp/?p=977#comment-78665</guid>
		<description>I&#039;m thinking about the following approach for solving my db-related tasks:
1. In dev-env use c5-db-migration to create migration scripts and to reset/create and migrate a database by utilizing the maven goals.
2. In test/stage/prod/etc run the migration scripts using Ant. The migration scripts will be bundled with the installer which is made by the maven-assembly-plugin.

What do you think? This will give the developer the same tool (=Maven) for 
building code (maven-compile-plugin, maven-war-plugin, maven-ear-plugin etc)
database-related tasks (c5-db-migration)
deploying to appserver (maven-cargo-plugin)

while reusing the same migration scripts in all other environments.

Question: You&#039;ve said in another post that you preferred Sqlplus over Ant SQL tasks. Could you tell me more about the reasons for this? Does SqlPlus/Ant SQL tasks have a way to specify the order to run the migration scripts created by c5-db-migration?</description>
		<content:encoded><![CDATA[<p>I&#8217;m thinking about the following approach for solving my db-related tasks:<br />
1. In dev-env use c5-db-migration to create migration scripts and to reset/create and migrate a database by utilizing the maven goals.<br />
2. In test/stage/prod/etc run the migration scripts using Ant. The migration scripts will be bundled with the installer which is made by the maven-assembly-plugin.</p>
<p>What do you think? This will give the developer the same tool (=Maven) for<br />
building code (maven-compile-plugin, maven-war-plugin, maven-ear-plugin etc)<br />
database-related tasks (c5-db-migration)<br />
deploying to appserver (maven-cargo-plugin)</p>
<p>while reusing the same migration scripts in all other environments.</p>
<p>Question: You&#8217;ve said in another post that you preferred Sqlplus over Ant SQL tasks. Could you tell me more about the reasons for this? Does SqlPlus/Ant SQL tasks have a way to specify the order to run the migration scripts created by c5-db-migration?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anders</title>
		<link>http://blog.f12.no/wp/2009/07/08/java-migrations-tools/comment-page-1/#comment-78664</link>
		<dc:creator>Anders</dc:creator>
		<pubDate>Mon, 16 Nov 2009 11:50:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.f12.no/wp/?p=977#comment-78664</guid>
		<description>Doesn&#039;t look like it supports Postgres currently, but Ferris (http://tfnico.blogspot.com/) has created a patch a little while back: http://code.google.com/p/dbdeploy/issues/detail?id=26 . It&#039;s tagged for inclusion in 3.0M2 .</description>
		<content:encoded><![CDATA[<p>Doesn&#8217;t look like it supports Postgres currently, but Ferris (<a href="http://tfnico.blogspot.com/" rel="nofollow">http://tfnico.blogspot.com/</a>) has created a patch a little while back: <a href="http://code.google.com/p/dbdeploy/issues/detail?id=26" rel="nofollow">http://code.google.com/p/dbdeploy/issues/detail?id=26</a> . It&#8217;s tagged for inclusion in 3.0M2 .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Viggo</title>
		<link>http://blog.f12.no/wp/2009/07/08/java-migrations-tools/comment-page-1/#comment-78663</link>
		<dc:creator>Viggo</dc:creator>
		<pubDate>Mon, 16 Nov 2009 11:46:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.f12.no/wp/?p=977#comment-78663</guid>
		<description>Det ser ikke ut til at DBDeploy støtter postgresql, kan du bekrefte det?</description>
		<content:encoded><![CDATA[<p>Det ser ikke ut til at DBDeploy støtter postgresql, kan du bekrefte det?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anders</title>
		<link>http://blog.f12.no/wp/2009/07/08/java-migrations-tools/comment-page-1/#comment-78662</link>
		<dc:creator>Anders</dc:creator>
		<pubDate>Mon, 16 Nov 2009 11:38:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.f12.no/wp/?p=977#comment-78662</guid>
		<description>If you&#039;re looking for both Ant and Maven support I guess DBDeploy would be the easiest. On the other hand, writing Ant tasks or Maven plugins isn&#039;t that hard. So if any of the other tools has a decent API, writing support for them shouldn&#039;t be very hard. I&#039;d choose the ones that match your needs best and figure out the technical problems after that.

Well, agile-deploy works by using the same Maven artifact from the Maven repository for all environments, so yeah it has to be env neutral. Currently it only supports ZIPed self contained apps. Contributions are very welcome. :)

One last option you could consider is running the DB upgrade on application startup, which could be a good solution for many.</description>
		<content:encoded><![CDATA[<p>If you&#8217;re looking for both Ant and Maven support I guess DBDeploy would be the easiest. On the other hand, writing Ant tasks or Maven plugins isn&#8217;t that hard. So if any of the other tools has a decent API, writing support for them shouldn&#8217;t be very hard. I&#8217;d choose the ones that match your needs best and figure out the technical problems after that.</p>
<p>Well, agile-deploy works by using the same Maven artifact from the Maven repository for all environments, so yeah it has to be env neutral. Currently it only supports ZIPed self contained apps. Contributions are very welcome. <img src='http://blog.f12.no/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>One last option you could consider is running the DB upgrade on application startup, which could be a good solution for many.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
