<?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: Unit Testing Hibernate Code With Derby</title>
	<atom:link href="http://indiwiz.com/2009/01/05/unit-testing-hibernate-code-with-derby/feed/" rel="self" type="application/rss+xml" />
	<link>http://indiwiz.com/2009/01/05/unit-testing-hibernate-code-with-derby/</link>
	<description>Subhash&#039;s Tech Log</description>
	<lastBuildDate>Tue, 27 Jul 2010 14:01:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: chas66</title>
		<link>http://indiwiz.com/2009/01/05/unit-testing-hibernate-code-with-derby/comment-page-1/#comment-26</link>
		<dc:creator>chas66</dc:creator>
		<pubDate>Sun, 10 May 2009 01:20:11 +0000</pubDate>
		<guid isPermaLink="false">http://indiwiz.com/?p=138#comment-26</guid>
		<description>Hi,
I&#039;m not sure what kind of testing you&#039;re talking about, but you may want to check out the unitils project at http://www.unitils.org/summary.html .  Among other things using it enables easy setup and teardown of databases for testing.  On a similar note, another project I&#039;ve recently discovered and found very useful is Liquibase at http://www.liquibase.org/  This gives robust change managment of databases schemas etc rather than relying on Hibernate hbm2ddl.auto, which does not help with versioning or upgrades of the persistence layer.
Cheers!
Chas66</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I&#8217;m not sure what kind of testing you&#8217;re talking about, but you may want to check out the unitils project at <a href="http://www.unitils.org/summary.html" rel="nofollow">http://www.unitils.org/summary.html</a> .  Among other things using it enables easy setup and teardown of databases for testing.  On a similar note, another project I&#8217;ve recently discovered and found very useful is Liquibase at <a href="http://www.liquibase.org/" rel="nofollow">http://www.liquibase.org/</a>  This gives robust change managment of databases schemas etc rather than relying on Hibernate hbm2ddl.auto, which does not help with versioning or upgrades of the persistence layer.<br />
Cheers!<br />
Chas66</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: subwiz</title>
		<link>http://indiwiz.com/2009/01/05/unit-testing-hibernate-code-with-derby/comment-page-1/#comment-24</link>
		<dc:creator>subwiz</dc:creator>
		<pubDate>Sat, 24 Jan 2009 14:27:06 +0000</pubDate>
		<guid isPermaLink="false">http://indiwiz.com/?p=138#comment-24</guid>
		<description>We did not face this as limitation in our test code. Our actual code was on Oracle, and the test in Derby. The .hbm.xml had the following for the primary key field in Oracle:

&lt;generator class=&quot;sequence&quot;&gt;
    &lt;param name=&quot;sequence&quot;&gt;sequence_name&lt;/param&gt;
&lt;/generator&gt;

and this for Derby:

&lt;generator class=&quot;identity&quot;/&gt;</description>
		<content:encoded><![CDATA[<p>We did not face this as limitation in our test code. Our actual code was on Oracle, and the test in Derby. The .hbm.xml had the following for the primary key field in Oracle:</p>
<p>&lt;generator class=&quot;sequence&quot;&gt;<br />
    &lt;param name=&quot;sequence&quot;&gt;sequence_name&lt;/param&gt;<br />
&lt;/generator&gt;</p>
<p>and this for Derby:</p>
<p>&lt;generator class=&quot;identity&quot;/&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Binil Thomas</title>
		<link>http://indiwiz.com/2009/01/05/unit-testing-hibernate-code-with-derby/comment-page-1/#comment-25</link>
		<dc:creator>Binil Thomas</dc:creator>
		<pubDate>Tue, 20 Jan 2009 04:02:47 +0000</pubDate>
		<guid isPermaLink="false">http://indiwiz.com/?p=138#comment-25</guid>
		<description>The most disappointing thing about Derby though is the lack of sequences. See https://issues.apache.org/jira/browse/DERBY-712.</description>
		<content:encoded><![CDATA[<p>The most disappointing thing about Derby though is the lack of sequences. See <a href="https://issues.apache.org/jira/browse/DERBY-712" rel="nofollow">https://issues.apache.org/jira/browse/DERBY-712</a>.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
