Does the jakarta persistence API support org.hibernate.ogm.jpa.HibernateOgmPersistence?

167 Views Asked by At

I am using hibernate-ogm-neo4j(v.5.4.1.Final) and I have setup a persistence.xml with org.hibernate.ogm.jpa.HibernateOgmPersistence provider. When I tried to instantiate an EntityManagerFactory from the jakarta persistence API 3.0 I received this error: jakarta.persistence.PersistenceException: No Persistence provider for EntityManager named <persistence_unit_name>.

So my question here is: Does the hibernate-ogm-* supports jakarta 3.0 implementation to be able to create an EntityManager for that provider: HibernateOgmPersistence?

Thanks.

1

There are 1 best solutions below

0
NOTiFY On

I'd migrated from 'Hibernate OGM' to Morphia:

morphia.dev/morphia/2.3/quicktour.html

I wrote a small piece on my website:

notify.co.uk/code-from-two-islands