File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Container managed Entitymanager

 
dnyan ginde
Ranch Hand
Posts: 68
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

Has anyone tried to obtain container managed EntityManager instance using JNDI lookup from a EJB 2.1 Session Bean on Websphere?
I could do this on JBoss by adding a property in persistence.xml file .
However, I couldn't figure out a way to do the same on Websphere 6.1.0.15 with EJB3 feature pack. Can someone guide me in this regard?

Regards,

Dnyanesh
 
dnyan ginde
Ranch Hand
Posts: 68
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting the following exception:



I have provided the correct value for the element in the persistence.xml to use Hibernate persistence.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic