robe-hibernate/src/main/java/io/robe/hibernate/transaction/Transaction.java
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}