[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
Wed Apr 7 16:14:38 EDT 2010


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

Scott Marlow commented on JBAS-7460:
------------------------------------

In jpa2 EE deployment section 9.1:

"
When the container finds a persistence.xml file, it must process the persistence unit definitions
that it contains. The container must validate the persistence.xml file against the
persistence_2_0.xsd or persistence_1_0.xsd schema in accordance with the version
specified by the persistence.xml file and report any validation errors. 
"

section 9.4 Responsibilities of the Persistence Provider
"

Are we supposed to ship a JPA 1 persistence provider that is used for 1.0 apps?  That doesn't make sense to me, if yes.  Or are we supposed to support deploying a JPA-1 deployment against our JPA-2 persistence provider?



> 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