code: public void commit() {
          if(logger.isInfoEnabled()){
              logger.info("Commit transaction.");
          }
          try {
              provider.getConnection().commit();
          } catch (SQLException ex){
              throw new SessionException("Failed to commit transaction.", ex);
          }
      }
docs: {@inheritDoc}