Package org.hibernate.service.internal

Examples of org.hibernate.service.internal.SessionFactoryServiceRegistryImpl


     */
    Configuration getConfigurationFromRegistry(SessionFactory sessionFactory)
    {
        ServiceRegistryImplementor serviceRegistry = ((SessionFactoryImplementor) _sessionFactory).getServiceRegistry();
       
        SessionFactoryServiceRegistryImpl impl = (SessionFactoryServiceRegistryImpl) serviceRegistry;
        Configuration cfg = null;
       
        try {
          Field configurationField = SessionFactoryServiceRegistryImpl.class.getDeclaredField("configuration");
      configurationField.setAccessible(true);
View Full Code Here

TOP

Related Classes of org.hibernate.service.internal.SessionFactoryServiceRegistryImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.