robe-hibernate/src/main/java/io/robe/hibernate/transaction/Transaction.java
private void storePreviousSession() {
        if (ManagedSessionContext.hasBind(SESSION_FACTORY)) {
            SESSIONS.get().add(SESSION_FACTORY.getCurrentSession());
            ManagedSessionContext.unbind(SESSION_FACTORY);
        }
    }
private void storePreviousSession() {
        if (ManagedSessionContext.hasBind(SESSION_FACTORY)) {
            SESSIONS.get().add(SESSION_FACTORY.getCurrentSession());
            ManagedSessionContext.unbind(SESSION_FACTORY);
        }
    }
private void storePreviousSession ( ) { if ( ManagedSessionContext . hasBind ( SESSION_FACTORY ) ) { SESSIONS . get ( ) . add ( SESSION_FACTORY . getCurrentSession ( ) ) ; ManagedSessionContext . unbind ( SESSION_FACTORY ) ; } }
If present, backup current the session in {@link ManagedSessionContext} and unbinds it.
If present backup current the session in {