[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.rt.eclipselink] Re: Exception when using EclipseLink JPA in OC4J 10.1.3.4

Yvon,
Hi, verify that your persistence-unit provider is explicitly set to org.eclipse.persistence.jpa.PersistenceProvider. It may have defaulted to essentials in the past if left out as is the case on GlassFish with TopLink Essentials.


See:
http://wiki.eclipse.org/EclipseLink/Examples/JPA/OC4J_Web_Tutorial#Persistence.xml

<persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd";>
<persistence-unit name="DataBridging" transaction-type="JTA">
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
..


   thank you
   /michael