158159160161162163164165166
{ configuration.addResource(resourceName); } } configuration.setInterceptor(new HibernateSecurityInterceptor(configuration.getInterceptor())); return configuration.buildSessionFactory(); }
115116117118119120121122