Package com.opengamma.masterdb.security.hibernate

Examples of com.opengamma.masterdb.security.hibernate.HibernateSecurityMasterDetailProvider


  private void init() {
    if (_dbConnector == null) {
      _dbConnector = getDbConnector();
    }
    _secMaster = new DbSecurityMaster(_dbConnector);
    _secMaster.setDetailProvider(new HibernateSecurityMasterDetailProvider());
   
//    id bigint not null,
//    oid bigint not null,
//    ver_from_instant timestamp not null,
//    ver_to_instant timestamp not null,
View Full Code Here


  //-------------------------------------------------------------------------
  @Override
  protected void doSetUp() {
    _secMaster = new DbSecurityMaster(getDbConnector());
    _secMaster.setDetailProvider(new HibernateSecurityMasterDetailProvider());
  }
View Full Code Here

  //-------------------------------------------------------------------------
  @Override
  protected void doSetUp() {
    DbSecurityMaster secMaster = new DbSecurityMaster(getDbConnector());
    secMaster.setDetailProvider(new HibernateSecurityMasterDetailProvider());
    s_logger.debug("SecMaster initialization complete {}", secMaster);
    _testCase = new SecurityMasterTestCase(secMaster);
  }
View Full Code Here

      JmsChangeManager cm = new JmsChangeManager(getJmsConnector().ensureTopicName(getJmsChangeManagerTopic()));
      master.setChangeManager(cm);
      cm.start();
    }
    if (getCacheManager() != null) {
      master.setDetailProvider(new EHCachingSecurityMasterDetailProvider(new HibernateSecurityMasterDetailProvider(), getCacheManager()));
    }
    return master;
  }
View Full Code Here

  }

  @BeforeMethod(groups = TestGroup.INTEGRATION)
  public void setUp() throws Exception {
    _secMaster = (DbSecurityMaster) getTestHelper().getSecurityMaster();
    _secMaster.setDetailProvider(new EHCachingSecurityMasterDetailProvider(new HibernateSecurityMasterDetailProvider(), _cacheManager));
  }
View Full Code Here

    _bbgProvider.start();
    ReferenceDataProvider cachingProvider = BloombergTestUtils.getMongoCachingReferenceDataProvider(_bbgProvider);
    ExchangeDataProvider exchangeProvider = DefaultExchangeDataProvider.getInstance();
    BloombergSecurityProvider secProvider = new BloombergSecurityProvider(cachingProvider, exchangeProvider );
    _securityMaster = new DbSecurityMaster(getDbConnector());
    _securityMaster.setDetailProvider(new HibernateSecurityMasterDetailProvider());
    _securityLoader = new DefaultSecurityLoader(_securityMaster, secProvider);
  }
View Full Code Here

TOP

Related Classes of com.opengamma.masterdb.security.hibernate.HibernateSecurityMasterDetailProvider

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.