protected void setUp() throws Exception {
DataSource dataSource = getDataSource();
populateDataBase(dataSource);
sessionFactory = getSessionFactory(dataSource);
hibernateTemplate = new HibernateTemplate(sessionFactory);
hibernateTemplate.setCheckWriteOperations(false);
HibernateTransactionManager tm = new HibernateTransactionManager(sessionFactory);
hibernateListener = new HibernateFlowExecutionListener(sessionFactory, tm);
ClassPathResource res = new ClassPathResource("flow-managed-persistence.xml", getClass());