persist « Interceptor « JPA Q&A





1. interceptor persistence.xml ?    forum.hibernate.org

2. Managing persistent collections with an Interceptor    forum.hibernate.org

Hi everybody, I've got some issues converting my code to do some automatic processing using an Interceptor. Let's say I'v got a class A with a persistent set called "children", containing objects of class B. When an object of class A is saved or updated I have to add some instances of B to the "children" set. I thought I could ...

3. Persistence of LDAP entries via Interceptor    forum.hibernate.org

Hibernate version: 3.2.6.ga Hi, I have a User object that contains some attributes that are persistent to my Oracle DB and some that are persistent to my LDAP server. I've created a LdapInterceptor class (sublcass of EmptyInterceptor) and overridden the onFlushDirty() method so persist the LDAP attributes. This works fine as long as you change one of the Oracle persisted attributes, ...