Search in sources :

Example 1 with HibernateDaoSupport

use of org.springframework.orm.hibernate3.support.HibernateDaoSupport in project gocd by gocd.

the class TransactionCacheInterceptorTest method setUp.

@BeforeEach
public void setUp() throws Exception {
    configHelper.usingCruiseConfigDao(goConfigDao);
    configHelper.onSetUp();
    dbHelper.onSetUp();
    goCache.clear();
    hibernateDaoSupport = new HibernateDaoSupport() {
    };
    hibernateDaoSupport.setSessionFactory(sessionFactory);
    assertionUtil = new TransactionCacheAssertionUtil(goCache, transactionTemplate);
}
Also used : HibernateDaoSupport(org.springframework.orm.hibernate3.support.HibernateDaoSupport) BeforeEach(org.junit.jupiter.api.BeforeEach)

Aggregations

BeforeEach (org.junit.jupiter.api.BeforeEach)1 HibernateDaoSupport (org.springframework.orm.hibernate3.support.HibernateDaoSupport)1