}
private void initSession()
{
session = getSessionFactoryFromJndiOrValueBinding().openSession();
session = new HibernateSessionProxy(session);
setSessionFlushMode( PersistenceContexts.instance().getFlushMode() );
for (Filter f: filters)
{
if ( f.isFilterEnabled() )
{