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]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to