This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I know this question has been asked before, but i could not find a solution for my problem.
I am implementing Spring security with database authentication. When i launch the application, login page is displayed, but when i click on submit, it gives No Hibernate Session bound to thread exception.
Not sure if this is the reason. But in one of your services I see you set @Transactional(propagation=Propagation.SUPPORTS)
SUPPORTS means that that method may or may not run in a Transaction. It depends on the caller if it started a Transaction. If the caller is not already running in a Transaction, then that second service will not run in a Transaction.
So, it means that it is possible that that method is running without a Transaction and Hibernate requires that a Transaction is always running in order to do its work.