value « Interceptor « JPA Q&A





1. Interceptor and onFlushDirty losing old values (newbie)    forum.hibernate.org

Author Message rfee42 Post subject: Interceptor and onFlushDirty losing old values (newbie) Posted: Fri Sep 02, 2005 12:17 pm Newbie Joined: Fri Sep 02, 2005 11:54 am Posts: 3 Hi, I'm using the Interceptor to catch all CRUD operations on persistent objects. When using onFlushDirty() the oldValues array is empty. Example code and mapping below: tvm in advance, rfee42 ...

2. range of values map to a hierarchy : formula? Interceptor?    forum.hibernate.org

Need help with Hibernate? Read this first: http://www.hibernate.org/ForumMailingli ... AskForHelp Hibernate version:3.1.3 After merrily going along being very productive with what I know about Hibernate someone asked me if I could help them map a class hierarchy where the discriminating column is an integer and a range of values map to a particular class. So, col >= 0 and col <= ...

3. Interceptor doesn't update values    forum.hibernate.org

Hi! I'm having problems with an Hibernate Interceptor: Here is the code I'm using: Code: public class UserLogInterceptorProxy extends EmptyInterceptor { public boolean onSave(Object entity, Serializable id, Object[] state, ...