<?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: De-proxying Hibernate objects</title>
	<atom:link href="http://technoticles.com/2010/03/03/de-proxying-hibernate-objects/feed/" rel="self" type="application/rss+xml" />
	<link>http://technoticles.com/2010/03/03/de-proxying-hibernate-objects/</link>
	<description>(Techno)logy + Ar(ticles) = Technoticles</description>
	<lastBuildDate>Sat, 17 Sep 2011 23:02:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Andrew</title>
		<link>http://technoticles.com/2010/03/03/de-proxying-hibernate-objects/comment-page-1/#comment-166</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Thu, 22 Jul 2010 07:28:10 +0000</pubDate>
		<guid isPermaLink="false">http://technoticles.com/?p=363#comment-166</guid>
		<description>Good article! Thanks! But there are some things that I would like to emphasize.
If you have Entity with a lot of fields, then put the annotations to them that rather takes many time.
However, we can pass as the third parameter null. Then will be copied to all fields, including private static final long serialVersionUID. In the end we get an exception. IMHO best way change the logic:

else if (sourceFields [i]. isAnnotationPresent (filter)) (
LOG.debug (&quot;Adding field:&quot; sourceFields [i]. GetName () &quot;, to the field map.&quot;);
fields.put (sourceFields [i]. getName (), sourceFields [i]);
)

change

else if (!sourceFields [i]. isAnnotationPresent (filter)) (
LOG.debug (&quot;Adding field:&quot; sourceFields [i]. GetName () &quot;, to the field map.&quot;);
fields.put (sourceFields [i]. getName (), sourceFields [i]);
)

continue to use the annotation to the fields that should not clone

For example @ NotClonable</description>
		<content:encoded><![CDATA[<p>Good article! Thanks! But there are some things that I would like to emphasize.<br />
If you have Entity with a lot of fields, then put the annotations to them that rather takes many time.<br />
However, we can pass as the third parameter null. Then will be copied to all fields, including private static final long serialVersionUID. In the end we get an exception. IMHO best way change the logic:</p>
<p>else if (sourceFields [i]. isAnnotationPresent (filter)) (<br />
LOG.debug (&#8220;Adding field:&#8221; sourceFields [i]. GetName () &#8220;, to the field map.&#8221;);<br />
fields.put (sourceFields [i]. getName (), sourceFields [i]);<br />
)</p>
<p>change</p>
<p>else if (!sourceFields [i]. isAnnotationPresent (filter)) (<br />
LOG.debug (&#8220;Adding field:&#8221; sourceFields [i]. GetName () &#8220;, to the field map.&#8221;);<br />
fields.put (sourceFields [i]. getName (), sourceFields [i]);<br />
)</p>
<p>continue to use the annotation to the fields that should not clone</p>
<p>For example @ NotClonable</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WP Themes</title>
		<link>http://technoticles.com/2010/03/03/de-proxying-hibernate-objects/comment-page-1/#comment-86</link>
		<dc:creator>WP Themes</dc:creator>
		<pubDate>Sat, 01 May 2010 21:43:56 +0000</pubDate>
		<guid isPermaLink="false">http://technoticles.com/?p=363#comment-86</guid>
		<description>Nice post and this post helped me alot in my college assignement. Gratefulness you seeking your information.</description>
		<content:encoded><![CDATA[<p>Nice post and this post helped me alot in my college assignement. Gratefulness you seeking your information.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ZAREMA</title>
		<link>http://technoticles.com/2010/03/03/de-proxying-hibernate-objects/comment-page-1/#comment-44</link>
		<dc:creator>ZAREMA</dc:creator>
		<pubDate>Fri, 19 Mar 2010 12:15:49 +0000</pubDate>
		<guid isPermaLink="false">http://technoticles.com/?p=363#comment-44</guid>
		<description>Avtoru Spasibo bolsoe.</description>
		<content:encoded><![CDATA[<p>Avtoru Spasibo bolsoe.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

