[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[eclipselink-users] eclipselink.target-server with OC4J
|
When using the property eclipselink.target-server with the value OC4J_10_1_3
in my persistence.xml I get the following error ...
Exception creating EntityManagerFactory using PersistenceProvider class
org.eclipse.persistence.jpa.PersistenceProvider for persistence unit
ServerJPA.
I don't get this error if I omit the property.
I'm using OC4J 10.1.3.3.0
My persistence.xml is as follows
<?xml version="1.0" encoding="windows-1252" ?>
<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"
version="1.0" xmlns="http://java.sun.com/xml/ns/persistence">
<persistence-unit name="ServerJPA" transaction-type="JTA">
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
<jta-data-source>jdbc/jpa</jta-data-source>
<properties>
<property name="eclipselink.target-database" value="Oracle"/>
<property name="eclipselink.target-server" value="OC4J_10_1_3"/>
<property name="eclipselink.logging.level" value="INFO"/>
<property name="eclipselink.logging.exceptions" value="true"/>
<property name="eclipselink.logging.exceptions" value="true"/>
<property name="eclipselink.logging.thread" value="true"/>
<property name="eclipselink.logging.timestamp" value="true"/>
<property name="eclipselink.logging.session" value="true"/>
<property name="eclipselink.logging.level.WEAVER" value="INFO"/>
</properties>
</persistence-unit>
</persistence>
--
View this message in context: http://www.nabble.com/eclipselink.target-server-with-OC4J-tp17492054p17492054.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.