Open Session in View vs @Transactional
问题 I had been using @Transactional annotations in my Service Layer. But to resolve an error due to Lazy Loading in View I had to use Open Session in View Filter . After this, without use of @Transaction itself a Session gets opened and transaction starts. So does that mean @Transactions are not required? How will transactions and roll-backs be handled, then in Service Layers? 回答1: The javadoc explains it: This filter makes Hibernate Sessions available via the current thread, which will be