Using Spring boot 1.3.1
I don\'t understand why @RestController are Transactionnal by default. I haven\'t found anything saying so in the docs.
Example which pus
One-to-one relations are always eagerly fetched. Judging by method names book.getAuthor().getFirstname(), book->author and author->firstName are such relations. LazyInitializationException will only occur for lazy collections.
book.getAuthor().getFirstname()
LazyInitializationException