• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Websphere 6.1 + Hibernate 3.5 + JPA 2.0 not working

 
K Mansoor
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm getting an error, "The server cannot create an EntityManangerFactory", while trying to use Hibernate 3.5 with Websphere 6.1.

[11/18/10 13:36:49:193 EST] 00000027 JPAPUnitInfo E CWWJP0009E: The server cannot create an EntityManangerFactory factory for the TestPersistenceUnit persistent unit from the org.hibernate.ejb.HibernatePersistence provider in file:/C:/ws_workspace/HibernateWAS_EJB/ejbModule/ module.


Has anybody any pointers?
Please help.
 
Antoine Elric
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mister Mansoor,

I need to use Hibernate 3.5 of JPA with WAS 6.1 (but without EJB 3). So I contact you to know if you finally have solve your error ?

Regards,

Antoine
 
K Mansoor
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
WebSphere 6.1 does not support JPA 2.0. WebSphere 7.0 (with OSGi and JPA 2.0 pack) does.

You may find it a bit hard to use hibernate with WebSphere, IBM pushes it's implementation, OpenJPA.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic