caelum/vraptor-jpa — pull request #1 by garcia-jj (2013-07-29 05:32:42+00:00)
Title: Only commit/rollback if transaction is active

This change only commits transaction if is active.

And regarding the docs, EntityManager.getTransaction() never returns null, so I remove this condition.