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 class HibernatePersistence extends AvailableSettings implements Persisten
|
|||
* 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…
Reference in New Issue