• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Global AuditLogging giving exception for autowring the SessionFactory

 
S Majumder
Ranch Hand
Posts: 349
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
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 :

AuditLogInterceptor


In the DataSource.xml



Thanks in advance
Satya
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic