Code example for SessionFactory

Methods: getCurrentSession

0
        return original.openSession(connection, interceptor);
    } 
 
    @Override 
	public Session getCurrentSession() throws HibernateException {
        return original.getCurrentSession();
    } 
 
	@Override 
	@SuppressWarnings("rawtypes") 
	public ClassMetadata getClassMetadata(Class aClass) throws HibernateException {
        return original.getClassMetadata(aClass);
    } 
 
    @Override 
	public ClassMetadata getClassMetadata(String s) throws HibernateException {
        return original.getClassMetadata(s);
    } 
 
    @Override