[hibernate-issues] [Hibernate-JIRA] Created: (EJB-416) Allow url overriding through createEntityManager(String, Map override)

Jaka Jancar (JIRA) noreply at atlassian.com
Wed Mar 11 06:34:38 EDT 2009


Allow url overriding through createEntityManager(String, Map override)
----------------------------------------------------------------------

                 Key: EJB-416
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-416
             Project: Hibernate Entity Manager
          Issue Type: Improvement
          Components: EntityManager
    Affects Versions: 3.4.0.GA
         Environment: Hibernate Core 3.3.1.GA, Hibernate EntityManager 3.4.0.GA
            Reporter: Jaka Jancar


Hibernate EntityManager does not allow overriding of hibernate.connection.(url|username|password) using EntityManagerFactory.createEntityManager()'s Map parameter.

EJB-254 reports the same issue, but for hibernate.datasource connections, and it seems to be resolved.

I looks to me like similar functionality is supported by Session's openSession(Connection connection), but switching to Hibernate's API because of this would be very unfortunate.

I have described a use-case for this here: http://forum.hibernate.org/viewtopic.php?t=995507

-- 
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