In Play! if you call this:
void method() { User u = User(); u.name = \"bob\"; u.save(); while(true){/* endless loop */} }
Nothing will actually
Try
User.em().flush();
If I'm not mistaken, the default Play! model holds a refference to the EntityManager which can be accessed like that.