private Connection connection;
private StoreFactory factory;
private GeronimoPlatformTransactionManager tm;
protected void setUp() throws Exception {
tm = new GeronimoPlatformTransactionManager();
// Create an embedded database for testing tx results when commit / rollback
ConnectionManagerFactoryBean cmFactory = new ConnectionManagerFactoryBean();
cmFactory.setTransactionManager(tm);
cmFactory.setTransaction("xa");