Sunday, August 2, 2015

DI Required for Declarative Transactions

[D]ependency injection is the only way that declarative transactions work. You will not get a transactional service if you use the new operator such as new BookService()
http://grails.github.io/grails-doc/2.3.11/guide/services.html

No comments:

Post a Comment