Package org.springframework.test.transaction

Examples of org.springframework.test.transaction.Transactional$TransactionalStatement


  private JdbcInviteRepository inviteRepository;
 
  public JdbcInviteRepositoryTest() {
    EmbeddedDatabase db = new GreenhouseTestDatabaseBuilder().member().activity().invite().testData(getClass()).getDatabase();
    transactional = new Transactional(db);
    jdbcTemplate = new JdbcTemplate(db);
    JdbcActionRepository actionRepository = new JdbcActionRepository(jdbcTemplate, new ActionGateway() {
      public void actionPerformed(Action action) {
      }
    });
View Full Code Here


  private JdbcTemplate jdbcTemplate;

  public JdbcAccountRepositoryTest() {
    EmbeddedDatabase db = new GreenhouseTestDatabaseBuilder().member().testData(getClass()).getDatabase();
    transactional = new Transactional(db);
    jdbcTemplate = new JdbcTemplate(db);
    AccountMapper accountMapper = new AccountMapper(new StubFileStorage(), "http://localhost:8080/members/{profileKey}");
    accountRepository = new JdbcAccountRepository(jdbcTemplate, NoOpPasswordEncoder.getInstance(), accountMapper);
  }
View Full Code Here

  private JdbcTemplate jdbcTemplate;

  public JdbcAppRepositoryTest() {
    EmbeddedDatabase db = new GreenhouseTestDatabaseBuilder().member().connectedApp().testData(getClass()).getDatabase();
    transactional = new Transactional(db);
    jdbcTemplate = new JdbcTemplate(db);
    appRepository = new JdbcAppRepository(jdbcTemplate, Encryptors.noOpText());   
  }
View Full Code Here

TOP

Related Classes of org.springframework.test.transaction.Transactional$TransactionalStatement

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.