<?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 on: Co-existence with Hibernate, JPA, and EJB3</title>
	<atom:link href="http://bill.burkecentral.com/2007/07/06/co-existence-with-hibernate-jpa-and-ejb3/feed/" rel="self" type="application/rss+xml" />
	<link>http://bill.burkecentral.com/2007/07/06/co-existence-with-hibernate-jpa-and-ejb3/</link>
	<description>Software plumbing using middleware wrenches</description>
	<lastBuildDate>Sat, 14 Aug 2010 05:26:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Carlos Rafael Ramirez</title>
		<link>http://bill.burkecentral.com/2007/07/06/co-existence-with-hibernate-jpa-and-ejb3/#comment-3597</link>
		<dc:creator>Carlos Rafael Ramirez</dc:creator>
		<pubDate>Mon, 03 May 2010 21:05:48 +0000</pubDate>
		<guid isPermaLink="false">http://billburke.wordpress.com/2007/07/06/co-existence-with-hibernate-jpa-and-ejb3/#comment-3597</guid>
		<description>Bill Very good post thanks,

One question for you. 

If I use a JTA transaction either Entityanager or Hibernate session behave in same way.

But if I annotate the method using:

&lt;code&gt;@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)&lt;/code&gt; (I don&#039;t want to use transactions)

the entityManager.find method and session.get method with same parameters behave different due to, the object returned by find method throws Lazy exceptions in collections (in the same method in session bean) and the object obtained via get method behaves without problem.

Any explanation for this strange behaviour?

Regards,
Carlos</description>
		<content:encoded><![CDATA[<p>Bill Very good post thanks,</p>
<p>One question for you. </p>
<p>If I use a JTA transaction either Entityanager or Hibernate session behave in same way.</p>
<p>But if I annotate the method using:</p>
<p><code>@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)</code> (I don&#8217;t want to use transactions)</p>
<p>the entityManager.find method and session.get method with same parameters behave different due to, the object returned by find method throws Lazy exceptions in collections (in the same method in session bean) and the object obtained via get method behaves without problem.</p>
<p>Any explanation for this strange behaviour?</p>
<p>Regards,<br />
Carlos</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Chang</title>
		<link>http://bill.burkecentral.com/2007/07/06/co-existence-with-hibernate-jpa-and-ejb3/#comment-3400</link>
		<dc:creator>Michael Chang</dc:creator>
		<pubDate>Tue, 23 Mar 2010 18:19:06 +0000</pubDate>
		<guid isPermaLink="false">http://billburke.wordpress.com/2007/07/06/co-existence-with-hibernate-jpa-and-ejb3/#comment-3400</guid>
		<description>Bill,

Nice post, thanks.  It was exactly what I was looking for: a way to mix and match JPA and pure Hibernate.  JPA is fine, and I&#039;m using it exclusively in an application right now.  However, I&#039;ve recently seen the power of the Hibernate Criteria API as well as the Hibernate JPA extensions, and it&#039;s inspired me to attempt to mix the two together, especially in my service layer where I do all of my CRUD.  Hibernate is an old player in the ORM world, and it&#039;s got tricks up its sleeves that JPA can&#039;t match.</description>
		<content:encoded><![CDATA[<p>Bill,</p>
<p>Nice post, thanks.  It was exactly what I was looking for: a way to mix and match JPA and pure Hibernate.  JPA is fine, and I&#8217;m using it exclusively in an application right now.  However, I&#8217;ve recently seen the power of the Hibernate Criteria API as well as the Hibernate JPA extensions, and it&#8217;s inspired me to attempt to mix the two together, especially in my service layer where I do all of my CRUD.  Hibernate is an old player in the ORM world, and it&#8217;s got tricks up its sleeves that JPA can&#8217;t match.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sylvie</title>
		<link>http://bill.burkecentral.com/2007/07/06/co-existence-with-hibernate-jpa-and-ejb3/#comment-2851</link>
		<dc:creator>Sylvie</dc:creator>
		<pubDate>Mon, 13 Jul 2009 08:01:26 +0000</pubDate>
		<guid isPermaLink="false">http://billburke.wordpress.com/2007/07/06/co-existence-with-hibernate-jpa-and-ejb3/#comment-2851</guid>
		<description>Thanks.

I try to make  a basic  web application based on JAVA , JSP , Servlet  , EJB3.0 , hibernate ... using  Eclipse Ganymede  AS5.0 ,   and so on ...and I found this is quite complicated to get the information I need . 

So  many thanks to make thinks clearer.</description>
		<content:encoded><![CDATA[<p>Thanks.</p>
<p>I try to make  a basic  web application based on JAVA , JSP , Servlet  , EJB3.0 , hibernate &#8230; using  Eclipse Ganymede  AS5.0 ,   and so on &#8230;and I found this is quite complicated to get the information I need . </p>
<p>So  many thanks to make thinks clearer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alessandro Ilardo</title>
		<link>http://bill.burkecentral.com/2007/07/06/co-existence-with-hibernate-jpa-and-ejb3/#comment-2847</link>
		<dc:creator>Alessandro Ilardo</dc:creator>
		<pubDate>Sun, 28 Jun 2009 12:17:35 +0000</pubDate>
		<guid isPermaLink="false">http://billburke.wordpress.com/2007/07/06/co-existence-with-hibernate-jpa-and-ejb3/#comment-2847</guid>
		<description>Someone pointed out that the following method is not portable across different application servers using Hibernate.
What&#039;s your consideration? Which approach would you suggest if we want to obtain such object from the entity manager.
BTW, great article.

org.hibernate.Session session = (Session)manager.getDelegate();</description>
		<content:encoded><![CDATA[<p>Someone pointed out that the following method is not portable across different application servers using Hibernate.<br />
What&#8217;s your consideration? Which approach would you suggest if we want to obtain such object from the entity manager.<br />
BTW, great article.</p>
<p>org.hibernate.Session session = (Session)manager.getDelegate();</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jing</title>
		<link>http://bill.burkecentral.com/2007/07/06/co-existence-with-hibernate-jpa-and-ejb3/#comment-2829</link>
		<dc:creator>Jing</dc:creator>
		<pubDate>Mon, 15 Jun 2009 08:03:53 +0000</pubDate>
		<guid isPermaLink="false">http://billburke.wordpress.com/2007/07/06/co-existence-with-hibernate-jpa-and-ejb3/#comment-2829</guid>
		<description>Bill, thanks for the post, it&#039;s quite helpful! I am wonder if Jboss has a way to support multiple persist unit WITHOUT Seam? such as has multiple data source in oracle-ds.xml, and map to persistence.xml as multiple , I guess need , and use EntityManager em =  (EntityManager) context.lookup(MyEntityManger);

I tried that, but only got the first manager in the list, do I have to use Seam and component.xml?
Can you post the implementation if there is a way?

Thanks</description>
		<content:encoded><![CDATA[<p>Bill, thanks for the post, it&#8217;s quite helpful! I am wonder if Jboss has a way to support multiple persist unit WITHOUT Seam? such as has multiple data source in oracle-ds.xml, and map to persistence.xml as multiple , I guess need , and use EntityManager em =  (EntityManager) context.lookup(MyEntityManger);</p>
<p>I tried that, but only got the first manager in the list, do I have to use Seam and component.xml?<br />
Can you post the implementation if there is a way?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ray</title>
		<link>http://bill.burkecentral.com/2007/07/06/co-existence-with-hibernate-jpa-and-ejb3/#comment-1835</link>
		<dc:creator>Ray</dc:creator>
		<pubDate>Sun, 16 Mar 2008 11:28:43 +0000</pubDate>
		<guid isPermaLink="false">http://billburke.wordpress.com/2007/07/06/co-existence-with-hibernate-jpa-and-ejb3/#comment-1835</guid>
		<description>Thanks for that info Bill, I&#039;m liking Hibernate over JPA already :o)</description>
		<content:encoded><![CDATA[<p>Thanks for that info Bill, I&#8217;m liking Hibernate over JPA already <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: billburke</title>
		<link>http://bill.burkecentral.com/2007/07/06/co-existence-with-hibernate-jpa-and-ejb3/#comment-1833</link>
		<dc:creator>billburke</dc:creator>
		<pubDate>Sat, 15 Mar 2008 16:43:20 +0000</pubDate>
		<guid isPermaLink="false">http://billburke.wordpress.com/2007/07/06/co-existence-with-hibernate-jpa-and-ejb3/#comment-1833</guid>
		<description>Ray, why Hibernate of JPA.  Hibernate is a superset of JPA.  it has things like a Criteria API and more complex mapping options than JPA as well as funkier caching strategies like query caching.</description>
		<content:encoded><![CDATA[<p>Ray, why Hibernate of JPA.  Hibernate is a superset of JPA.  it has things like a Criteria API and more complex mapping options than JPA as well as funkier caching strategies like query caching.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ray</title>
		<link>http://bill.burkecentral.com/2007/07/06/co-existence-with-hibernate-jpa-and-ejb3/#comment-1832</link>
		<dc:creator>Ray</dc:creator>
		<pubDate>Sat, 15 Mar 2008 12:42:53 +0000</pubDate>
		<guid isPermaLink="false">http://billburke.wordpress.com/2007/07/06/co-existence-with-hibernate-jpa-and-ejb3/#comment-1832</guid>
		<description>Thanks for such a great post Angry Bill! I&#039;m new to Hibernate, JPA &amp; EJB3 and with so many options it can be quite difficult to get an understanding of how to integrate the API&#039;s and which strategy to use. Do you know of a resource that gives info on reasons to choose Hibernate over the standard JPA?</description>
		<content:encoded><![CDATA[<p>Thanks for such a great post Angry Bill! I&#8217;m new to Hibernate, JPA &amp; EJB3 and with so many options it can be quite difficult to get an understanding of how to integrate the API&#8217;s and which strategy to use. Do you know of a resource that gives info on reasons to choose Hibernate over the standard JPA?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carol</title>
		<link>http://bill.burkecentral.com/2007/07/06/co-existence-with-hibernate-jpa-and-ejb3/#comment-15</link>
		<dc:creator>Carol</dc:creator>
		<pubDate>Mon, 23 Jul 2007 14:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://billburke.wordpress.com/2007/07/06/co-existence-with-hibernate-jpa-and-ejb3/#comment-15</guid>
		<description>query.setHint(&quot;org.hiberante.cacheable&quot;, true);&lt;br/&gt;&lt;br/&gt;Small correction &lt;br/&gt;query.setHint(&quot;org.hibernate.cacheable&quot;, true);  ?</description>
		<content:encoded><![CDATA[<p>query.setHint(&#8220;org.hiberante.cacheable&#8221;, true);</p>
<p>Small correction <br />query.setHint(&#8220;org.hibernate.cacheable&#8221;, true);  ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
