AOP on Hibernate loaded entities
Hello,
I post here something which should have been done before but I do not success to find it on the Net :
I have my own DAO class, which inherits HibernateDAOSupport and is loaded thanks to Spring. The transaction is set on it with Spring too, without problem. All is right !
However, I want to plug AOP functionalities on the Hibernate loaded entities. For example, my DAO allows me managing Products.
My class Product has the methods :
I want to have an AOP behavior on these methods.
However, as these products are loaded thanks to Hibernate, Spring has not directly (through the Xml configuration files) access to them.
How can I plug AOP functionalities on these BOs ?
Is this possible ?
Thanks per advance,
Best regards,
Thomas