[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.rt.eclipselink] Re: EclipseLink+Spring+ComboPooledDataSource+MySQL ORM not persisting

My guess would be that you are not beginning or committing a JPA transaction. You seem to be wrapping all of the JPA access in your own classes, please include this code and your log.

Ensure you do a,

entityManager.getTransaction().begin();

and a,

entityManager.getTransaction().commit();

You may also wish to try calling entityManager.flush().

If you are trying to integrate with Spring's transaction services, then it may be a configuration issue.

---
James
http://www.nabble.com/EclipseLink---Users-f26658.html