Hey,
I am doing some audit logging in Hibernate Interceptor. This works great when i update/save/delete objects!!
One thing i am having trouble is logging any thing that use HQL or SQL
such as
Code:
Stirng hql = "update SystemUser set user = :user";
Query query = getSessionFactory().getCurrentSession().createQuery(hql);
query.setString("user", user);
query.executeUpdate();
Since this does not go through the Hibernate interceptor i can't log this,
is there a way for me to catch it log it somewhere else??
Thank you
[/code]