1. How make Hibernate Interceptor Thread-Safe??? forum.hibernate.orgHi, just wondering how to make the following interceptor thread-safe without sacrifice on performance in real application? And when postFlush() being called, can I assume the transaction has been successfully submitted? And I guess when onFlushDirty() being called I can't start to write the audit log yet as the transaction may be rolled back. Am I right? Thank you so much. ... |