<?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"
	>

<channel>
	<title>Java Version</title>
	<atom:link href="http://www.javaversion.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.javaversion.com</link>
	<description>Information about Java Programming</description>
	<pubDate>Wed, 31 Aug 2011 06:00:14 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<item>
		<title>Unknown runtime error Line: 120 Char: 1 Code: 0 URI: 3_3_3.Finalorg.ajax4jsf.javascript.AjaxScript</title>
		<link>http://www.javaversion.com/2011/08/31/unknown-runtime-error-line-120-char-1-code-0-uri-3_3_3finalorgajax4jsfjavascriptajaxscript/</link>
		<comments>http://www.javaversion.com/2011/08/31/unknown-runtime-error-line-120-char-1-code-0-uri-3_3_3finalorgajax4jsfjavascriptajaxscript/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 06:00:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Java Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.javaversion.com/2011/08/31/unknown-runtime-error-line-120-char-1-code-0-uri-3_3_3finalorgajax4jsfjavascriptajaxscript/</guid>
		<description><![CDATA[Not strictly Java related but I thought I could post it here. I was getting the error 
Unknown runtime error Line: 120 Char: 1 Code: 0 URI: 3_3_3.Finalorg.ajax4jsf.javascript.AjaxScript
on I.E. (FF and Chrome worked fine) when I included a form within a form in RichFaces. As soon as I got rid of the second form (in [...]]]></description>
			<content:encoded><![CDATA[<p>Not strictly Java related but I thought I could post it here. I was getting the error </p>
<p><code>Unknown runtime error Line: 120 Char: 1 Code: 0 URI: 3_3_3.Finalorg.ajax4jsf.javascript.AjaxScript</code></p>
<p>on I.E. (FF and Chrome worked fine) when I included a form within a form in RichFaces. As soon as I got rid of the second form (in the included file) the problem went away.</p>
<p>  <a href="http://feeds.wordpress.com/1.0/gocomments/thejavablog.wordpress.com/395/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thejavablog.wordpress.com/395/" /></a> <a href="http://feeds.wordpress.com/1.0/godelicious/thejavablog.wordpress.com/395/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thejavablog.wordpress.com/395/" /></a> <a href="http://feeds.wordpress.com/1.0/gofacebook/thejavablog.wordpress.com/395/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thejavablog.wordpress.com/395/" /></a> <a href="http://feeds.wordpress.com/1.0/gotwitter/thejavablog.wordpress.com/395/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thejavablog.wordpress.com/395/" /></a> <a href="http://feeds.wordpress.com/1.0/gostumble/thejavablog.wordpress.com/395/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thejavablog.wordpress.com/395/" /></a> <a href="http://feeds.wordpress.com/1.0/godigg/thejavablog.wordpress.com/395/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thejavablog.wordpress.com/395/" /></a> <a href="http://feeds.wordpress.com/1.0/goreddit/thejavablog.wordpress.com/395/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thejavablog.wordpress.com/395/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thejavablog.wordpress.com&amp;blog=1995949&amp;post=395&amp;subd=thejavablog&amp;ref=&amp;feed=1" width="1" height="1" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.javaversion.com/2011/08/31/unknown-runtime-error-line-120-char-1-code-0-uri-3_3_3finalorgajax4jsfjavascriptajaxscript/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Caused by javax.persistence.TransactionRequiredException with message: “no transaction is in progress”</title>
		<link>http://www.javaversion.com/2011/05/03/caused-by-javaxpersistencetransactionrequiredexception-with-message-%e2%80%9cno-transaction-is-in-progress%e2%80%9d/</link>
		<comments>http://www.javaversion.com/2011/05/03/caused-by-javaxpersistencetransactionrequiredexception-with-message-%e2%80%9cno-transaction-is-in-progress%e2%80%9d/#comments</comments>
		<pubDate>Tue, 03 May 2011 06:00:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Java Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.javaversion.com/2011/05/03/caused-by-javaxpersistencetransactionrequiredexception-with-message-%e2%80%9cno-transaction-is-in-progress%e2%80%9d/</guid>
		<description><![CDATA[This is weird, I am not sure why I am getting it. I have an application that makes some calculations that take some considerable time, and I persist the results. I run my application with 100 records from the database and everything works fine. I run my application with 60.000 records from the database and [...]]]></description>
			<content:encoded><![CDATA[<p>This is weird, I am not sure why I am getting it. I have an application that makes some calculations that take some considerable time, and I persist the results. I run my application with 100 records from the database and everything works fine. I run my application with 60.000 records from the database and I am getting the above error message. The exception happens when the <code>flush()</code> method is called on the <code>EntityManager</code>. If I am to have a wild guess I&#8217;d say that there is a transaction time out (it is set to 30 seconds in the weblogic console) and therefore when the <code>flush()</code> method is called there is no active transaction.</p>
<p>Anyway I managed to overcome this issue by explicitly defining a user transaction </p>
<pre>
import org.jboss.seam.transaction.Transaction;
import org.jboss.seam.transaction.UserTransaction;
...
...

UserTransaction ut = Transaction.instance();
ut.begin();
...
...
ut.commit();
</pre>
<p>If you have any idea why this is happening please leave a comment.</p>
<p><strong>UPDATE</strong>: Now the first transaction (the one with 100 records) fails. It complains that there is already one transaction active when I try to start a new one. I guess I need to revert my code and to increase the transaction timeout on the weblogic console, this would solve both issues.</p>
<p>  <a href="http://feeds.wordpress.com/1.0/gocomments/thejavablog.wordpress.com/386/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thejavablog.wordpress.com/386/" /></a> <a href="http://feeds.wordpress.com/1.0/godelicious/thejavablog.wordpress.com/386/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thejavablog.wordpress.com/386/" /></a> <a href="http://feeds.wordpress.com/1.0/gofacebook/thejavablog.wordpress.com/386/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thejavablog.wordpress.com/386/" /></a> <a href="http://feeds.wordpress.com/1.0/gotwitter/thejavablog.wordpress.com/386/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thejavablog.wordpress.com/386/" /></a> <a href="http://feeds.wordpress.com/1.0/gostumble/thejavablog.wordpress.com/386/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thejavablog.wordpress.com/386/" /></a> <a href="http://feeds.wordpress.com/1.0/godigg/thejavablog.wordpress.com/386/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thejavablog.wordpress.com/386/" /></a> <a href="http://feeds.wordpress.com/1.0/goreddit/thejavablog.wordpress.com/386/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thejavablog.wordpress.com/386/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thejavablog.wordpress.com&amp;blog=1995949&amp;post=386&amp;subd=thejavablog&amp;ref=&amp;feed=1" width="1" height="1" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.javaversion.com/2011/05/03/caused-by-javaxpersistencetransactionrequiredexception-with-message-%e2%80%9cno-transaction-is-in-progress%e2%80%9d/feed/</wfw:commentRss>
		</item>
		<item>
		<title>javax.naming.OperationNotSupportedException: bind not allowed in a ReadOnlyContext; remaining name</title>
		<link>http://www.javaversion.com/2011/03/03/javaxnamingoperationnotsupportedexception-bind-not-allowed-in-a-readonlycontext-remaining-name/</link>
		<comments>http://www.javaversion.com/2011/03/03/javaxnamingoperationnotsupportedexception-bind-not-allowed-in-a-readonlycontext-remaining-name/#comments</comments>
		<pubDate>Thu, 03 Mar 2011 07:00:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Java Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.javaversion.com/2011/03/03/javaxnamingoperationnotsupportedexception-bind-not-allowed-in-a-readonlycontext-remaining-name/</guid>
		<description><![CDATA[I got this exception when i tried to define a mail session in WebLogic&#8217;s console. I defined the JNDI name to be java:/Mail but it seems that WebLogic does not like the java:/ prefix, so I had to remove it (both from the console and the calling code), and it worked.
     [...]]]></description>
			<content:encoded><![CDATA[<p>I got this exception when i tried to define a mail session in WebLogic&#8217;s console. I defined the JNDI name to be <code>java:/Mail</code> but it seems that WebLogic does not like the <code>java:/</code> prefix, so I had to remove it (both from the console and the calling code), and it worked.</p>
<p>  <a href="http://feeds.wordpress.com/1.0/gocomments/thejavablog.wordpress.com/381/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thejavablog.wordpress.com/381/" /></a> <a href="http://feeds.wordpress.com/1.0/godelicious/thejavablog.wordpress.com/381/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thejavablog.wordpress.com/381/" /></a> <a href="http://feeds.wordpress.com/1.0/gofacebook/thejavablog.wordpress.com/381/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thejavablog.wordpress.com/381/" /></a> <a href="http://feeds.wordpress.com/1.0/gotwitter/thejavablog.wordpress.com/381/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thejavablog.wordpress.com/381/" /></a> <a href="http://feeds.wordpress.com/1.0/gostumble/thejavablog.wordpress.com/381/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thejavablog.wordpress.com/381/" /></a> <a href="http://feeds.wordpress.com/1.0/godigg/thejavablog.wordpress.com/381/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thejavablog.wordpress.com/381/" /></a> <a href="http://feeds.wordpress.com/1.0/goreddit/thejavablog.wordpress.com/381/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thejavablog.wordpress.com/381/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thejavablog.wordpress.com&amp;blog=1995949&amp;post=381&amp;subd=thejavablog&amp;ref=&amp;feed=1" width="1" height="1" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.javaversion.com/2011/03/03/javaxnamingoperationnotsupportedexception-bind-not-allowed-in-a-readonlycontext-remaining-name/feed/</wfw:commentRss>
		</item>
		<item>
		<title>org.hibernate.MappingException: broken column mapping for</title>
		<link>http://www.javaversion.com/2011/02/17/orghibernatemappingexception-broken-column-mapping-for/</link>
		<comments>http://www.javaversion.com/2011/02/17/orghibernatemappingexception-broken-column-mapping-for/#comments</comments>
		<pubDate>Thu, 17 Feb 2011 07:00:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Java Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.javaversion.com/2011/02/17/orghibernatemappingexception-broken-column-mapping-for/</guid>
		<description><![CDATA[I got this error when I tried to map a child element by using its parent&#8217;s foreign key. I had a parent element with a region id (as foreign key) and I needed to get the child element whose primary key was this region id (and a language id). My child element (Region.hbm.xml) had a [...]]]></description>
			<content:encoded><![CDATA[<p>I got this error when I tried to map a child element by using its parent&#8217;s foreign key. I had a parent element with a region id (as foreign key) and I needed to get the child element whose primary key was this region id (and a language id). My child element (<code>Region.hbm.xml</code>) had a composite primary key</p>
<pre>
&lt;composite-id&gt;
  			&lt;key-property name=&quot;regionCode&quot; type=&quot;integer&quot; column=&quot;RGNCDE&quot;/&gt;
  			&lt;key-property name=&quot;languageCode&quot; type=&quot;integer&quot; column=&quot;LNGCDE&quot;/&gt;
  		&lt;/composite-id&gt;
</pre>
<p>and in my parent I did</p>
<pre>
&lt;property name=&quot;regionCode&quot; column=&quot;REGCDE&quot; type=&quot;integer&quot;/&gt;

&lt;many-to-one name=&quot;region&quot; class=&quot;my.package.hbm.Region&quot;&gt;
</pre>
<p>but this resulted in &#8220;<code>org.hibernate.MappingException: broken column mapping for</code>&#8221; error.</p>
<p> I had to split the child&#8217;s composite key </p>
<pre>
&lt;id name=&quot;regionCode&quot; type=&quot;integer&quot; column=&quot;RGNCDE&quot;&gt;
			&lt;generator class=&quot;assigned&quot;/&gt;
		&lt;/id&gt;

		&lt;property name=&quot;languageCode&quot; column=&quot;LNGCDE&quot; type=&quot;integer&quot;/&gt;
</pre>
<p>and add a <code>formula</code> property in my parent&#8217;s class mapping</p>
<pre>
&lt;property name=&quot;regionCode&quot; column=&quot;REGCDE&quot; type=&quot;integer&quot;/&gt;

&lt;many-to-one name=&quot;region&quot; class=&quot;my.package.hbm.Region&quot; formula=&quot;REGCDE&quot;/&gt;
</pre>
<p>so that hibernate could link the region id of the parent to the region id of the child. And since I needed a record based also on the language code (but my parent didn&#8217;t have any language code column) I had to manually add search criteria</p>
<pre>
crit.createCriteria(&quot;region&quot;).add(Restrictions.eq(&quot;languageCode&quot;, 1));
</pre>
<p>  <a href="http://feeds.wordpress.com/1.0/gocomments/thejavablog.wordpress.com/373/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thejavablog.wordpress.com/373/" /></a> <a href="http://feeds.wordpress.com/1.0/godelicious/thejavablog.wordpress.com/373/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thejavablog.wordpress.com/373/" /></a> <a href="http://feeds.wordpress.com/1.0/gofacebook/thejavablog.wordpress.com/373/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thejavablog.wordpress.com/373/" /></a> <a href="http://feeds.wordpress.com/1.0/gotwitter/thejavablog.wordpress.com/373/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thejavablog.wordpress.com/373/" /></a> <a href="http://feeds.wordpress.com/1.0/gostumble/thejavablog.wordpress.com/373/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thejavablog.wordpress.com/373/" /></a> <a href="http://feeds.wordpress.com/1.0/godigg/thejavablog.wordpress.com/373/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thejavablog.wordpress.com/373/" /></a> <a href="http://feeds.wordpress.com/1.0/goreddit/thejavablog.wordpress.com/373/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thejavablog.wordpress.com/373/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thejavablog.wordpress.com&amp;blog=1995949&amp;post=373&amp;subd=thejavablog&amp;ref=&amp;feed=1" width="1" height="1" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.javaversion.com/2011/02/17/orghibernatemappingexception-broken-column-mapping-for/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to retain/get only the duplicate elements in a list</title>
		<link>http://www.javaversion.com/2011/02/05/how-to-retainget-only-the-duplicate-elements-in-a-list/</link>
		<comments>http://www.javaversion.com/2011/02/05/how-to-retainget-only-the-duplicate-elements-in-a-list/#comments</comments>
		<pubDate>Sat, 05 Feb 2011 07:00:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Java Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.javaversion.com/2011/02/05/how-to-retainget-only-the-duplicate-elements-in-a-list/</guid>
		<description><![CDATA[Let&#8217;s say you have a list of duplicate (and non-duplicate) items, and you want a new collection with only the duplicate items in there. The easiest way is to extend the HashSet.

public class DuplicatesOnlySet&#60;E&#62; extends HashSet&#60;E&#62;
{
    private final Set&#60;E&#62; uniques = new HashSet&#60;E&#62;();

    public  DuplicatesOnlySet(Collection&#60;? extends E&#62; c)
 [...]]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s say you have a list of duplicate (and non-duplicate) items, and you want a new collection with only the duplicate items in there. The easiest way is to extend the <code>HashSet</code>.</p>
<pre>
public class DuplicatesOnlySet&lt;E&gt; extends HashSet&lt;E&gt;
{
    private final Set&lt;E&gt; uniques = new HashSet&lt;E&gt;();

    public  DuplicatesOnlySet(Collection&lt;? extends E&gt; c)
    {
        super.addAll(c);
    }

    @Override
    public boolean add(E e)
    {
        if(!this.uniques.add(e))
             return super.add(e);

    return false;
    }
}
</pre>
<p>Call it like</p>
<pre>
List&lt;String&gt; duplicates = new ArrayList&lt;String&gt;(new DuplicatesOnlySet&lt;String&gt;(original)) ;
</pre>
<p>where <code>original</code> is the <code>Collection</code> with the duplicate items.</p>
<p>Compliments to <a href="http://forrst.me/Cue" onclick="javascript:pageTracker._trackPageview ('/outbound/forrst.me');">Markos</a> for his <a href="http://forrst.com/posts/How_to_think_of_Aspects-RZe" onclick="javascript:pageTracker._trackPageview ('/outbound/forrst.com');">implementation</a>.</p>
<p>  <a href="http://feeds.wordpress.com/1.0/gocomments/thejavablog.wordpress.com/367/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thejavablog.wordpress.com/367/" /></a> <a href="http://feeds.wordpress.com/1.0/godelicious/thejavablog.wordpress.com/367/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thejavablog.wordpress.com/367/" /></a> <a href="http://feeds.wordpress.com/1.0/gofacebook/thejavablog.wordpress.com/367/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thejavablog.wordpress.com/367/" /></a> <a href="http://feeds.wordpress.com/1.0/gotwitter/thejavablog.wordpress.com/367/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thejavablog.wordpress.com/367/" /></a> <a href="http://feeds.wordpress.com/1.0/gostumble/thejavablog.wordpress.com/367/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thejavablog.wordpress.com/367/" /></a> <a href="http://feeds.wordpress.com/1.0/godigg/thejavablog.wordpress.com/367/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thejavablog.wordpress.com/367/" /></a> <a href="http://feeds.wordpress.com/1.0/goreddit/thejavablog.wordpress.com/367/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thejavablog.wordpress.com/367/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thejavablog.wordpress.com&amp;blog=1995949&amp;post=367&amp;subd=thejavablog&amp;ref=&amp;feed=1" width="1" height="1" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.javaversion.com/2011/02/05/how-to-retainget-only-the-duplicate-elements-in-a-list/feed/</wfw:commentRss>
		</item>
		<item>
		<title>java.lang.StackOverflowError and Hibernate</title>
		<link>http://www.javaversion.com/2011/01/01/javalangstackoverflowerror-and-hibernate/</link>
		<comments>http://www.javaversion.com/2011/01/01/javalangstackoverflowerror-and-hibernate/#comments</comments>
		<pubDate>Sat, 01 Jan 2011 07:00:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Java Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.javaversion.com/2011/01/01/javalangstackoverflowerror-and-hibernate/</guid>
		<description><![CDATA[If you have set up your relationships correctly in your @Entity bean but you are still getting this error, I have found out that by explicitly setting the Query&#8216;s flush mode type to COMMIT you can avoid recursive calls that result in a StackOverflowError

query.setFlushMode(FlushModeType.COMMIT);	// Avoid recursive call and StackOverflowError

       [...]]]></description>
			<content:encoded><![CDATA[<p>If you have set up your relationships correctly in your <code>@Entity</code> bean but you are still getting this error, I have found out that by explicitly setting the <code>Query</code>&#8216;s flush mode type to <code>COMMIT</code> you can avoid recursive calls that result in a <code>StackOverflowError</code></p>
<pre>
query.setFlushMode(FlushModeType.COMMIT);	// Avoid recursive call and StackOverflowError
</pre>
<p>  <a href="http://feeds.wordpress.com/1.0/gocomments/thejavablog.wordpress.com/361/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thejavablog.wordpress.com/361/" /></a> <a href="http://feeds.wordpress.com/1.0/godelicious/thejavablog.wordpress.com/361/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thejavablog.wordpress.com/361/" /></a> <a href="http://feeds.wordpress.com/1.0/gofacebook/thejavablog.wordpress.com/361/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thejavablog.wordpress.com/361/" /></a> <a href="http://feeds.wordpress.com/1.0/gotwitter/thejavablog.wordpress.com/361/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thejavablog.wordpress.com/361/" /></a> <a href="http://feeds.wordpress.com/1.0/gostumble/thejavablog.wordpress.com/361/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thejavablog.wordpress.com/361/" /></a> <a href="http://feeds.wordpress.com/1.0/godigg/thejavablog.wordpress.com/361/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thejavablog.wordpress.com/361/" /></a> <a href="http://feeds.wordpress.com/1.0/goreddit/thejavablog.wordpress.com/361/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thejavablog.wordpress.com/361/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thejavablog.wordpress.com&amp;blog=1995949&amp;post=361&amp;subd=thejavablog&amp;ref=&amp;feed=1" width="1" height="1" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.javaversion.com/2011/01/01/javalangstackoverflowerror-and-hibernate/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Error loading element Identity with component name null and component class null</title>
		<link>http://www.javaversion.com/2010/12/12/error-loading-element-identity-with-component-name-null-and-component-class-null/</link>
		<comments>http://www.javaversion.com/2010/12/12/error-loading-element-identity-with-component-name-null-and-component-class-null/#comments</comments>
		<pubDate>Sun, 12 Dec 2010 07:00:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Java Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.javaversion.com/2010/12/12/error-loading-element-identity-with-component-name-null-and-component-class-null/</guid>
		<description><![CDATA[This error is related to this post, and is solved by the exact same manner. 
1) Edit your application.xml and move the jboss-seam.jar module to the top.
2) Edit each MANIFEST.MF file of the rest of your modules defined in the application.xml and remove the jboss-seam.jar entry.
3) Rebuild and redeploy your ear.
     [...]]]></description>
			<content:encoded><![CDATA[<p>This error is related to <a href="http://thejavablog.wordpress.com/2010/12/01/no-phase-id-bound-to-current-thread-make-sure-you-do-not-have-two-seamphaselistener-instances-installed/" onclick="javascript:pageTracker._trackPageview ('/outbound/thejavablog.wordpress.com');">this post</a>, and is solved by the exact same manner. </p>
<p>1) Edit your <code>application.xml</code> and move the <code>jboss-seam.jar</code> module to the top.<br />
2) Edit each <code>MANIFEST.MF</code> file of the rest of your modules defined in the <code>application.xml</code> and remove the <code>jboss-seam.jar </code>entry.<br />
3) Rebuild and redeploy your ear.</p>
<p>  <a href="http://feeds.wordpress.com/1.0/gocomments/thejavablog.wordpress.com/359/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thejavablog.wordpress.com/359/" /></a> <a href="http://feeds.wordpress.com/1.0/godelicious/thejavablog.wordpress.com/359/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thejavablog.wordpress.com/359/" /></a> <a href="http://feeds.wordpress.com/1.0/gofacebook/thejavablog.wordpress.com/359/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thejavablog.wordpress.com/359/" /></a> <a href="http://feeds.wordpress.com/1.0/gotwitter/thejavablog.wordpress.com/359/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thejavablog.wordpress.com/359/" /></a> <a href="http://feeds.wordpress.com/1.0/gostumble/thejavablog.wordpress.com/359/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thejavablog.wordpress.com/359/" /></a> <a href="http://feeds.wordpress.com/1.0/godigg/thejavablog.wordpress.com/359/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thejavablog.wordpress.com/359/" /></a> <a href="http://feeds.wordpress.com/1.0/goreddit/thejavablog.wordpress.com/359/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thejavablog.wordpress.com/359/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thejavablog.wordpress.com&amp;blog=1995949&amp;post=359&amp;subd=thejavablog&amp;ref=&amp;feed=1" width="1" height="1" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.javaversion.com/2010/12/12/error-loading-element-identity-with-component-name-null-and-component-class-null/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ORA-12505: TNS:listener does not currently know of SID given in connect descriptor</title>
		<link>http://www.javaversion.com/2010/12/10/ora-12505-tnslistener-does-not-currently-know-of-sid-given-in-connect-descriptor/</link>
		<comments>http://www.javaversion.com/2010/12/10/ora-12505-tnslistener-does-not-currently-know-of-sid-given-in-connect-descriptor/#comments</comments>
		<pubDate>Fri, 10 Dec 2010 07:00:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Java Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.javaversion.com/2010/12/10/ora-12505-tnslistener-does-not-currently-know-of-sid-given-in-connect-descriptor/</guid>
		<description><![CDATA[I am not sure why I get this error since I can connect to the current SID by using sqlplus but I cannot connect to it by using jdbc with the following url:

jdbc:oracle:thin:@aHost:1521:theSID

After searching for about an hour I found out that you can also use the full blown jdbc url protocol to connect to [...]]]></description>
			<content:encoded><![CDATA[<p>I am not sure why I get this error since I can connect to the current SID by using sqlplus but I cannot connect to it by using jdbc with the following url:</p>
<pre>
jdbc:oracle:thin:@aHost:1521:theSID
</pre>
<p>After searching for about an hour I found out that you can also use the full blown jdbc url protocol to connect to oracle</p>
<pre>
jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=aHost) (PORT=1521))(CONNECT_DATA=(SERVICE_NAME=theSID)))
</pre>
<p>This does not explain why the issue happens but at least for now it solves the problem. I will post an update if I find anything else.</p>
<p>  <a href="http://feeds.wordpress.com/1.0/gocomments/thejavablog.wordpress.com/354/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thejavablog.wordpress.com/354/" /></a> <a href="http://feeds.wordpress.com/1.0/godelicious/thejavablog.wordpress.com/354/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thejavablog.wordpress.com/354/" /></a> <a href="http://feeds.wordpress.com/1.0/gofacebook/thejavablog.wordpress.com/354/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thejavablog.wordpress.com/354/" /></a> <a href="http://feeds.wordpress.com/1.0/gotwitter/thejavablog.wordpress.com/354/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thejavablog.wordpress.com/354/" /></a> <a href="http://feeds.wordpress.com/1.0/gostumble/thejavablog.wordpress.com/354/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thejavablog.wordpress.com/354/" /></a> <a href="http://feeds.wordpress.com/1.0/godigg/thejavablog.wordpress.com/354/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thejavablog.wordpress.com/354/" /></a> <a href="http://feeds.wordpress.com/1.0/goreddit/thejavablog.wordpress.com/354/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thejavablog.wordpress.com/354/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thejavablog.wordpress.com&amp;blog=1995949&amp;post=354&amp;subd=thejavablog&amp;ref=&amp;feed=1" width="1" height="1" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.javaversion.com/2010/12/10/ora-12505-tnslistener-does-not-currently-know-of-sid-given-in-connect-descriptor/feed/</wfw:commentRss>
		</item>
		<item>
		<title>java.lang.ClassCastException: YOUR_REPORT_NAME_1290416522329_455758 cannot be cast to net.sf.jasperreports.engine.fill.JREvaluator</title>
		<link>http://www.javaversion.com/2010/12/04/javalangclasscastexception-your_report_name_1290416522329_455758-cannot-be-cast-to-netsfjasperreportsenginefilljrevaluator/</link>
		<comments>http://www.javaversion.com/2010/12/04/javalangclasscastexception-your_report_name_1290416522329_455758-cannot-be-cast-to-netsfjasperreportsenginefilljrevaluator/#comments</comments>
		<pubDate>Sat, 04 Dec 2010 07:00:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Java Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.javaversion.com/2010/12/04/javalangclasscastexception-your_report_name_1290416522329_455758-cannot-be-cast-to-netsfjasperreportsenginefilljrevaluator/</guid>
		<description><![CDATA[Another classloading issue. While jasper reports work fine on JBoss, on WebLogic they fail with the exception
net.sf.jasperreports.engine.JRException: Error loading expression class : MYREPORT_1290416522329_455758
&#8230;
Caused by: java.lang.ClassCastException: MYREPORT_1290416522329_455758 cannot be cast to net.sf.jasperreports.engine.fill.JREvaluator
        at net.sf.jasperreports.engine.design.JRAbstractJavaCompiler.loadEvaluator(JRAbstractJavaCompiler.java:101)
This is easily resolved. In my configuration it was just a matter of moving my jasper [...]]]></description>
			<content:encoded><![CDATA[<p>Another classloading issue. While jasper reports work fine on JBoss, on WebLogic they fail with the exception</p>
<p><code>net.sf.jasperreports.engine.JRException: Error loading expression class : MYREPORT_1290416522329_455758<br />
&#8230;<br />
Caused by: java.lang.ClassCastException: MYREPORT_1290416522329_455758 cannot be cast to net.sf.jasperreports.engine.fill.JREvaluator<br />
        at net.sf.jasperreports.engine.design.JRAbstractJavaCompiler.loadEvaluator(JRAbstractJavaCompiler.java:101)</code></p>
<p>This is easily resolved. In my configuration it was just a matter of moving my jasper jar file from the root of ear to the <code>WEB-INF/lib</code> folder of my web app, in order to be picked up by a different classloader. If this does not work try moving the jasper jar file around in different locations, one of them will work.</p>
<p>  <a href="http://feeds.wordpress.com/1.0/gocomments/thejavablog.wordpress.com/342/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thejavablog.wordpress.com/342/" /></a> <a href="http://feeds.wordpress.com/1.0/godelicious/thejavablog.wordpress.com/342/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thejavablog.wordpress.com/342/" /></a> <a href="http://feeds.wordpress.com/1.0/gofacebook/thejavablog.wordpress.com/342/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thejavablog.wordpress.com/342/" /></a> <a href="http://feeds.wordpress.com/1.0/gotwitter/thejavablog.wordpress.com/342/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thejavablog.wordpress.com/342/" /></a> <a href="http://feeds.wordpress.com/1.0/gostumble/thejavablog.wordpress.com/342/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thejavablog.wordpress.com/342/" /></a> <a href="http://feeds.wordpress.com/1.0/godigg/thejavablog.wordpress.com/342/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thejavablog.wordpress.com/342/" /></a> <a href="http://feeds.wordpress.com/1.0/goreddit/thejavablog.wordpress.com/342/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thejavablog.wordpress.com/342/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thejavablog.wordpress.com&amp;blog=1995949&amp;post=342&amp;subd=thejavablog&amp;ref=&amp;feed=1" width="1" height="1" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.javaversion.com/2010/12/04/javalangclasscastexception-your_report_name_1290416522329_455758-cannot-be-cast-to-netsfjasperreportsenginefilljrevaluator/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ClassNotFoundException: org.hibernate.hql.ast.HqlToken</title>
		<link>http://www.javaversion.com/2010/12/03/classnotfoundexception-orghibernatehqlasthqltoken/</link>
		<comments>http://www.javaversion.com/2010/12/03/classnotfoundexception-orghibernatehqlasthqltoken/#comments</comments>
		<pubDate>Fri, 03 Dec 2010 07:00:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Java Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.javaversion.com/2010/12/03/classnotfoundexception-orghibernatehqlasthqltoken/</guid>
		<description><![CDATA[Another exception under WebLogic server. This exception occurs because the default query factory class in persistence.xml is the org.hibernate.hql.ast.ASTQueryTranslatorFactory. As the name suggests this is a classpath issue. You might wondering why you get it since you have the hibernate jar file (the file that contains the HqlToken class) in your classpath. The reason is [...]]]></description>
			<content:encoded><![CDATA[<p>Another exception under WebLogic server. This exception occurs because the default query factory class in <code>persistence.xml</code> is the <code>org.hibernate.hql.ast.ASTQueryTranslatorFactory</code>. As the name suggests this is a classpath issue. You might wondering why you get it since you have the hibernate jar file (the file that contains the <code>HqlToken</code> class) in your classpath. The reason is that the weblogic.jar contains a version of <code>antlr.jar</code> which is loaded by a classloader, while the hibernate stuff are loaded by another classloader. So when the server runs it&#8217;s using the version of antlr bundled with weblogic which cannot see the hibernate classes. There are two solutions to this problem</p>
<p>1) Use a </p>
<pre>
&lt;property name=&quot;hibernate.query.factory_class&quot; value=&quot;org.hibernate.hql.classic.ClassicQueryTranslatorFactory&quot;/&gt;
</pre>
<p>instead of a </p>
<pre>
&lt;property name=&quot;hibernate.query.factory_class&quot; value=&quot;org.hibernate.hql.ast.ASTQueryTranslatorFactory&quot;/&gt;
</pre>
<p>in your <code>persistence.xml</code>. This will solve the problem but you will have additional issues if you use <code>Enums</code> as parameters to queries (like I do) since I found out the the <code>ClassicQueryTranslatorFactory</code> has problems translating <code>Enum</code> data types to parameters (instead it translates them as bytes, unless you pass the actual value itself and not the <code>Enum</code> object).</p>
<p>2) </p>
<p>Add Hibernate&#8217;s antlr jar file as first entry in the classpath (in your <code>startWeblogic</code> script of your domain&#8217;s <code>bin</code> folder) and force weblogic to use this instead. I copied it into the <code>common/lib</code> folder and used</p>
<p><code>set CLASSPATH=%WL_HOME%\common\lib\antlr-2.7.6.jar;%SAVE_CLASSPATH%</code></p>
<p>There is another solution suggested, to add the following </p>
<pre>
    &lt;prefer-application-packages&gt;
        &lt;package-name&gt;antlr.*&lt;/package-name&gt;
    &lt;/prefer-application-packages&gt;
</pre>
<p>in your <code>weblogic-application.xml</code>, but for some reason this did not work for me.</p>
<p>  <a href="http://feeds.wordpress.com/1.0/gocomments/thejavablog.wordpress.com/331/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thejavablog.wordpress.com/331/" /></a> <a href="http://feeds.wordpress.com/1.0/godelicious/thejavablog.wordpress.com/331/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thejavablog.wordpress.com/331/" /></a> <a href="http://feeds.wordpress.com/1.0/gofacebook/thejavablog.wordpress.com/331/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/thejavablog.wordpress.com/331/" /></a> <a href="http://feeds.wordpress.com/1.0/gotwitter/thejavablog.wordpress.com/331/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/thejavablog.wordpress.com/331/" /></a> <a href="http://feeds.wordpress.com/1.0/gostumble/thejavablog.wordpress.com/331/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thejavablog.wordpress.com/331/" /></a> <a href="http://feeds.wordpress.com/1.0/godigg/thejavablog.wordpress.com/331/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thejavablog.wordpress.com/331/" /></a> <a href="http://feeds.wordpress.com/1.0/goreddit/thejavablog.wordpress.com/331/" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/feeds.wordpress.com');"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thejavablog.wordpress.com/331/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thejavablog.wordpress.com&amp;blog=1995949&amp;post=331&amp;subd=thejavablog&amp;ref=&amp;feed=1" width="1" height="1" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.javaversion.com/2010/12/03/classnotfoundexception-orghibernatehqlasthqltoken/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

