mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 00:24:57 +00:00
HHH-5943 - Make ServiceRegistry mutable
This commit is contained in:
parent
8a530db254
commit
e9ec8ef587
@ -23,6 +23,7 @@
|
||||
*
|
||||
*/
|
||||
package org.hibernate.util;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.Iterator;
|
||||
|
@ -76,7 +76,8 @@ public EntityManagerFactory createContainerEntityManagerFactory(PersistenceUnitI
|
||||
* create a factory from a canonical version
|
||||
* @deprecated
|
||||
*/
|
||||
public EntityManagerFactory createEntityManagerFactory(Map properties) {
|
||||
@Deprecated
|
||||
public EntityManagerFactory createEntityManagerFactory(Map properties) {
|
||||
// This is used directly by JBoss so don't remove until further notice. bill@jboss.org
|
||||
Ejb3Configuration cfg = new Ejb3Configuration();
|
||||
return cfg.createEntityManagerFactory( properties );
|
||||
|
Loading…
x
Reference in New Issue
Block a user