<?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: Hibernate exception when loading more than one collection</title> <atom:link href="http://iderror.com/errors/java/java_hibernate/hibernate-exception-when-loading-more-than-one-collection/feed/" rel="self" type="application/rss+xml" /><link>http://iderror.com/errors/java/java_hibernate/hibernate-exception-when-loading-more-than-one-collection/</link> <description>You have errors, we have solutions!</description> <lastBuildDate>Fri, 10 Jun 2011 15:06:54 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.2.1</generator> <item><title>By: admin</title><link>http://iderror.com/errors/java/java_hibernate/hibernate-exception-when-loading-more-than-one-collection/comment-page-1/#comment-7893</link> <dc:creator>admin</dc:creator> <pubDate>Fri, 20 Mar 2009 10:28:59 +0000</pubDate> <guid
isPermaLink="false">http://localhost/idError/?p=7964#comment-7893</guid> <description>Here are the solutions:
a. do not use a bag semantic: use a Set or a List annotated with @IndexColumn
b. use a @CollectionId
c. use @FetchMode(SELECT) or @FetchMode(SUBSELECT)
The underlying reason is that you cannot load more than one bag semantic collection in a given SQL query conceptually, so you won&#039;t find this feature in other products either.</description> <content:encoded><![CDATA[<p>Here are the solutions:<br
/> a. do not use a bag semantic: use a Set or a List annotated with @IndexColumn<br
/> b. use a @CollectionId<br
/> c. use @FetchMode(SELECT) or @FetchMode(SUBSELECT)<br
/> The underlying reason is that you cannot load more than one bag semantic collection in a given SQL query conceptually, so you won&#8217;t find this feature in other products either.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: iderror.com @ 2012-02-10 04:04:00 -->
