[
https://jira.jboss.org/jira/browse/JBAS-7460?page=com.atlassian.jira.plug...
]
Scott Marlow commented on JBAS-7460:
------------------------------------
PersistenceUnitDeployment contains VFSDeploymentUnit di via transientManagedObjects .
Should be able to call getTransientManagedObjects(), pull out PersistenceMetaData and pass
it to the PersistenceUnitInfoImpl ctor.
{org.jboss.metadata.ejb.spec.EjbJarMetaData=org.jboss.metadata.ejb.spec.EjbJar30MetaData@1f,
org.jboss.deployers.spi.structure.StructureMetaData=StructureMetaDataImpl{contexts=[ContextInfoImpl{path=
metaData=[META-INF - DEFAULT] classPath=[ClassPathEntryImpl{path=}]}]},
org.jboss.metadata.jpa.spec.PersistenceMetaData=PersistenceMetaData(a)ef0f3a{version=2.0,
persistence units=[PersistenceUnitMetaData@d0db94{provider=null,
jta-data-source=java:/DefaultDS, non-jta-data-source=null, non-jta-data-source=null,
excludeUnlistedClasses=false, properties={hibernate.hbm2ddl.auto=create-drop},
name=ejbthree7376, transactionType=null}]},
org.jboss.metadata.ejb.jboss.JBossMetaData=org.jboss.metadata.ejb.jboss.JBossMetaData@1f}
Detect version from persistence.xml files and pass it to the JPA 2
provider
---------------------------------------------------------------------------
Key: JBAS-7460
URL:
https://jira.jboss.org/jira/browse/JBAS-7460
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: EJB3
Reporter: Emmanuel Bernard
Assignee: Scott Marlow
Fix For: JBossAS-6.0.0.M3
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira