Commits
Anton Keks authored 890b0b1d658
Prevent connection leaks: do not create new EntityManager if transaction is not active. These newly-created EMs are not bound to thread and thus never closed. This is also how play 1.2.x used to work: no transaction - cannot read from DB.