@Override
  protected OrgLabor removeImpl(OrgLabor orgLabor) throws SystemException {
    orgLabor = toUnwrappedModel(orgLabor);

    Session session = null;

    try {
      session = openSession();

      if (!session.contains(orgLabor)) {
        orgLabor = (OrgLabor) session.get(OrgLaborImpl.class, orgLabor.getPrimaryKeyObj());
      }

      if (orgLabor != null) {
        session.delete(orgLabor);
      }
    } catch (Exception e) {
      throw processException(e);
    } finally {
      closeSession(session);
    }

    if (orgLabor != null) {
      clearCache(orgLabor);
    }

    return orgLabor;
  }