Spring + Eclipselink + JtaTransactionManager = javax.persistence.TransactionRequiredException
问题 I really hope you can help me. I've been looking all over the internet for answers and none of them works. I use Spring 3 + JTA + EclipseLink but i'm getting a TransactionRequiredException when flushing a transaction. Now i'm very used to just defining my persistence context and injecting the EntityManager and the transaction is handled by the app server. So here's what I've got. persistence.xml <persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3