diff --git a/hibernate-core/src/main/java/org/hibernate/service/ServiceRegistryBuilder.java b/hibernate-core/src/main/java/org/hibernate/service/ServiceRegistryBuilder.java index 4039dfe4d8..f29b294a03 100644 --- a/hibernate-core/src/main/java/org/hibernate/service/ServiceRegistryBuilder.java +++ b/hibernate-core/src/main/java/org/hibernate/service/ServiceRegistryBuilder.java @@ -86,4 +86,12 @@ public class ServiceRegistryBuilder extends org.hibernate.boot.registry.Standard public StandardServiceRegistry build() { return super.build(); } + + /** + * Don't remove yet: used by JBoss Tools + */ + public ServiceRegistry buildServiceRegistry() { + return build(); + } + }