Subject | Re: Database Application using the wizard of Netbeans 6.0 |
---|---|
Author | m_muntwiler |
Post date | 2008-03-02T06:10:04Z |
hi tilo,
you probably solved your problem in the meantime. nevertheless,
because i encountered the same problem today, and for the potential
benefit of others, i post this late reply.
toplink libraries from the class path (cf. libraries node of the
project tree), and replace them with the ones provided by openJPA,
namely geronimo-jpa_xxx.jar which provides the appropriate
javax.persistence.* classes.
--
matthias
you probably solved your problem in the meantime. nevertheless,
because i encountered the same problem today, and for the potential
benefit of others, i post this late reply.
> The following providers:in addition to fixing persistence.xml, you also need to remove the
> oracle.toplink.essentials.PersistenceProvider
> oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider
> Returned null to createEntityManagerFactory.
>
> That is why I am still convinced that the problem is that I was not
> able to switch completely from Toplink to Hibernate just by changing
> the persistence provider in persistence.xml.
toplink libraries from the class path (cf. libraries node of the
project tree), and replace them with the ones provided by openJPA,
namely geronimo-jpa_xxx.jar which provides the appropriate
javax.persistence.* classes.
--
matthias