@PersistenceContext
private EntityManager entityManager;
public static void main(String[] args) throws Exception {
AbstractEventStoreBenchmark benchmark = prepareBenchMark("META-INF/spring/benchmark-jpa-context.xml");
benchmark.startBenchMark();
}
public JpaEventStoreBenchMark(JpaEventStore jpaEventStore, PlatformTransactionManager transactionManager) {
this.jpaEventStore = jpaEventStore;
this.transactionManager = transactionManager;