Messieurs-dames,
As I could not find much clues about the right way to do it, here I come:
I'm trying to get an EntityManagerFactory properly setup from the
Persistence class, but I cannot get further than the following exception
javax.persistence.PersistenceException: No Persistence provider
Messieurs-dames,
As I could not find much clues about the right way to do it, here I come:
I'm trying to get an EntityManagerFactory properly setup from the
Persistence class, but I cannot get further than the following exception
javax.persistence.PersistenceException: No Persistence provider
Hi Erwan,
What do you have in persistence.xml?
It should contain something like this :
persistence xmlns=http://java.sun.com/xml/ns/persistence;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
version=1.0
persistence-unit name=teamplay_test
. . .
/persistence-unit
Messieurs-dames,
As I could not find much clues about the right way to do it, here I come:
I'm trying to get an EntityManagerFactory properly setup from the
Persistence class, but I cannot get further than the following exception
javax.persistence.PersistenceException: No Persistence provider
: Friday, April 06, 2007 4:46 AM
To: open-jpa-dev@incubator.apache.org
Subject: Programmatical EntityManagerFactory init
Messieurs-dames,
As I could not find much clues about the right way to do it,
here I come:
I'm trying to get an EntityManagerFactory properly setup from the
Persistence
@incubator.apache.org
Subject: Programmatical EntityManagerFactory init
Messieurs-dames,
As I could not find much clues about the right way to do it,
here I come:
I'm trying to get an EntityManagerFactory properly setup from the
Persistence class, but I cannot get further than the
following
: Friday, April 06, 2007 9:50 AM
To: open-jpa-dev@incubator.apache.org
Subject: Re: Programmatical EntityManagerFactory init
Thank you for your time Patrik,
Actually the persistence.xml used in the META-INF jar in the
CP points to
another persistence unit name.
The thing is -and I may
, 2007 10:08 AM
To: open-jpa-dev@incubator.apache.org
Subject: RE: Programmatical EntityManagerFactory init
Could you (or anyone else) confirm this last point?
Your are correct -- when using the Persistence class for
bootstrapping,
you must provide a name of a persistence unit defined
, please immediately return this
by email and then delete it.
-Original Message-
From: Patrick Linskey
Sent: Friday, April 06, 2007 10:08 AM
To: open-jpa-dev@incubator.apache.org
Subject: RE: Programmatical EntityManagerFactory init
Could you (or anyone else) confirm this last point