<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jon Rose's Blog &#187; Hibernate</title>
	<atom:link href="http://gorillajawn.com/wordpress/category/hibernate/feed/" rel="self" type="application/rss+xml" />
	<link>http://gorillajawn.com/wordpress</link>
	<description>Enterprise Software Consultant</description>
	<lastBuildDate>Mon, 14 Jun 2010 18:54:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Hibernate and Database Refactoring</title>
		<link>http://gorillajawn.com/wordpress/2008/06/24/hibernate-and-database-refactoring/</link>
		<comments>http://gorillajawn.com/wordpress/2008/06/24/hibernate-and-database-refactoring/#comments</comments>
		<pubDate>Tue, 24 Jun 2008 18:29:27 +0000</pubDate>
		<dc:creator>jonr</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://ectropic.com/wordpress/?p=46</guid>
		<description><![CDATA[I am on a project where we are having to refactor our database frequently for any number of reasons. Hibernate has paid huge dividends in this area, as virtually our entire database is mapped into POJO&#8217;s. The net effect is that we get strong typing for a majority of our database interactions (we primarily navigate [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal">I am on a project where we are having to refactor our database frequently for any number of reasons. Hibernate has paid huge dividends in this area, as virtually our entire database is mapped into POJO&#8217;s. The net effect is that we get strong typing for a majority of our database interactions (we primarily navigate getter/setters &amp; using Criteria queries), and thus refactoring is much-much easier. We do have a handful of SQL / HQL queries that have column / attribute names in strings &#8211; these are obviously much harder to refactor. Is there a another way for us to do update statements that modify a large number of rows, but still give us the strong typing we get by using our mapped POJO&#8217;s else where?</p>

<div class="sociable">
<span class="sociable_tagline">
<strong>Share and Enjoy:</strong>
	<span>These icons link to social bookmarking sites where readers can share and discover new web pages.</span>
</span>
<ul>
	<li><a href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fgorillajawn.com%2Fwordpress%2F2008%2F06%2F24%2Fhibernate-and-database-refactoring%2F&amp;title=Hibernate%20and%20Database%20Refactoring" title="DZone" onfocus="sociable_description_link(this, 'description')" rel="nofollow" target="_blank"><img src="http://gorillajawn.com/wordpress/wp-content/plugins/sociable-zyblog-edition/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a></li>
	<li><a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fgorillajawn.com%2Fwordpress%2F2008%2F06%2F24%2Fhibernate-and-database-refactoring%2F&amp;title=Hibernate%20and%20Database%20Refactoring" title="Digg" onfocus="sociable_description_link(this, 'bodytext')" rel="nofollow" target="_blank"><img src="http://gorillajawn.com/wordpress/wp-content/plugins/sociable-zyblog-edition/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a href="http://del.icio.us/post?url=http%3A%2F%2Fgorillajawn.com%2Fwordpress%2F2008%2F06%2F24%2Fhibernate-and-database-refactoring%2F&amp;title=Hibernate%20and%20Database%20Refactoring" title="del.icio.us" rel="nofollow" target="_blank"><img src="http://gorillajawn.com/wordpress/wp-content/plugins/sociable-zyblog-edition/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a href="http://reddit.com/submit?url=http%3A%2F%2Fgorillajawn.com%2Fwordpress%2F2008%2F06%2F24%2Fhibernate-and-database-refactoring%2F&amp;title=Hibernate%20and%20Database%20Refactoring" title="Reddit" rel="nofollow" target="_blank"><img src="http://gorillajawn.com/wordpress/wp-content/plugins/sociable-zyblog-edition/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fgorillajawn.com%2Fwordpress%2F2008%2F06%2F24%2Fhibernate-and-database-refactoring%2F" title="Facebook" rel="nofollow" target="_blank"><img src="http://gorillajawn.com/wordpress/wp-content/plugins/sociable-zyblog-edition/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fgorillajawn.com%2Fwordpress%2F2008%2F06%2F24%2Fhibernate-and-database-refactoring%2F&amp;title=Hibernate%20and%20Database%20Refactoring&amp;source=Jon+Rose%27s+Blog&amp;summary=EXCERPT" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://gorillajawn.com/wordpress/wp-content/plugins/sociable-zyblog-edition/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://gorillajawn.com/wordpress/2008/06/24/hibernate-and-database-refactoring/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Granite Data Services for Flex</title>
		<link>http://gorillajawn.com/wordpress/2008/02/05/granite-data-services-for-flex/</link>
		<comments>http://gorillajawn.com/wordpress/2008/02/05/granite-data-services-for-flex/#comments</comments>
		<pubDate>Tue, 05 Feb 2008 19:32:09 +0000</pubDate>
		<dc:creator>jonr</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[InfoQ.com]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[RIA]]></category>

		<guid isPermaLink="false">http://ectropic.com/wordpress/?p=21</guid>
		<description><![CDATA[I just posted an interview with Granite Data Service founder Franck Wolff. You can check it out on InfoQ.com at: http://www.infoq.com/news/2008/02/granite-data-services.

A few interesting items:
- I have used GDS a bit, but I didn’t realize that there Hibernate support allow for using lazying loading in the Flex clients. This sounds very powerful and I am excited [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal">I just posted an interview with Granite Data Service founder Franck Wolff.<span> </span>You can check it out on InfoQ.com at: <a href="http://www.infoq.com/news/2008/02/granite-data-services">http://www.infoq.com/news/2008/02/granite-data-services</a>.</p>
<p class="MsoNormal">
<p class="MsoNormal">A few interesting items:</p>
<p class="MsoNormal">- I have used GDS a bit, but I didn’t realize that there Hibernate support allow for using lazying loading in the Flex clients.<span> </span>This sounds very powerful and I am excited to check it out.</p>
<p class="MsoNormal">- He had some interesting thoughts on the possible negative impacts RIA might have and, how GDS can help address them:</p>
<blockquote><p>I think that with the new RIA developments we face the risk of going back fifteen years ago from an architectural point of view, when the client/server paradigm was dominant. This trend could bring us to stateful clients interacting with stateless servers (i.e. a simple database front-end). While this architecture may be possible and viable for small Flex applications, I think this is not the best choice for large applications.</p></blockquote>
<p class="MsoNormal">Thanks Franck for the interview and for the significant open source contribution.</p>

<div class="sociable">
<span class="sociable_tagline">
<strong>Share and Enjoy:</strong>
	<span>These icons link to social bookmarking sites where readers can share and discover new web pages.</span>
</span>
<ul>
	<li><a href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fgorillajawn.com%2Fwordpress%2F2008%2F02%2F05%2Fgranite-data-services-for-flex%2F&amp;title=Granite%20Data%20Services%20for%20Flex" title="DZone" onfocus="sociable_description_link(this, 'description')" rel="nofollow" target="_blank"><img src="http://gorillajawn.com/wordpress/wp-content/plugins/sociable-zyblog-edition/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a></li>
	<li><a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fgorillajawn.com%2Fwordpress%2F2008%2F02%2F05%2Fgranite-data-services-for-flex%2F&amp;title=Granite%20Data%20Services%20for%20Flex" title="Digg" onfocus="sociable_description_link(this, 'bodytext')" rel="nofollow" target="_blank"><img src="http://gorillajawn.com/wordpress/wp-content/plugins/sociable-zyblog-edition/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a href="http://del.icio.us/post?url=http%3A%2F%2Fgorillajawn.com%2Fwordpress%2F2008%2F02%2F05%2Fgranite-data-services-for-flex%2F&amp;title=Granite%20Data%20Services%20for%20Flex" title="del.icio.us" rel="nofollow" target="_blank"><img src="http://gorillajawn.com/wordpress/wp-content/plugins/sociable-zyblog-edition/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a href="http://reddit.com/submit?url=http%3A%2F%2Fgorillajawn.com%2Fwordpress%2F2008%2F02%2F05%2Fgranite-data-services-for-flex%2F&amp;title=Granite%20Data%20Services%20for%20Flex" title="Reddit" rel="nofollow" target="_blank"><img src="http://gorillajawn.com/wordpress/wp-content/plugins/sociable-zyblog-edition/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fgorillajawn.com%2Fwordpress%2F2008%2F02%2F05%2Fgranite-data-services-for-flex%2F" title="Facebook" rel="nofollow" target="_blank"><img src="http://gorillajawn.com/wordpress/wp-content/plugins/sociable-zyblog-edition/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fgorillajawn.com%2Fwordpress%2F2008%2F02%2F05%2Fgranite-data-services-for-flex%2F&amp;title=Granite%20Data%20Services%20for%20Flex&amp;source=Jon+Rose%27s+Blog&amp;summary=EXCERPT" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://gorillajawn.com/wordpress/wp-content/plugins/sociable-zyblog-edition/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://gorillajawn.com/wordpress/2008/02/05/granite-data-services-for-flex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hibernate 3 Annotations &amp; Ant</title>
		<link>http://gorillajawn.com/wordpress/2007/07/31/hibernate-3-annotations-ant/</link>
		<comments>http://gorillajawn.com/wordpress/2007/07/31/hibernate-3-annotations-ant/#comments</comments>
		<pubDate>Tue, 31 Jul 2007 18:16:51 +0000</pubDate>
		<dc:creator>jonr</dc:creator>
				<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://ectropic.com/wordpress/?p=10</guid>
		<description><![CDATA[I am a big fan of using Ant to do routine tasks.  I just spent a bit of time figuring out how to get Hibernate 3/Ant to generate the database scripts when using annotations.  The Hibernate 2 way with the SchemaExportTask doesn’t appear to work.  Hopefully my notes below will save you [...]]]></description>
			<content:encoded><![CDATA[<p>I am a big fan of using Ant to do routine tasks.  I just spent a bit of time figuring out how to get Hibernate 3/Ant to generate the database scripts when using annotations.  The Hibernate 2 way with the SchemaExportTask doesn’t appear to work.  Hopefully my notes below will save you a bit of time if you are trying to do the same.</p>
<p><u>The Hibernate 2 with hbm.xml file way:</u></p>
<blockquote><p> &lt;taskdef name=&#8221;schemaexport&#8221;<br />
classname=&#8221;net.sf.hibernate.tool.hbm2ddl.SchemaExportTask&#8221;<br />
classpathref=&#8221;project.class.path&#8221; /&gt;</p></blockquote>
<blockquote><p> &lt;schemaexport<br />
properties=&#8221;${resources.db}/database.properties&#8221;<br />
quiet=&#8221;no&#8221;<br />
text=&#8221;no&#8221;<br />
drop=&#8221;yes&#8221;<br />
delimiter=&#8221;;&#8221;<br />
output=&#8221;${resources.db}/drop-tables.sql&#8221;&gt;<br />
&lt;fileset dir=&#8221;${hibernatedoclet.dir}&#8221; includes=&#8221;**/*.hbm.xml&#8221;/&gt;<br />
&lt;/schemaexport&gt;</p></blockquote>
<p><u>The Hibernate 3 with Annotations way:</u><br />
-    Note you need to download the hibernate-tools.jar</p>
<blockquote><p> &lt;taskdef name=&#8221;hibernatetool&#8221;<br />
classname=&#8221;org.hibernate.tool.ant.HibernateToolTask&#8221;<br />
classpathref=&#8221;hibernate.export.classpath&#8221; /&gt;</p></blockquote>
<blockquote><p> &lt;hibernatetool destdir=&#8221;${build.db.dir}&#8221;&gt;<br />
&lt;annotationconfiguration configurationfile=&#8221;hibernate.cfg.xml&#8221;/&gt;<br />
&lt;hbm2ddl export=&#8221;false&#8221;<br />
create=&#8221;true&#8221;<br />
delimiter=&#8221;;&#8221;<br />
format=&#8221;true&#8221;<br />
outputfilename=&#8221;create-tables.sql&#8221;/&gt;<br />
&lt;/hibernatetool&gt;</p></blockquote>

<div class="sociable">
<span class="sociable_tagline">
<strong>Share and Enjoy:</strong>
	<span>These icons link to social bookmarking sites where readers can share and discover new web pages.</span>
</span>
<ul>
	<li><a href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fgorillajawn.com%2Fwordpress%2F2007%2F07%2F31%2Fhibernate-3-annotations-ant%2F&amp;title=Hibernate%203%20Annotations%20%26%20Ant" title="DZone" onfocus="sociable_description_link(this, 'description')" rel="nofollow" target="_blank"><img src="http://gorillajawn.com/wordpress/wp-content/plugins/sociable-zyblog-edition/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a></li>
	<li><a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fgorillajawn.com%2Fwordpress%2F2007%2F07%2F31%2Fhibernate-3-annotations-ant%2F&amp;title=Hibernate%203%20Annotations%20%26%20Ant" title="Digg" onfocus="sociable_description_link(this, 'bodytext')" rel="nofollow" target="_blank"><img src="http://gorillajawn.com/wordpress/wp-content/plugins/sociable-zyblog-edition/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a href="http://del.icio.us/post?url=http%3A%2F%2Fgorillajawn.com%2Fwordpress%2F2007%2F07%2F31%2Fhibernate-3-annotations-ant%2F&amp;title=Hibernate%203%20Annotations%20%26%20Ant" title="del.icio.us" rel="nofollow" target="_blank"><img src="http://gorillajawn.com/wordpress/wp-content/plugins/sociable-zyblog-edition/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a href="http://reddit.com/submit?url=http%3A%2F%2Fgorillajawn.com%2Fwordpress%2F2007%2F07%2F31%2Fhibernate-3-annotations-ant%2F&amp;title=Hibernate%203%20Annotations%20%26%20Ant" title="Reddit" rel="nofollow" target="_blank"><img src="http://gorillajawn.com/wordpress/wp-content/plugins/sociable-zyblog-edition/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fgorillajawn.com%2Fwordpress%2F2007%2F07%2F31%2Fhibernate-3-annotations-ant%2F" title="Facebook" rel="nofollow" target="_blank"><img src="http://gorillajawn.com/wordpress/wp-content/plugins/sociable-zyblog-edition/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fgorillajawn.com%2Fwordpress%2F2007%2F07%2F31%2Fhibernate-3-annotations-ant%2F&amp;title=Hibernate%203%20Annotations%20%26%20Ant&amp;source=Jon+Rose%27s+Blog&amp;summary=EXCERPT" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://gorillajawn.com/wordpress/wp-content/plugins/sociable-zyblog-edition/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://gorillajawn.com/wordpress/2007/07/31/hibernate-3-annotations-ant/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
