[
http://jira.jboss.com/jira/browse/EJBTHREE-1193?page=all ]
Emmanuel Bernard resolved EJBTHREE-1193.
----------------------------------------
Resolution: Cannot Reproduce Bug
Something else could be wrong on the JBoss side, but not the initial parsing ans spec
incompatibility report. Open a new JIRA if you find something about JBoss/OpenJPA hanging
when you use JTA as a transaction type
Persistence Unit Parsing Deploy ignores the Provider attribute in
persistence.xml
---------------------------------------------------------------------------------
Key: EJBTHREE-1193
URL:
http://jira.jboss.com/jira/browse/EJBTHREE-1193
Project: EJB 3.0
Issue Type: Bug
Affects Versions: AS 5.0.0.Beta4
Reporter: Ming Fai Ma
Assigned To: Emmanuel Bernard
The EJB3 Persistence Unit parsing deployer read and try to start and install a
persistence unit with JBoss PersistenceUnitDeployment even though a "provider"
attribute is specified to use another JPA implementation.
14:53:17,368 INFO [PersistenceUnitParsingDeployer] Found persistence units
[org.jboss.ejb3.metadata.jpa.spec.PersistenceUnitMetaData@4de8d8{name=MyApp}]
14:53:18,431 INFO [PersistenceUnitParsingDeployer] Found persistence units
[org.jboss.ejb3.metadata.jpa.spec.PersistenceUnitMetaData@778590{name=MyAppWeb},
org.jboss.ejb3.metadata.jpa.spec.PersistenceUnitMetaData@e1ccdf{name=MyApp}]
14:53:39,540 INFO [PersistenceUnitDeployment] Starting persistence unit
persistence.units:ear=MyApp.ear,unitName=MyAppWeb
...
org.jboss.ejb3.entity.PersistenceUnitDeployment.start()
Persistence.xml
----------------------
<?xml version="1.0" encoding="UTF-8"?>
<persistence
xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
version="1.0">
<persistence-unit name="MyApp"
transaction-type="RESOURCE_LOCAL">
<provider>
org.apache.openjpa.persistence.PersistenceProviderImpl
</provider>
<jta-data-source>java:/jdbc/MyDataSource</jta-data-source>
<jar-file>MyJar.jar</jar-file>
</persistence-unit>
</persistence>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira