1. Use of Entity Interceptor is unclear forum.hibernate.orgNeed help with Hibernate? Read this first: http://www.hibernate.org/ForumMailingli ... AskForHelp Hibernate version: 2.1.2 Mapping documents: |
2. Interceptor: onFlushDirty() multiple call on same entity forum.hibernate.orgHello, I'm trying to log each update on set of 35 entities by using onFlushDirty(). Also using onDelete() and onSave() which are working fine. But onFlushDirty() getting executed multiple time (3 to 4 time). Can anybody please help me find out why? LifeCycle methods requires implementing in each entity which is really tedious. So can anyone help me figure-out other way ... |