-
Jul 2nd, 2010, 01:29 AM
#1
how to get applicationContext information in hibernate listener class
Hi all
i am implementing a hibernate listener class for events like "pre-insert"/"pre-update".
Now my problem is that i want the "ApplicationContext" object in my listener class. i have also implemented the ApplicationContextAware interface into my listener class but i got null object of the ApplicationContext class.
How i get the applicationContext object in my listener class
Thanks in advance.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules