[
https://issues.jboss.org/browse/JBAS-9141?page=com.atlassian.jira.plugin....
]
Scott Marlow commented on JBAS-9141:
------------------------------------
https://github.com/scottmarlow/jboss-as/commit/6c72ca83c75e19bb91de441604...
contains the change to clear the reference to the Annotation Index after calling the
provider.createContainerEntityManagerFactory() for the persistence unit service. The
annotation index is only valid during deployment anyway. Also cleared the temp
classloader reference as well (only good during call to
provider.createContainerEntityManagerFactory()).
handle JPA 8.2.1.6.1 Annotated Classes in the Root of the Persistence
Unit
---------------------------------------------------------------------------
Key: JBAS-9141
URL:
https://issues.jboss.org/browse/JBAS-9141
Project: JBoss Application Server
Issue Type: Sub-task
Security Level: Public(Everyone can see)
Components: JPA / Hibernate
Affects Versions: 7.0.0.Beta1
Reporter: Scott Marlow
Assignee: Scott Marlow
Fix For: 7.0.0.Beta2
JPA 8.2.1.6.1 Annotated Classes in the Root of the Persistence Unit
All classes contained in the root of the persistence unit are searched for annotated
managed persistence classes—classes with the Entity, Embeddable, or MappedSuperclass
annotation—and any mapping metadata annotations found on these classes will be processed,
or they will be mapped using the mapping annotation defaults. If it is not intended that
the annotated persistence classes contained in the root of the persistence unit be
included in the persistence unit, the exclude-unlisted-classes element must be specified
as true.
The exclude-unlisted-classes element is not intended for use in Java SE environments.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira