[jboss-jira] [JBoss JIRA] Commented: (JBAS-7460) Detect version from persistence.xml files and pass it to the JPA 2 provider

Scott Marlow (JIRA) jira-events at lists.jboss.org
Tue Apr 20 15:03:56 EDT 2010


    [ https://jira.jboss.org/jira/browse/JBAS-7460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12526646#action_12526646 ] 

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 at 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 at ef0f3a{version=2.0, persistence units=[PersistenceUnitMetaData at 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 at 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

        


More information about the jboss-jira mailing list