<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-6656477858173203405.post1554847065590544624..comments</id><updated>2011-05-12T07:22:46.738-04:00</updated><category term='sun oracle java glassfish netbeans'/><category term='jax-rpc'/><category term='jsf'/><category term='java iphone ipad'/><category term='personal'/><category term='java'/><category term='windows service'/><category term='jaxb'/><category term='security'/><category term='conspiracy'/><category term='jax-rs'/><category term='glassfish'/><category term='maven'/><category term='sailing'/><category term='vintage computers'/><category term='alien'/><category term='netbeans'/><category term='ufo'/><category term='scrum'/><category term='agile'/><category term='jpa'/><category term='spring'/><category term='java ee'/><category term='jca'/><category term='j2ee'/><category term='solaris'/><category term='jax-ws'/><title type='text'>Comments on ryandelaplante.com: How to use GlassFish managed JPA EntityManagers in...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.ryandelaplante.com/feeds/1554847065590544624/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6656477858173203405/1554847065590544624/comments/default'/><link rel='alternate' type='text/html' href='http://www.ryandelaplante.com/2009/08/how-to-use-glassfish-managed-jpa.html'/><author><name>Ryan de Laplante</name><uri>http://www.blogger.com/profile/13440971336746246851</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_j2rus_Nv1d8/SnuWizDKzfI/AAAAAAAAA08/w0F0UZszVTo/s1600-R/ryan.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>14</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6656477858173203405.post-3021007036228751837</id><published>2011-05-20T14:50:26.046-04:00</published><updated>2011-05-20T14:50:26.046-04:00</updated><title type='text'>Hi Ryan,

Thanks for this valuable post, it really...</title><content type='html'>Hi Ryan,&lt;br /&gt;&lt;br /&gt;Thanks for this valuable post, it really saves a lot of my time. Only question is can you show me your declaration for &amp;quot;entitymanagerfactory&amp;quot; in spring?&lt;br /&gt;&lt;br /&gt;Thanks</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6656477858173203405/1554847065590544624/comments/default/3021007036228751837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6656477858173203405/1554847065590544624/comments/default/3021007036228751837'/><link rel='alternate' type='text/html' href='http://www.ryandelaplante.com/2009/08/how-to-use-glassfish-managed-jpa.html?showComment=1305917426046#c3021007036228751837' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.ryandelaplante.com/2009/08/how-to-use-glassfish-managed-jpa.html' ref='tag:blogger.com,1999:blog-6656477858173203405.post-1554847065590544624' source='http://www.blogger.com/feeds/6656477858173203405/posts/default/1554847065590544624' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-716078835'/></entry><entry><id>tag:blogger.com,1999:blog-6656477858173203405.post-2105179601323623086</id><published>2011-05-12T07:22:46.738-04:00</published><updated>2011-05-12T07:22:46.738-04:00</updated><title type='text'>Only now saw that some of my message was blocked b...</title><content type='html'>Only now saw that some of my message was blocked before the &amp;quot;&amp;quot; element is of course the persistence-unit-ref element</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6656477858173203405/1554847065590544624/comments/default/2105179601323623086'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6656477858173203405/1554847065590544624/comments/default/2105179601323623086'/><link rel='alternate' type='text/html' href='http://www.ryandelaplante.com/2009/08/how-to-use-glassfish-managed-jpa.html?showComment=1305199366738#c2105179601323623086' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.ryandelaplante.com/2009/08/how-to-use-glassfish-managed-jpa.html' ref='tag:blogger.com,1999:blog-6656477858173203405.post-1554847065590544624' source='http://www.blogger.com/feeds/6656477858173203405/posts/default/1554847065590544624' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1423497629'/></entry><entry><id>tag:blogger.com,1999:blog-6656477858173203405.post-42119249152087740</id><published>2011-05-12T06:16:27.878-04:00</published><updated>2011-05-12T06:16:27.878-04:00</updated><title type='text'>Hi Ryan,
Thanks a lot for your post, it&amp;#39;s a lo...</title><content type='html'>Hi Ryan,&lt;br /&gt;Thanks a lot for your post, it&amp;#39;s a lot of help but I have a question: How should I use this when I&amp;#39;m running an EAR with no WAR? There is no web.xml file to put the &amp;quot;&amp;quot; element in and I&amp;#39;m not sure where I can use it.&lt;br /&gt;Do you have any leads for me?&lt;br /&gt;Thanks in advance,&lt;br /&gt;Ittai</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6656477858173203405/1554847065590544624/comments/default/42119249152087740'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6656477858173203405/1554847065590544624/comments/default/42119249152087740'/><link rel='alternate' type='text/html' href='http://www.ryandelaplante.com/2009/08/how-to-use-glassfish-managed-jpa.html?showComment=1305195387878#c42119249152087740' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.ryandelaplante.com/2009/08/how-to-use-glassfish-managed-jpa.html' ref='tag:blogger.com,1999:blog-6656477858173203405.post-1554847065590544624' source='http://www.blogger.com/feeds/6656477858173203405/posts/default/1554847065590544624' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1423497629'/></entry><entry><id>tag:blogger.com,1999:blog-6656477858173203405.post-5925529775387768597</id><published>2010-09-02T05:06:28.185-04:00</published><updated>2010-09-02T05:06:28.185-04:00</updated><title type='text'>...somehow it does not permit code to be inserted....</title><content type='html'>...somehow it does not permit code to be inserted...&amp;quot;jee:jndi-lookup id=&amp;quot;MyPU1&amp;quot; jndi-name=&amp;quot;persistence/MyPU1&amp;quot;&amp;quot; with tags...</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6656477858173203405/1554847065590544624/comments/default/5925529775387768597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6656477858173203405/1554847065590544624/comments/default/5925529775387768597'/><link rel='alternate' type='text/html' href='http://www.ryandelaplante.com/2009/08/how-to-use-glassfish-managed-jpa.html?showComment=1283418388185#c5925529775387768597' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.ryandelaplante.com/2009/08/how-to-use-glassfish-managed-jpa.html' ref='tag:blogger.com,1999:blog-6656477858173203405.post-1554847065590544624' source='http://www.blogger.com/feeds/6656477858173203405/posts/default/1554847065590544624' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1333729753'/></entry><entry><id>tag:blogger.com,1999:blog-6656477858173203405.post-7031804318333160803</id><published>2010-09-02T05:04:12.149-04:00</published><updated>2010-09-02T05:04:12.149-04:00</updated><title type='text'>Thanks a lot - it saves all the time... Just one n...</title><content type='html'>Thanks a lot - it saves all the time... Just one note - probably it is better to add smth like this to have all-in-one:&lt;br /&gt; and ?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6656477858173203405/1554847065590544624/comments/default/7031804318333160803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6656477858173203405/1554847065590544624/comments/default/7031804318333160803'/><link rel='alternate' type='text/html' href='http://www.ryandelaplante.com/2009/08/how-to-use-glassfish-managed-jpa.html?showComment=1283418252149#c7031804318333160803' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.ryandelaplante.com/2009/08/how-to-use-glassfish-managed-jpa.html' ref='tag:blogger.com,1999:blog-6656477858173203405.post-1554847065590544624' source='http://www.blogger.com/feeds/6656477858173203405/posts/default/1554847065590544624' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1333729753'/></entry><entry><id>tag:blogger.com,1999:blog-6656477858173203405.post-255384836149303628</id><published>2010-04-15T02:11:59.731-04:00</published><updated>2010-04-15T02:11:59.731-04:00</updated><title type='text'>thank u i got. i have not configure the EVoucherPU...</title><content type='html'>thank u i got. i have not configure the EVoucherPU in the spring thank u for u reply and thank u for this post it helped me a lot ones again thank u.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6656477858173203405/1554847065590544624/comments/default/255384836149303628'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6656477858173203405/1554847065590544624/comments/default/255384836149303628'/><link rel='alternate' type='text/html' href='http://www.ryandelaplante.com/2009/08/how-to-use-glassfish-managed-jpa.html?showComment=1271311919731#c255384836149303628' title=''/><author><name>seshu</name><uri>http://www.blogger.com/profile/04968014474668600500</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.ryandelaplante.com/2009/08/how-to-use-glassfish-managed-jpa.html' ref='tag:blogger.com,1999:blog-6656477858173203405.post-1554847065590544624' source='http://www.blogger.com/feeds/6656477858173203405/posts/default/1554847065590544624' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-296793079'/></entry><entry><id>tag:blogger.com,1999:blog-6656477858173203405.post-2977565897198651846</id><published>2010-04-14T23:51:43.966-04:00</published><updated>2010-04-14T23:51:43.966-04:00</updated><title type='text'>Are you using GlassFish? Did you configure Spring ...</title><content type='html'>Are you using GlassFish? Did you configure Spring to know about both persistence units? In my example they were called MyPU1 and MyPU2.  Also, in your code are you specifying the persistence unit name like this:  @PersistenceContext(unitName = &amp;quot;EVoucherPU&amp;quot;)  I&amp;#39;m not sure what else to ask because the above configuration works for me on several projects. &lt;br /&gt;&lt;br /&gt;@Mathew: sorry I don&amp;#39;t have a sample project.  It was copied from a closed source project and modified for this blog entry.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6656477858173203405/1554847065590544624/comments/default/2977565897198651846'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6656477858173203405/1554847065590544624/comments/default/2977565897198651846'/><link rel='alternate' type='text/html' href='http://www.ryandelaplante.com/2009/08/how-to-use-glassfish-managed-jpa.html?showComment=1271303503966#c2977565897198651846' title=''/><author><name>Ryan de Laplante</name><uri>http://www.blogger.com/profile/13440971336746246851</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_j2rus_Nv1d8/SnuWizDKzfI/AAAAAAAAA08/w0F0UZszVTo/s1600-R/ryan.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.ryandelaplante.com/2009/08/how-to-use-glassfish-managed-jpa.html' ref='tag:blogger.com,1999:blog-6656477858173203405.post-1554847065590544624' source='http://www.blogger.com/feeds/6656477858173203405/posts/default/1554847065590544624' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-727033888'/></entry><entry><id>tag:blogger.com,1999:blog-6656477858173203405.post-8541091901630567801</id><published>2010-04-14T23:46:42.664-04:00</published><updated>2010-04-14T23:46:42.664-04:00</updated><title type='text'>hi Ryan 
 i have configured my application same li...</title><content type='html'>hi Ryan &lt;br /&gt; i have configured my application same like the above mentioned but when i am running the application i am get an error say No bean named &amp;#39;EVoucherPU&amp;#39; i am using two persistence units named BackOfficePU and EVoucherPU when i remove BackOfficePU or EVoucherPU it runs fine. ie only on single persistence it is running. please help me to overcome this issue Thanks seshu</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6656477858173203405/1554847065590544624/comments/default/8541091901630567801'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6656477858173203405/1554847065590544624/comments/default/8541091901630567801'/><link rel='alternate' type='text/html' href='http://www.ryandelaplante.com/2009/08/how-to-use-glassfish-managed-jpa.html?showComment=1271303202664#c8541091901630567801' title=''/><author><name>seshu</name><uri>http://www.blogger.com/profile/04968014474668600500</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.ryandelaplante.com/2009/08/how-to-use-glassfish-managed-jpa.html' ref='tag:blogger.com,1999:blog-6656477858173203405.post-1554847065590544624' source='http://www.blogger.com/feeds/6656477858173203405/posts/default/1554847065590544624' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-296793079'/></entry><entry><id>tag:blogger.com,1999:blog-6656477858173203405.post-1604303010465495633</id><published>2010-04-13T11:29:22.742-04:00</published><updated>2010-04-13T11:29:22.742-04:00</updated><title type='text'>Do you have a complete project we can download to ...</title><content type='html'>Do you have a complete project we can download to see how this all works?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6656477858173203405/1554847065590544624/comments/default/1604303010465495633'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6656477858173203405/1554847065590544624/comments/default/1604303010465495633'/><link rel='alternate' type='text/html' href='http://www.ryandelaplante.com/2009/08/how-to-use-glassfish-managed-jpa.html?showComment=1271172562742#c1604303010465495633' title=''/><author><name>Matthew</name><uri>http://www.blogger.com/profile/01054028024191339214</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.ryandelaplante.com/2009/08/how-to-use-glassfish-managed-jpa.html' ref='tag:blogger.com,1999:blog-6656477858173203405.post-1554847065590544624' source='http://www.blogger.com/feeds/6656477858173203405/posts/default/1554847065590544624' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-316097909'/></entry><entry><id>tag:blogger.com,1999:blog-6656477858173203405.post-4221191353745254931</id><published>2010-02-01T15:13:50.651-05:00</published><updated>2010-02-01T15:13:50.651-05:00</updated><title type='text'>I agree with you about Spring&amp;#39;s doc.

I&amp;#39;ve...</title><content type='html'>I agree with you about Spring&amp;#39;s doc.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve always been working with EJB and I begin with Spring.&lt;br /&gt;&lt;br /&gt;In these few days, I feel that to give a single step means &amp;#39;more effort and risk that goes wrong&amp;#39;.&lt;br /&gt;&lt;br /&gt;Maybe it&amp;#39;s just the beginning and then see more clearly :P:P&lt;br /&gt;&lt;br /&gt;Thanks again.&lt;br /&gt;              Jes. G.P.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6656477858173203405/1554847065590544624/comments/default/4221191353745254931'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6656477858173203405/1554847065590544624/comments/default/4221191353745254931'/><link rel='alternate' type='text/html' href='http://www.ryandelaplante.com/2009/08/how-to-use-glassfish-managed-jpa.html?showComment=1265055230651#c4221191353745254931' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.ryandelaplante.com/2009/08/how-to-use-glassfish-managed-jpa.html' ref='tag:blogger.com,1999:blog-6656477858173203405.post-1554847065590544624' source='http://www.blogger.com/feeds/6656477858173203405/posts/default/1554847065590544624' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1616761291'/></entry><entry><id>tag:blogger.com,1999:blog-6656477858173203405.post-8530331007131445948</id><published>2010-01-30T07:53:40.350-05:00</published><updated>2010-01-30T07:53:40.350-05:00</updated><title type='text'>Great, I am happy to have been able to help you.  ...</title><content type='html'>Great, I am happy to have been able to help you.   I think I do understand how much I helped you because I spent weeks screwing around with Spring XML config files and in forums trying to get JPA + JTA working before I found the solution in this blog entry. That experience made me realize how much simpler Java EE can be, because everything works out of the box -- no integrations necessary. SpringSource&amp;#39;s documentation assumes you are running in Tomcat and doesn&amp;#39;t help in scenarios like this one.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6656477858173203405/1554847065590544624/comments/default/8530331007131445948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6656477858173203405/1554847065590544624/comments/default/8530331007131445948'/><link rel='alternate' type='text/html' href='http://www.ryandelaplante.com/2009/08/how-to-use-glassfish-managed-jpa.html?showComment=1264856020350#c8530331007131445948' title=''/><author><name>Ryan de Laplante</name><uri>http://www.blogger.com/profile/13440971336746246851</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_j2rus_Nv1d8/SnuWizDKzfI/AAAAAAAAA08/w0F0UZszVTo/s1600-R/ryan.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.ryandelaplante.com/2009/08/how-to-use-glassfish-managed-jpa.html' ref='tag:blogger.com,1999:blog-6656477858173203405.post-1554847065590544624' source='http://www.blogger.com/feeds/6656477858173203405/posts/default/1554847065590544624' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-727033888'/></entry><entry><id>tag:blogger.com,1999:blog-6656477858173203405.post-4015649855461075171</id><published>2010-01-30T06:21:16.230-05:00</published><updated>2010-01-30T06:21:16.230-05:00</updated><title type='text'>Thank you very much, really.

In every forum I rea...</title><content type='html'>Thank you very much, really.&lt;br /&gt;&lt;br /&gt;In every forum I read, I was given many solutions to change Spring File Config, but none worked for me. I was desperate&lt;br /&gt;&lt;br /&gt;Do not know how much you have helped me.&lt;br /&gt;&lt;br /&gt;Thanks again from Spain. Jes.G.P.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6656477858173203405/1554847065590544624/comments/default/4015649855461075171'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6656477858173203405/1554847065590544624/comments/default/4015649855461075171'/><link rel='alternate' type='text/html' href='http://www.ryandelaplante.com/2009/08/how-to-use-glassfish-managed-jpa.html?showComment=1264850476230#c4015649855461075171' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.ryandelaplante.com/2009/08/how-to-use-glassfish-managed-jpa.html' ref='tag:blogger.com,1999:blog-6656477858173203405.post-1554847065590544624' source='http://www.blogger.com/feeds/6656477858173203405/posts/default/1554847065590544624' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1990368908'/></entry><entry><id>tag:blogger.com,1999:blog-6656477858173203405.post-1563276760747327999</id><published>2010-01-29T08:07:19.958-05:00</published><updated>2010-01-29T08:07:19.958-05:00</updated><title type='text'>Since you are using Hibernate instead of the defau...</title><content type='html'>Since you are using Hibernate instead of the default JPA provider, you need to tell  Hibernate what transaction manager to use.  In your persistence.xml, make sure Hibernate has this property:&lt;br /&gt;&lt;br /&gt;&amp;lt;property name=&amp;quot;hibernate.transaction.manager_lookup_class&amp;quot; value=&amp;quot;org.hibernate.transaction.SunONETransactionManagerLookup&amp;quot;/&amp;gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6656477858173203405/1554847065590544624/comments/default/1563276760747327999'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6656477858173203405/1554847065590544624/comments/default/1563276760747327999'/><link rel='alternate' type='text/html' href='http://www.ryandelaplante.com/2009/08/how-to-use-glassfish-managed-jpa.html?showComment=1264770439958#c1563276760747327999' title=''/><author><name>Ryan de Laplante</name><uri>http://www.blogger.com/profile/13440971336746246851</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_j2rus_Nv1d8/SnuWizDKzfI/AAAAAAAAA08/w0F0UZszVTo/s1600-R/ryan.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.ryandelaplante.com/2009/08/how-to-use-glassfish-managed-jpa.html' ref='tag:blogger.com,1999:blog-6656477858173203405.post-1554847065590544624' source='http://www.blogger.com/feeds/6656477858173203405/posts/default/1554847065590544624' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-727033888'/></entry><entry><id>tag:blogger.com,1999:blog-6656477858173203405.post-4880407467039650473</id><published>2010-01-29T07:59:14.019-05:00</published><updated>2010-01-29T07:59:14.019-05:00</updated><title type='text'>Hello Ryan.

Thanks for this entry. I&amp;#39;ve a pro...</title><content type='html'>Hello Ryan.&lt;br /&gt;&lt;br /&gt;Thanks for this entry. I&amp;#39;ve a project with this configuration (mmm..sorry for my english)...&lt;br /&gt;&lt;br /&gt;In persistence file, JTA is defined with jta-data-source...&lt;br /&gt;&lt;br /&gt;I include in Spring config file the lines that you says, but when I start, I always get this error:&lt;br /&gt;&lt;br /&gt;I have read 1000 post in 1000 forum, but cannot make this work...&lt;br /&gt;&lt;br /&gt;&amp;quot;When I start, I always get this error:&lt;br /&gt;org.hibernate.HibernateException: The chose transaction estrategy requires access to the JTA transaction manager..&amp;quot;&lt;br /&gt;&lt;br /&gt;Thanks. JGP.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6656477858173203405/1554847065590544624/comments/default/4880407467039650473'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6656477858173203405/1554847065590544624/comments/default/4880407467039650473'/><link rel='alternate' type='text/html' href='http://www.ryandelaplante.com/2009/08/how-to-use-glassfish-managed-jpa.html?showComment=1264769954019#c4880407467039650473' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.ryandelaplante.com/2009/08/how-to-use-glassfish-managed-jpa.html' ref='tag:blogger.com,1999:blog-6656477858173203405.post-1554847065590544624' source='http://www.blogger.com/feeds/6656477858173203405/posts/default/1554847065590544624' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-921325070'/></entry></feed>
