HHH-5943 - Make ServiceRegistry mutable

This commit is contained in:
Steve Ebersole 2011-02-21 22:18:17 -06:00 committed by JPAV
parent 8a530db254
commit e9ec8ef587
2 changed files with 3 additions and 1 deletions

View File

@ -23,6 +23,7 @@
*
*/
package org.hibernate.util;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;

View File

@ -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 );