Global AuditLogging giving exception for autowring the SessionFactory
posted 2 years ago
I am currently implementing AuditLogging feature on my application .
Here I am using spring 3 , Hibernate 3.2 and MySQL.
My AuditLogInterceptor class extends EmptyInterceptor .I am trying to save data to the audit table from AuditLogInterceptor class .But am not able to get the session / sessionFactory on my AuditLogInterceptor class.Here is the code snippet :