code: public static BegunTx<?> getBegunTxOnThread() {
          final Stack<BegunTx<?>> stack = threadLocal.get();
          return stack != null ? stack.peek() : null;
      }
docs: Get prepared begun-tx on thread.
  @return The context of DB access. (NullAllowed)