code: @Override
      public void detach(Object entity) {
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
              Tr.debug(tc, "em.detach(" + entity + ");\n" + toString());
  
          getEMInvocationInfo(false).detach(entity);
      }
docs: New JPA 2.0 API methods //F743-954, F743-954.1 d597764