[hibernate-issues] [Hibernate-JIRA] Commented: (EJB-153) Allow to configure entity manager with specific persistence.xml
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Mon Aug 28 23:37:24 EDT 2006
[ http://opensource.atlassian.com/projects/hibernate/browse/EJB-153?page=comments#action_24194 ]
Emmanuel Bernard commented on EJB-153:
--------------------------------------
The drawback is that META-INF/persistence.xml allow us to find the jar file address so that we scan it. I could externalize that to get a PersistenceMetadata out of something but is it gonna be easier or more complex for you than a Classloader implementation that does the trick. Plus the classloader is portable across implementations
> Allow to configure entity manager with specific persistence.xml
> ---------------------------------------------------------------
>
> Key: EJB-153
> URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-153
> Project: Hibernate Entity Manager
> Type: New Feature
> Components: EntityManager
> Versions: 3.1beta7
> Reporter: Max Rydahl Andersen
>
>
> in tools context it would be beneficial to configure the entitymanager with a specific persistence.xml to avoid having to create a hacky custom classloader that places the custom one in META-INF/persistence.xml.
> Emmanuel mentioned something about providing a custom strategy for this.
--
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.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list