<?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: Using ehcache and verifying that it works with JPA and springframework</title>
	<atom:link href="http://www.gridshore.nl/2008/04/29/using-ehcache-and-verifying-that-it-works-with-jpa-and-springframework/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gridshore.nl/2008/04/29/using-ehcache-and-verifying-that-it-works-with-jpa-and-springframework/</link>
	<description>A weblog about software engineering, Architecture, Technology an other things we like.</description>
	<lastBuildDate>Sat, 28 Jan 2012 20:11:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Allan</title>
		<link>http://www.gridshore.nl/2008/04/29/using-ehcache-and-verifying-that-it-works-with-jpa-and-springframework/comment-page-1/#comment-29957</link>
		<dc:creator>Allan</dc:creator>
		<pubDate>Tue, 12 Jan 2010 07:25:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.gridshore.nl/?p=122#comment-29957</guid>
		<description>javax.persistence.Query.setHint(“org.hibernate.cacheable”, true) is incorrect because setHint is not a static method. Should be query.setHint(&quot;org.hibernate.cacheable&quot;, true);</description>
		<content:encoded><![CDATA[<p>javax.persistence.Query.setHint(“org.hibernate.cacheable”, true) is incorrect because setHint is not a static method. Should be query.setHint(&#8220;org.hibernate.cacheable&#8221;, true);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Someone</title>
		<link>http://www.gridshore.nl/2008/04/29/using-ehcache-and-verifying-that-it-works-with-jpa-and-springframework/comment-page-1/#comment-25647</link>
		<dc:creator>Someone</dc:creator>
		<pubDate>Tue, 18 Aug 2009 20:24:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.gridshore.nl/?p=122#comment-25647</guid>
		<description>Thank you. Very helpful, finally some said how to find cache usage or not.</description>
		<content:encoded><![CDATA[<p>Thank you. Very helpful, finally some said how to find cache usage or not.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pisce</title>
		<link>http://www.gridshore.nl/2008/04/29/using-ehcache-and-verifying-that-it-works-with-jpa-and-springframework/comment-page-1/#comment-2333</link>
		<dc:creator>pisce</dc:creator>
		<pubDate>Wed, 16 Jul 2008 16:35:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.gridshore.nl/?p=122#comment-2333</guid>
		<description>((org.hibernate.ejb.QueryImpl)query).getHibernateQuery().setCacheable(true);

could be replaced by

javax.persistence.Query.setHint(&quot;org.hibernate.cacheable&quot;, true)

for lowering dependencies to the JPA provider</description>
		<content:encoded><![CDATA[<p>((org.hibernate.ejb.QueryImpl)query).getHibernateQuery().setCacheable(true);</p>
<p>could be replaced by</p>
<p>javax.persistence.Query.setHint(&#8220;org.hibernate.cacheable&#8221;, true)</p>
<p>for lowering dependencies to the JPA provider</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Allard</title>
		<link>http://www.gridshore.nl/2008/04/29/using-ehcache-and-verifying-that-it-works-with-jpa-and-springframework/comment-page-1/#comment-820</link>
		<dc:creator>Allard</dc:creator>
		<pubDate>Wed, 30 Apr 2008 14:43:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.gridshore.nl/?p=122#comment-820</guid>
		<description>nice article. Unfortunately, I have seen more projects where caching is used as a poor excuse to allow bad performing code in an application than as a way to optimize well written code...  Caching seems to be the broom used to clean up the mess created by some SOA implementations ;-)

The EhCache API, and the EHCache class in particular, also allow you to get some statistics from the cache. The net.sf.ehcache.Statistics class gives some information about cache hits (either on disk or in memory, or both), cache misses, etc. Although not as complete as the stats you&#039;re showing in the article, but probably enough for a unit test.</description>
		<content:encoded><![CDATA[<p>nice article. Unfortunately, I have seen more projects where caching is used as a poor excuse to allow bad performing code in an application than as a way to optimize well written code&#8230;  Caching seems to be the broom used to clean up the mess created by some SOA implementations <img src='http://www.gridshore.nl/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>The EhCache API, and the EHCache class in particular, also allow you to get some statistics from the cache. The net.sf.ehcache.Statistics class gives some information about cache hits (either on disk or in memory, or both), cache misses, etc. Although not as complete as the stats you&#8217;re showing in the article, but probably enough for a unit test.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

