This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am trying to abstract Dao layer with all calls to create/close hibernate sessions to around advice using spring aop but want to know how would some of the hibernate CRUD api's utilize the session created by around advice for example:
Are we allowed to use session variable s in the method which was created by @around advice, If not what is the alternative to achieve this?