Hi Treimin,
I did a
test using glassfish/toplink and the result was
Message ID: javax.persistence.TransactionRequiredException
Complete Message: joinTransaction has been called on a resource-local EntityManager which is unable to register for a JTA transaction.
But I'm not aware if it is specified in the JPA spec which exception exactly (e.g. TransactionRequiredException or
IllegalStateException) has to be thrown here.