aspose file tools
The moose likes Object Relational Mapping and the fly likes Spring AOP around advice for Managing Hibernate Session Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply Bookmark "Spring AOP around advice for Managing Hibernate Session" Watch "Spring AOP around advice for Managing Hibernate Session" New topic
Author

Spring AOP around advice for Managing Hibernate Session

Shriram Gopalakrishnan
Ranch Hand

Joined: Feb 20, 2007
Posts: 44
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring AOP around advice for Managing Hibernate Session
 
Similar Threads
Hello world spring aop
Problem with Spring AOP
Spring AOP
spring AOP doesn't work
Spring AOP and AspectJ Integration with EJB3