[
http://opensource.atlassian.com/projects/hibernate/browse/ANN-624?page=co...
]
Emmanuel Bernard commented on ANN-624:
--------------------------------------
James it does not work that way. Even if classloader scanning was remotely reliable, this
is not what you want. Multiple persistence unit per classloader is very common, so a
packaging is necessary. Starting from this point, JPA and EntityManager is a natural
choice.
Autodiscover all @Entity-annotated Classes
------------------------------------------
Key: ANN-624
URL:
http://opensource.atlassian.com/projects/hibernate/browse/ANN-624
Project: Hibernate Annotations
Issue Type: New Feature
Reporter: James Carman
The EntityManager implementation contains an "autodiscovery" feature that would
be nice to have added to the core Hibernate library. Maybe we could add an
AnnotationConfiguration.addAutodiscoveredEntities() method?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira