SessionFactoryRegistry.INSTANCE.addSessionFactory( getUuid(), name,
public OgmSessionFactoryImpl(SessionFactoryImplementor delegate) { super( delegate ); try { uuid = (String) UUID_GENERATOR.generate( null, null ); } catch (Exception e) { throw new AssertionFailure( "Could not generate UUID" ); } SessionFactoryRegistry.INSTANCE.addSessionFactory( uuid, delegate.getName(), delegate.getSessionFactoryOptions().isSessionFactoryNameAlsoJndiName(), this, delegate.getServiceRegistry().getService( JndiService.class ) ); }
SessionFactoryStub(HibernateService service) { this.service = service; this.name = service.getJndiName(); try { uuid = (String) UUID_GENERATOR.generate(null, null); } catch (Exception e) { throw new AssertionFailure("Could not generate UUID"); } SessionFactoryRegistry.INSTANCE.addSessionFactory( uuid, name, ConfigurationHelper.getBoolean( AvailableSettings.SESSION_FACTORY_NAME_IS_JNDI, service.getProperties(), true ), this, new JndiServiceImpl( service.getProperties() ) ); }
SessionFactoryStub(HibernateService service) { this.service = service; this.name = service.getJndiName(); try { uuid = (String) UUID_GENERATOR.generate(null, null); } catch (Exception e) { throw new AssertionFailure("Could not generate UUID"); } SessionFactoryRegistry.INSTANCE.addSessionFactory( uuid, name, ConfigurationHelper.getBoolean( AvailableSettings.SESSION_FACTORY_NAME_IS_JNDI, service.getProperties(), true ), this, new JndiServiceImpl( service.getProperties() ) ); }
throw new AssertionFailure("Could not generate UUID"); SessionFactoryRegistry.INSTANCE.addSessionFactory( uuid, name,
throw new AssertionFailure("Could not generate UUID"); SessionFactoryRegistry.INSTANCE.addSessionFactory( uuid, name,
throw new AssertionFailure("Could not generate UUID"); SessionFactoryRegistry.INSTANCE.addSessionFactory( uuid, name,
throw new AssertionFailure("Could not generate UUID"); SessionFactoryRegistry.INSTANCE.addSessionFactory( uuid, name,
SessionFactoryRegistry.INSTANCE.addSessionFactory( getUuid(), name,