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 1:18 PM, Christophe Cordenier < christophe.corden...@gmail.com> wrote: > 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 > where to start (even in source code) ? > > > -- > Regards, > Christophe Cordenier. > > Committer on Apache Tapestry 5 > Co-creator of wooki @wookicentral.com > _______________________________________________ > hibernate-dev mailing list > hibernate-dev@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/hibernate-dev > _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev