Skip to content

Instantly share code, notes, and snippets.

@thesurlydev
Created October 24, 2010 17:51
Show Gist options
  • Save thesurlydev/643721 to your computer and use it in GitHub Desktop.
Save thesurlydev/643721 to your computer and use it in GitHub Desktop.
@ContextConfiguration(locations={
"classpath:spgConfDataContext.xml",
"classpath:liveCoreContext.xml",
"classpath:trkrCoreContext.xml",
"classpath:trkrCoreTestContext.xml"
})
@TransactionConfiguration(transactionManager = "ebondTransactionManager")
public abstract class AbstractTrkrCoreTests extends AbstractTransactionalJUnit4SpringContextTests {
@Autowired
protected AnalysisContextDaoSqlMap analysisContextDaoSqlMap;
@Autowired
protected ModelDaoSqlMap modelDaoSqlMap;
@Autowired
protected TrustDaoSqlMap trustDaoSqlMap;
@Override
@Autowired
public void setDataSource(@Qualifier(value = "ebondDataSource") DataSource dataSource) {
this.simpleJdbcTemplate = new SimpleJdbcTemplate(dataSource);
}
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment