One of the jpa issues I found in play 2 is the behaviour of the transaction handling. The default play @Transactional does some kind of magic commit. Lets have a look at the following controller action. @Transactional public static Result magicCommit(String name){ Task task = Task.findByName(name); task.name = “replacePlayTransactionalWithSomethingBetter”; return ok(); } The problem is
November 30, 2013