• 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
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!