code: public static void endAccessContext() {
          AccessContext.clearAccessContextOnThread();
          final AccessContext accessContext = SuspendedAccessContext.getAccessContextOnThread();
          if (accessContext != null) { // resume
              AccessContext.setAccessContextOnThread(accessContext);
              SuspendedAccessContext.clearAccessContextOnThread();
          }
      }
docs: End access-context use for DBFlute.