Atomikos « Transaction « JPA Q&A





1. Atomikos rollback doesn't clear JPA persistence context?    stackoverflow.com

I have a Spring/JPA/Hibernate application and am trying to get it to pass my Junit integration tests against H2 and MySQL. Currently I am using Atomikos for transactions and C3P0 ...

2. Issue when using atomikos as Hibernate transaction manage    forum.hibernate.org

Newbie Joined: Sat Oct 30, 2010 5:21 am Posts: 1 Hi, I meet below exception when using Atomikos as Hibernate Transaction management: Code: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [metadataservice-applicationContext.xml]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: metadata] Unable to build EntityManagerFactory at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) ...