issue « Interceptor « JPA Q&A





1. Interceptor issue    forum.hibernate.org

OK, so Ive looked at this, and this is an option. However, its making work in the case where my session is held on the EJB tier, and now Im having to hold yet another user ID --> Session mapping. Why doesn't the interceptor get called back when saving a reattached instance with modified data? Given that some of the users ...

2. Interceptor and expiration issue...    forum.hibernate.org

I am working with a historical database where rows are created instead of being updated when the state of an object changes. I was wondering if there is a simple way to have hibernate create a new row, with the new values, when any of an object's properties change, rather than updating the existing row. Also, the other thing I need ...

3. Interceptor/Hibernate Mapping Issue.....    forum.hibernate.org

Newbie Joined: Thu Apr 27, 2006 4:40 pm Posts: 1 Hibernate version: 3.1.2 Name and version of the database you are using: Sybase ASE 12.5.3 ISSUE: We are using an interceptor extended from the EmptyInterceptor. When saving the AgreementAmendment, we would like to add an amendment detail record. In the onFlushDirty, I have tried to update the object entity passed in, ...

4. Issue with Interceptor during update    forum.hibernate.org

Newbie Joined: Tue May 13, 2008 8:02 am Posts: 1 In my table, I've 2 fields : ADD_PROGRAM, LAST_CHANGE_PROGRAM I need to fill in these columns with the value 'MyProgram' during insertion and updation accordingly. I am extending and writing my own interceptor to achieve this. It is working fine for me during insertions but not during updations. For updations, I ...