<?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>Software is too expensive to build cheaply... &#187; Hibernate</title>
	<atom:link href="http://twasink.net/blog/category/software_development/java/hibernate/feed/" rel="self" type="application/rss+xml" />
	<link>http://twasink.net/blog</link>
	<description>Robert's Rambling Ruminations Regarding Reality</description>
	<lastBuildDate>Fri, 16 Jul 2010 06:57:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Hibernate Query (Lack Of) Caching</title>
		<link>http://twasink.net/blog/2008/02/hibernate-query-lack-of-caching/</link>
		<comments>http://twasink.net/blog/2008/02/hibernate-query-lack-of-caching/#comments</comments>
		<pubDate>Tue, 12 Feb 2008 21:29:10 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://twasink.net/wp/?p=214</guid>
		<description><![CDATA[Hibernate has long had a feature known as &#8220;query caches&#8221; &#8211; you can run a query, cache the result, and thus avoid running it repeatedly. The only problem is that it doesn&#8217;t do what you think it does.

Here&#8217;s an example of what I mean by a query cache:
[source='java']
List blogs = sess.createQuery(&#8221;from Blog blog where blog.blogger [...]]]></description>
		<wfw:commentRss>http://twasink.net/blog/2008/02/hibernate-query-lack-of-caching/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Equality for Hibernate</title>
		<link>http://twasink.net/blog/2006/01/equality-for-hibernate/</link>
		<comments>http://twasink.net/blog/2006/01/equality-for-hibernate/#comments</comments>
		<pubDate>Tue, 03 Jan 2006 18:19:26 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Hibernate]]></category>

		<guid isPermaLink="false">http://twasink.net/wp/?p=183</guid>
		<description><![CDATA[
]]></description>
		<wfw:commentRss>http://twasink.net/blog/2006/01/equality-for-hibernate/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Hibernate, proxies, and programming to interfaces</title>
		<link>http://twasink.net/blog/2005/11/hibernate-proxies-and-programming-to-interfaces/</link>
		<comments>http://twasink.net/blog/2005/11/hibernate-proxies-and-programming-to-interfaces/#comments</comments>
		<pubDate>Sat, 05 Nov 2005 09:04:56 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://twasink.net/wp/?p=179</guid>
		<description><![CDATA[
]]></description>
		<wfw:commentRss>http://twasink.net/blog/2005/11/hibernate-proxies-and-programming-to-interfaces/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hibernate Queries, caching, and mutable criteria</title>
		<link>http://twasink.net/blog/2005/11/hibernate-queries-caching-and-mutable-criteria/</link>
		<comments>http://twasink.net/blog/2005/11/hibernate-queries-caching-and-mutable-criteria/#comments</comments>
		<pubDate>Sat, 05 Nov 2005 00:57:45 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://twasink.net/wp/?p=178</guid>
		<description><![CDATA[
]]></description>
		<wfw:commentRss>http://twasink.net/blog/2005/11/hibernate-queries-caching-and-mutable-criteria/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>New article category &#8211; Hibernate</title>
		<link>http://twasink.net/blog/2005/11/new-article-category-hibernate/</link>
		<comments>http://twasink.net/blog/2005/11/new-article-category-hibernate/#comments</comments>
		<pubDate>Sat, 05 Nov 2005 00:41:19 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://twasink.net/wp/?p=177</guid>
		<description><![CDATA[
]]></description>
		<wfw:commentRss>http://twasink.net/blog/2005/11/new-article-category-hibernate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ehcache dissected</title>
		<link>http://twasink.net/blog/2005/10/ehcache-dissected/</link>
		<comments>http://twasink.net/blog/2005/10/ehcache-dissected/#comments</comments>
		<pubDate>Thu, 20 Oct 2005 23:20:00 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[anti-pattern]]></category>
		<category><![CDATA[coding standards]]></category>
		<category><![CDATA[ehcache]]></category>
		<category><![CDATA[patterns]]></category>

		<guid isPermaLink="false">http://twasink.net/wp/?p=174</guid>
		<description><![CDATA[At work, we are a heavy user of ehcache. Well, we would be&#8230; it was initially written at Wotif, to overcome problems with the Jakarta JCS project. I recently had to sit down and figure out exactly how it works, and thought I&#8217;d take a moment to write it up.
*Update*: I tested the Hibernate serialization [...]]]></description>
		<wfw:commentRss>http://twasink.net/blog/2005/10/ehcache-dissected/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Differences in behaviour between Hibernate delete queries and the old way</title>
		<link>http://twasink.net/blog/2005/04/differences-in-behaviour-between-hibernate-delete-queries-and-the-old-way/</link>
		<comments>http://twasink.net/blog/2005/04/differences-in-behaviour-between-hibernate-delete-queries-and-the-old-way/#comments</comments>
		<pubDate>Wed, 20 Apr 2005 09:08:28 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://twasink.net/wp/?p=136</guid>
		<description><![CDATA[In Hibernate 2, you could sort-of do a bulk delete via the Session interface. In Hibernate 3, they have true bulk deletes, ala Section 3.11 of the EJB 3 Persistence API. However, they have some significant differences which people migrating to the new functionality need to be aware of.

The main difference is a difference in [...]]]></description>
		<wfw:commentRss>http://twasink.net/blog/2005/04/differences-in-behaviour-between-hibernate-delete-queries-and-the-old-way/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Upgrading to Hibernate 3 &#8211; a war story</title>
		<link>http://twasink.net/blog/2005/04/upgrading-to-hibernate-3-a-war-story/</link>
		<comments>http://twasink.net/blog/2005/04/upgrading-to-hibernate-3-a-war-story/#comments</comments>
		<pubDate>Tue, 19 Apr 2005 13:08:03 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://twasink.net/wp/?p=135</guid>
		<description><![CDATA[I finally got a chance to try out upgrading to Hibernate 3 at work. It wasn&#8217;t the smoothest of rides, but I got there in the end.

First, some background: the project I&#8217;m working on has about 40,000 lines of production code. There are about 100 mapped Hibernate classes. This isn&#8217;t small by any means.
The upgrade [...]]]></description>
		<wfw:commentRss>http://twasink.net/blog/2005/04/upgrading-to-hibernate-3-a-war-story/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>How the new Hibernate bulk queries work</title>
		<link>http://twasink.net/blog/2005/04/how-the-new-hibernate-bulk-queries-work/</link>
		<comments>http://twasink.net/blog/2005/04/how-the-new-hibernate-bulk-queries-work/#comments</comments>
		<pubDate>Fri, 15 Apr 2005 13:53:50 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://twasink.net/wp/?p=134</guid>
		<description><![CDATA[When I gave my talk on Monday I&#8217;d sort of hurried over the new bulk queries in Hibernate, largely because I didn&#8217;t have much luck finding doco on them.
Now I know how they work.

You can use the bulk update and delete queries very easily. Simply create a new Query object, using the right HSQL. As [...]]]></description>
		<wfw:commentRss>http://twasink.net/blog/2005/04/how-the-new-hibernate-bulk-queries-work/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Contextual Sessions in Hibernate</title>
		<link>http://twasink.net/blog/2005/04/contextual-sessions-in-hibernate/</link>
		<comments>http://twasink.net/blog/2005/04/contextual-sessions-in-hibernate/#comments</comments>
		<pubDate>Wed, 13 Apr 2005 10:32:38 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://twasink.net/wp/?p=132</guid>
		<description><![CDATA[Somehow I missed this new feature in Hibernate 3.0

Contextual sessions means that you can ask the SessionFactory for the current session. It will then return the session associated with your current JTA transaction. Of course, you need to have a JTA transaction, but that&#8217;s not that big a deal. (For example, transactions with EJBs are [...]]]></description>
		<wfw:commentRss>http://twasink.net/blog/2005/04/contextual-sessions-in-hibernate/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
