[jboss-user] [Beginner's Corner] - Re: persistence unit Exception while publishing (Jboss AS7 and OpenJPA)
Ido Barash
do-not-reply at jboss.com
Wed Aug 3 10:12:37 EDT 2011
Ido Barash [http://community.jboss.org/people/ibarash] created the discussion
"Re: persistence unit Exception while publishing (Jboss AS7 and OpenJPA)"
To view the discussion, visit: http://community.jboss.org/message/619156#619156
--------------------------------------------------------------
This is my persistence.xml file...
<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns=" http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence"
xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=" http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
version="2.0">
<persistence-unit name="advisor-domain-pu" transaction-type="JTA">
<provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>
<jta-data-source>jdbc/AdvisorSkeletonDataSource</jta-data-source>
<properties>
<property name="openjpa.TransactionMode" value="managed" />
<property name="openjpa.ConnectionFactoryMode" value="managed" />
<property name="openjpa.jdbc.EagerFetchMode" value="join" />
<property name="openjpa.jdbc.SubclassFetchMode" value="join" />
</properties>
</persistence-unit>
</persistence>
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/619156#619156]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110803/7527203d/attachment-0001.html
More information about the jboss-user
mailing list