private void configureNewSession() {
        session = SESSION_FACTORY.openSession();
        session.setFlushMode(flushMode);
        ManagedSessionContext.bind(session);
    }
private void configureNewSession() {
        session = SESSION_FACTORY.openSession();
        session.setFlushMode(flushMode);
        ManagedSessionContext.bind(session);
    }
private void configureNewSession ( ) { session = SESSION_FACTORY . openSession ( ) ; session . setFlushMode ( flushMode ) ; ManagedSessionContext . bind ( session ) ; }
Opens a new session, sets flush mode and bind this session to {@link ManagedSessionContext}
Opens a new session sets flush mode and bind this session to {