The question is do I have to include @Transactional
in every CRUD method in my DAO classes?
So then I add an annotation to a method which causes this exception, but other methods are not causing this exception. Is it because the other methods are simple and execution is not taking too much time?