<?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"
	>
<channel>
	<title>Comments on: LiquiBase Core 1.5.0 Released</title>
	<atom:link href="http://blog.liquibase.org/2008/01/liquibase-core-150-released.html/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.liquibase.org/2008/01/liquibase-core-150-released.html</link>
	<description>Database Change Management: The Blog</description>
	<pubDate>Fri, 21 Nov 2008 22:58:21 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Nathan Voxland</title>
		<link>http://blog.liquibase.org/2008/01/liquibase-core-150-released.html#comment-13</link>
		<dc:creator>Nathan Voxland</dc:creator>
		<pubDate>Wed, 30 Jan 2008 16:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://nvoxland.wordpress.com/2008/01/29/liquibase-core-150-released/#comment-13</guid>
		<description>Sorry, I missed that part.  &lt;br/&gt;&lt;br/&gt;The easiest way to get the correct database object is:&lt;br/&gt;&lt;br/&gt;Database database = DatabaseFactory.getInstance().findCorrectDatabaseImplementation(connection);</description>
		<content:encoded><![CDATA[<p>Sorry, I missed that part.  </p>
<p>The easiest way to get the correct database object is:</p>
<p>Database database = DatabaseFactory.getInstance().findCorrectDatabaseImplementation(connection);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Duke</title>
		<link>http://blog.liquibase.org/2008/01/liquibase-core-150-released.html#comment-12</link>
		<dc:creator>Duke</dc:creator>
		<pubDate>Wed, 30 Jan 2008 16:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://nvoxland.wordpress.com/2008/01/29/liquibase-core-150-released/#comment-12</guid>
		<description>Yep. Thanks for that. There are certainly less errors, however, a 'Database' parameter seems to be necessary for the Liquibase constructor. From the JavaDocs I see that a Database object can be constructed with one of the subclasses of that interface (e.g. MSSQLDatabase) to which I pass a connection. I will attempt that. If there is anything I'm missing, please do not hesitate to rectify.&lt;br/&gt;Thanks for you continued excellent assistance.&lt;br/&gt;Duke.</description>
		<content:encoded><![CDATA[<p>Yep. Thanks for that. There are certainly less errors, however, a &#8216;Database&#8217; parameter seems to be necessary for the Liquibase constructor. From the JavaDocs I see that a Database object can be constructed with one of the subclasses of that interface (e.g. MSSQLDatabase) to which I pass a connection. I will attempt that. If there is anything I&#8217;m missing, please do not hesitate to rectify.<br />Thanks for you continued excellent assistance.<br />Duke.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan Voxland</title>
		<link>http://blog.liquibase.org/2008/01/liquibase-core-150-released.html#comment-11</link>
		<dc:creator>Nathan Voxland</dc:creator>
		<pubDate>Wed, 30 Jan 2008 15:31:00 +0000</pubDate>
		<guid isPermaLink="false">http://nvoxland.wordpress.com/2008/01/29/liquibase-core-150-released/#comment-11</guid>
		<description>We did some fairly major refactoring, especially around the Migrator and XML parser classes.  &lt;br/&gt;&lt;br/&gt;The liquibase.migrator.Migrator class has been moved to liquibase.Liquibase as it is now mainly a facade around the entire LiquiBase engine, rather than just for migrating the database.&lt;br/&gt;&lt;br/&gt;The interface to it has also been cleaned up considerably, your code should now be something like this:&lt;br/&gt;&lt;br/&gt;try&lt;br/&gt;{&lt;br/&gt;Class.forName(jdbcDBdriver);&lt;br/&gt;Connection connection =&lt;br/&gt;DriverManager.getConnection(&lt;br/&gt;dbUrl,&lt;br/&gt;txtfldUser.getText(),&lt;br/&gt;new String(&lt;br/&gt;passwordField.getPassword()));&lt;br/&gt;&lt;br/&gt;Liquibase liquibase =&lt;br/&gt;new Liquibase(xmlFileName,&lt;br/&gt;new ClassLoaderFileOpener());&lt;br/&gt;liquibase.update(null);&lt;br/&gt;&lt;br/&gt;}&lt;br/&gt;catch (Exception e)&lt;br/&gt;{&lt;br/&gt;System.out.println(&lt;br/&gt;e.getMessage());&lt;br/&gt;}&lt;br/&gt;&lt;br/&gt;Let me know if you have any troubles.</description>
		<content:encoded><![CDATA[<p>We did some fairly major refactoring, especially around the Migrator and XML parser classes.  </p>
<p>The liquibase.migrator.Migrator class has been moved to liquibase.Liquibase as it is now mainly a facade around the entire LiquiBase engine, rather than just for migrating the database.</p>
<p>The interface to it has also been cleaned up considerably, your code should now be something like this:</p>
<p>try<br />{<br />Class.forName(jdbcDBdriver);<br />Connection connection =<br />DriverManager.getConnection(<br />dbUrl,<br />txtfldUser.getText(),<br />new String(<br />passwordField.getPassword()));</p>
<p>Liquibase liquibase =<br />new Liquibase(xmlFileName,<br />new ClassLoaderFileOpener());<br />liquibase.update(null);</p>
<p>}<br />catch (Exception e)<br />{<br />System.out.println(<br />e.getMessage());<br />}</p>
<p>Let me know if you have any troubles.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Duke</title>
		<link>http://blog.liquibase.org/2008/01/liquibase-core-150-released.html#comment-10</link>
		<dc:creator>Duke</dc:creator>
		<pubDate>Wed, 30 Jan 2008 14:30:00 +0000</pubDate>
		<guid isPermaLink="false">http://nvoxland.wordpress.com/2008/01/29/liquibase-core-150-released/#comment-10</guid>
		<description>Hi there Nathan. I've downloaded the Liquibase 1.5.0 library and have also included it in my current project as I've been expecting some of the bug-fixes since 1.4.1. I used to be able to execute the following Java code snippet, but now that doesn't run any more. I have not found any documentation yet, but I have realised that the Migrator class no longer exists. Is that correct?&lt;br/&gt;Anyway, here's the code that won't run. Any ideas?&lt;br/&gt;&lt;br/&gt;try&lt;br/&gt;{&lt;br/&gt; Class.forName(jdbcDBdriver);&lt;br/&gt; Connection connection =&lt;br/&gt;  DriverManager.getConnection(&lt;br/&gt;   dbUrl,&lt;br/&gt;   txtfldUser.getText(),&lt;br/&gt;   new String(&lt;br/&gt;    passwordField.getPassword()));&lt;br/&gt;&lt;br/&gt; Migrator migrator =&lt;br/&gt;  new Migrator(xmlFileName,&lt;br/&gt;   new ClassLoaderFileOpener());&lt;br/&gt; migrator.init(connection);&lt;br/&gt; migrator.setMode(&lt;br/&gt;  Migrator.Mode.EXECUTE_MODE);&lt;br/&gt; migrator.migrate();&lt;br/&gt;&lt;br/&gt;}&lt;br/&gt;catch (Exception e)&lt;br/&gt;{&lt;br/&gt; System.out.println(&lt;br/&gt;  e.getMessage());&lt;br/&gt;}</description>
		<content:encoded><![CDATA[<p>Hi there Nathan. I&#8217;ve downloaded the Liquibase 1.5.0 library and have also included it in my current project as I&#8217;ve been expecting some of the bug-fixes since 1.4.1. I used to be able to execute the following Java code snippet, but now that doesn&#8217;t run any more. I have not found any documentation yet, but I have realised that the Migrator class no longer exists. Is that correct?<br />Anyway, here&#8217;s the code that won&#8217;t run. Any ideas?</p>
<p>try<br />{<br /> Class.forName(jdbcDBdriver);<br /> Connection connection =<br />  DriverManager.getConnection(<br />   dbUrl,<br />   txtfldUser.getText(),<br />   new String(<br />    passwordField.getPassword()));</p>
<p> Migrator migrator =<br />  new Migrator(xmlFileName,<br />   new ClassLoaderFileOpener());<br /> migrator.init(connection);<br /> migrator.setMode(<br />  Migrator.Mode.EXECUTE_MODE);<br /> migrator.migrate();</p>
<p>}<br />catch (Exception e)<br />{<br /> System.out.println(<br />  e.getMessage());<br />}</p>
]]></content:encoded>
	</item>
</channel>
</rss>
