ThreadLocal + Tags + Query with StringBuilder