<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Objectopia</title>
	<atom:link href="http://objectopia.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://objectopia.com</link>
	<description></description>
	<lastBuildDate>Tue, 06 Dec 2011 08:48:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>Comment on Hibernate and sets &#8211; use at your peril by Chris Clark</title>
		<link>http://objectopia.com/2011/12/06/hibernate-and-sets-use-at-your-peril/#comment-168</link>
		<dc:creator><![CDATA[Chris Clark]]></dc:creator>
		<pubDate>Tue, 06 Dec 2011 08:48:38 +0000</pubDate>
		<guid isPermaLink="false">http://objectopia.com/?p=389#comment-168</guid>
		<description><![CDATA[Hi Christian,

Thanks for the comment, I&#039;m humbled that someone such as yourself would take the time to respond. Like you say in your blog mapping a collection is a feature and what I&#039;m pointing out in this post is that using this feature has a side effect, which I&#039;ve not seen documented and it can have some massive performance overhead. I don&#039;t see why when using a ORM I should loose the ability to treat objects as objects without having to call a DAO to get related objects.

Thanks 

Chris]]></description>
		<content:encoded><![CDATA[<p>Hi Christian,</p>
<p>Thanks for the comment, I&#8217;m humbled that someone such as yourself would take the time to respond. Like you say in your blog mapping a collection is a feature and what I&#8217;m pointing out in this post is that using this feature has a side effect, which I&#8217;ve not seen documented and it can have some massive performance overhead. I don&#8217;t see why when using a ORM I should loose the ability to treat objects as objects without having to call a DAO to get related objects.</p>
<p>Thanks </p>
<p>Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Hibernate and sets &#8211; use at your peril by Christian Bauer</title>
		<link>http://objectopia.com/2011/12/06/hibernate-and-sets-use-at-your-peril/#comment-167</link>
		<dc:creator><![CDATA[Christian Bauer]]></dc:creator>
		<pubDate>Tue, 06 Dec 2011 06:46:26 +0000</pubDate>
		<guid isPermaLink="false">http://objectopia.com/?p=389#comment-167</guid>
		<description><![CDATA[&quot;I understand why sets are used&quot;

I&#039;m not sure you do. There are two reasons why you&#039;d have a @OneToMany(mappedBy): 

You have a legacy Java codebase or bad architecture and you HAVE to iterate through a collection of TaxComponents, you can&#039;t execute a query (call a DAO method) to access that data.

The second reason is that you can do some fancy query tricks (batch fetching) with such a collection. As you are having problems with queries, well, let&#039;s just say whoever created the @OneToMany probably didn&#039;t think about that either.

So remove the @OneToMany and the collection. It&#039;s not doing you any good and it&#039;s not necessary (mappedBy).

See: http://in.relation.to/1395.lace]]></description>
		<content:encoded><![CDATA[<p>&#8220;I understand why sets are used&#8221;</p>
<p>I&#8217;m not sure you do. There are two reasons why you&#8217;d have a @OneToMany(mappedBy): </p>
<p>You have a legacy Java codebase or bad architecture and you HAVE to iterate through a collection of TaxComponents, you can&#8217;t execute a query (call a DAO method) to access that data.</p>
<p>The second reason is that you can do some fancy query tricks (batch fetching) with such a collection. As you are having problems with queries, well, let&#8217;s just say whoever created the @OneToMany probably didn&#8217;t think about that either.</p>
<p>So remove the @OneToMany and the collection. It&#8217;s not doing you any good and it&#8217;s not necessary (mappedBy).</p>
<p>See: <a href="http://in.relation.to/1395.lace" rel="nofollow">http://in.relation.to/1395.lace</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Weld JUnit 4 Runner by Ales</title>
		<link>http://objectopia.com/2011/05/29/weld-junit-4-runner/#comment-129</link>
		<dc:creator><![CDATA[Ales]]></dc:creator>
		<pubDate>Tue, 31 May 2011 10:16:20 +0000</pubDate>
		<guid isPermaLink="false">http://objectopia.com/?p=362#comment-129</guid>
		<description><![CDATA[It&#039;s just a matter of adding the right (additional) deps to the classpath.
Wrt the test, it&#039;s pretty much the same, WeldJUnit4Runner --&gt; Arquillian.
While then you can properly test your stuff, not just in mock-ed up embedded Weld container,
but real runtime env; JBossAS, GF, Tomcat, Jetty, ... all with exactly the same code.

But that doesn&#039;t mean I don&#039;t like how you did it, as it nicely shows true power of JUnit and CDI. :-)]]></description>
		<content:encoded><![CDATA[<p>It&#8217;s just a matter of adding the right (additional) deps to the classpath.<br />
Wrt the test, it&#8217;s pretty much the same, WeldJUnit4Runner &#8211;&gt; Arquillian.<br />
While then you can properly test your stuff, not just in mock-ed up embedded Weld container,<br />
but real runtime env; JBossAS, GF, Tomcat, Jetty, &#8230; all with exactly the same code.</p>
<p>But that doesn&#8217;t mean I don&#8217;t like how you did it, as it nicely shows true power of JUnit and CDI. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Weld JUnit 4 Runner by Chris Burnley</title>
		<link>http://objectopia.com/2011/05/29/weld-junit-4-runner/#comment-128</link>
		<dc:creator><![CDATA[Chris Burnley]]></dc:creator>
		<pubDate>Tue, 31 May 2011 10:08:14 +0000</pubDate>
		<guid isPermaLink="false">http://objectopia.com/?p=362#comment-128</guid>
		<description><![CDATA[I could ... but why bother making something simple complicated ?]]></description>
		<content:encoded><![CDATA[<p>I could &#8230; but why bother making something simple complicated ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Weld JUnit 4 Runner by Ales</title>
		<link>http://objectopia.com/2011/05/29/weld-junit-4-runner/#comment-127</link>
		<dc:creator><![CDATA[Ales]]></dc:creator>
		<pubDate>Mon, 30 May 2011 13:34:22 +0000</pubDate>
		<guid isPermaLink="false">http://objectopia.com/?p=362#comment-127</guid>
		<description><![CDATA[Or you could use Weld + its Arquillian container.
A bit more work wrt jars + classpath,
but you could then easily pass the same test around between diff containers.]]></description>
		<content:encoded><![CDATA[<p>Or you could use Weld + its Arquillian container.<br />
A bit more work wrt jars + classpath,<br />
but you could then easily pass the same test around between diff containers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Securing your JBoss JMX Invoker Layer by Technical Related Notes &#187; Blog Archive &#187; links for 2011-03-22</title>
		<link>http://objectopia.com/2009/10/01/securing-jmx-invoker-layer-in-jboss/#comment-110</link>
		<dc:creator><![CDATA[Technical Related Notes &#187; Blog Archive &#187; links for 2011-03-22]]></dc:creator>
		<pubDate>Mon, 18 Apr 2011 09:59:19 +0000</pubDate>
		<guid isPermaLink="false">http://objectopia.com/?p=154#comment-110</guid>
		<description><![CDATA[[...] secure jboss (tags: jboss) [...]]]></description>
		<content:encoded><![CDATA[<p>[...] secure jboss (tags: jboss) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Securing your JBoss JMX Invoker Layer by Slava</title>
		<link>http://objectopia.com/2009/10/01/securing-jmx-invoker-layer-in-jboss/#comment-77</link>
		<dc:creator><![CDATA[Slava]]></dc:creator>
		<pubDate>Sun, 03 Apr 2011 04:34:03 +0000</pubDate>
		<guid isPermaLink="false">http://objectopia.com/?p=154#comment-77</guid>
		<description><![CDATA[for those who find this topic by search:

There is a community courtesy notification for a severe security issue affecting some of the JBoss projects and products. Default security settings in web.xml protect only GET and POST protocols leaving another ones open. Please refer to the following Red Hat KBase article for more information:
 
&lt;a href=&quot;http://kbase.redhat.com/faq/docs/DOC-30741&quot; rel=&quot;nofollow&quot;&gt;JBoss Products &amp; CVE-2010-0738&lt;/a&gt;
 
Only when you apply the solution you can be sure that your JMX Console is protected.
Please note that Web Console has the same issue, and you need to apply the solution to it as well.

Also it is recommended to hash passwords in the config files. Read about how to do it in &lt;a href=&quot;http://docs.jboss.org/jbossas/getting_started/v2/startguide40/security.html&quot; rel=&quot;nofollow&quot;&gt;JBoss Getting Started guide&lt;/a&gt;.]]></description>
		<content:encoded><![CDATA[<p>for those who find this topic by search:</p>
<p>There is a community courtesy notification for a severe security issue affecting some of the JBoss projects and products. Default security settings in web.xml protect only GET and POST protocols leaving another ones open. Please refer to the following Red Hat KBase article for more information:</p>
<p><a href="http://kbase.redhat.com/faq/docs/DOC-30741" rel="nofollow">JBoss Products &amp; CVE-2010-0738</a></p>
<p>Only when you apply the solution you can be sure that your JMX Console is protected.<br />
Please note that Web Console has the same issue, and you need to apply the solution to it as well.</p>
<p>Also it is recommended to hash passwords in the config files. Read about how to do it in <a href="http://docs.jboss.org/jbossas/getting_started/v2/startguide40/security.html" rel="nofollow">JBoss Getting Started guide</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Calling Stored Procedures in JPA by Java Developers: Make the Database Work for You! &#171; AMIS Technology blog</title>
		<link>http://objectopia.com/2009/06/26/calling-stored-procedures-in-jpa/#comment-72</link>
		<dc:creator><![CDATA[Java Developers: Make the Database Work for You! &#171; AMIS Technology blog]]></dc:creator>
		<pubDate>Wed, 12 Jan 2011 09:43:25 +0000</pubDate>
		<guid isPermaLink="false">http://objectopia.wordpress.com/?p=8#comment-72</guid>
		<description><![CDATA[[...] http://objectopia.com/2009/06/26/calling-stored-procedures-in-jpa/ [...]]]></description>
		<content:encoded><![CDATA[<p>[...] <a href="http://objectopia.com/2009/06/26/calling-stored-procedures-in-jpa/" rel="nofollow">http://objectopia.com/2009/06/26/calling-stored-procedures-in-jpa/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Joda with JPA by skhanzada</title>
		<link>http://objectopia.com/2009/07/10/joda-with-jpa/#comment-63</link>
		<dc:creator><![CDATA[skhanzada]]></dc:creator>
		<pubDate>Sat, 28 Aug 2010 05:38:39 +0000</pubDate>
		<guid isPermaLink="false">http://objectopia.com/?p=176#comment-63</guid>
		<description><![CDATA[http://skhanzada.wordpress.com/2010/07/29/hibernatejpa-annotations/]]></description>
		<content:encoded><![CDATA[<p><a href="http://skhanzada.wordpress.com/2010/07/29/hibernatejpa-annotations/" rel="nofollow">http://skhanzada.wordpress.com/2010/07/29/hibernatejpa-annotations/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Securing your JBoss JMX Invoker Layer by Jon Court</title>
		<link>http://objectopia.com/2009/10/01/securing-jmx-invoker-layer-in-jboss/#comment-46</link>
		<dc:creator><![CDATA[Jon Court]]></dc:creator>
		<pubDate>Sun, 28 Feb 2010 00:22:19 +0000</pubDate>
		<guid isPermaLink="false">http://objectopia.com/?p=154#comment-46</guid>
		<description><![CDATA[Nice - thanks for picking this up Gilles,

I had meant to contribute this back actually - somehow it dropped off my radar.

Regards,
Jon]]></description>
		<content:encoded><![CDATA[<p>Nice &#8211; thanks for picking this up Gilles,</p>
<p>I had meant to contribute this back actually &#8211; somehow it dropped off my radar.</p>
<p>Regards,<br />
Jon</p>
]]></content:encoded>
	</item>
</channel>
</rss>

