Re: [hibernate-dev] Hibernate and AOP

2011-09-08 Thread Gustavo Fernandes
If I understood correctly, you might want to take a look at Hibernate Interceptors [1], where you can react to hibernate events, detect if the annotation is present and react accordingly. [1] http://docs.jboss.org/hibernate/core/3.6/reference/en-US/html/events.html Gustavo On Thu, Sep 8, 2011 at

[hibernate-dev] Hibernate and AOP

2011-09-08 Thread Christophe Cordenier
Hi I have a need to intercept calls to some transient fields (annotated with custom annotation) of my entities to link the attribute's values to an external system. I haven't found any documentation about how and when hibernate instrument entities. If anyone could give me some informations on wh