Jul 2nd, 2010, 01:29 AM
how to get applicationContext information in hibernate listener class
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