[
https://jira.jboss.org/jira/browse/JBAS-7460?page=com.atlassian.jira.plug...
]
Emmanuel Bernard commented on JBAS-7460:
----------------------------------------
That's the point. A JPA 2 provider should support JPA 1 based application as if it was
a JPA 1 provider. That's why the provider has access to the version number.
In Hibernate's case, we don't need to differenciate 1 from 2 but other providers
(which JBoss AS is supposed to support) may need it.
What the JIRA issue means is that we need
PersistenceUnitInfo.getPersistenceXMLSchemaVersion() to return the right version.
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