aspose file tools*
The moose likes Object Relational Mapping and the fly likes Websphere 6.1 + Hibernate 3.5 + JPA 2.0 not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Websphere 6.1 + Hibernate 3.5 + JPA 2.0 not working" Watch "Websphere 6.1 + Hibernate 3.5 + JPA 2.0 not working" New topic
Author

Websphere 6.1 + Hibernate 3.5 + JPA 2.0 not working

K Mansoor
Ranch Hand

Joined: Jan 10, 2006
Posts: 52
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

Joined: Mar 30, 2011
Posts: 1
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

Joined: Jan 10, 2006
Posts: 52
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Websphere 6.1 + Hibernate 3.5 + JPA 2.0 not working