X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.25a (ClamAV 0.103.9/27010) X-Junk-Score: 0 [] X-KAS-Score: 0 [] Return-Path: Received: from mail01.rucotec.ch ([65.21.159.64] verified) by post.selbstdenker.com (CommuniGate Pro SMTP 6.3.18) with ESMTPS id 31210540 for webobjects-dev@wocommunity.org; Thu, 24 Aug 2023 12:31:30 +0200 Received-SPF: pass receiver=post.selbstdenker.com; client-ip=65.21.159.64; envelope-from=markus.ruggiero@rucotec.ch Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id EFED167EAD for ; Thu, 24 Aug 2023 12:31:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rucotec.ch; s=dkim; t=1692873069; h=from:subject:date:message-id:to:mime-version:content-type: content-transfer-encoding; bh=aoahZ0VnvAXH4UYQAW7knjz4PKelk7/zr1rIHSCXpQs=; b=GzKice7g2+SOSA0qwCzNtyTvViR7EzjlbKlNYEFxHAwd8rRH5d85BcI/eiflxN+zpolYNY j5/hE6aVrAsYaErToFpuw/0QEeEZ3Fr4moi+Q5QW8umWYbYfBafbLGnipGJUJBx5nzyAIs pxbUbGoOwTvWvpvugKibtt4Y4SWtEw5mzoBngW1PCTmXh7HL37pnLdl2HBrqBe/05knJno x14Om2MUewHg+PLTyRccl8wJhxpt9jACXOnkslyKx8wyaBLxRMaZwPgaYFQ6PxSmLPVonS IPNYHo/TVJuZBTZAjGeAi1FcPLPeRxivLQ4Na0E7Re/FHcorj0LiI3Z29iHdCg== From: "Markus Ruggiero (rucotec)" Content-Type: multipart/signed; boundary="Apple-Mail=_495BEBE2-08C5-4E9B-B424-086A2690DE1C"; protocol="application/pkcs7-signature"; micalg=sha-256 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: [Q] - EOQualifier based on object's class/entity? Message-Id: Date: Thu, 24 Aug 2023 12:30:54 +0200 To: WebObjects & WOnder Development X-Last-TLS-Session-Version: TLSv1.2 --Apple-Mail=_495BEBE2-08C5-4E9B-B424-086A2690DE1C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I have a hierarchy of entities like so: A is the super entity, B extends A (A is not abstract) I have records in the database representing objects of both types. Creating qualifiers for any value is easy with ERXKey. But what if I = want to limit the query to only A objects or only B objects? The problem = here is that all Bs are also As. Filtering As might thus also return = some B objects. I would want to create a qualifier based on the object=E2=80=99s = absolute class. Currently I handle this by including the qualifying field for the = classes (single table inheritance). This works but seems to be kind of = ugly. Is there a better more elegant way? Probably more of academical interest..... ---markus--- --Apple-Mail=_495BEBE2-08C5-4E9B-B424-086A2690DE1C Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCCCzow ggUiMIIECqADAgECAhEA+bJBRVU88Wt+/tk032YQpDANBgkqhkiG9w0BAQsFADCBljELMAkGA1UE BhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEYMBYG A1UEChMPU2VjdGlnbyBMaW1pdGVkMT4wPAYDVQQDEzVTZWN0aWdvIFJTQSBDbGllbnQgQXV0aGVu dGljYXRpb24gYW5kIFNlY3VyZSBFbWFpbCBDQTAeFw0yMjA1MTQwMDAwMDBaFw0yNTA1MTMyMzU5 NTlaMCsxKTAnBgkqhkiG9w0BCQEWGm1hcmt1cy5ydWdnaWVyb0BydWNvdGVjLmNoMIIBIjANBgkq hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmyWv+KHiux3seusiaMG6GkTnzpAtZAQoNEuUSF/NCltV 8vC5c5mSp3S9nwQwd9vsncR35LsmXWCxDFE/EsOPr8q/ulmuN2DFxar17CoQzR2WkOJ4hn60FjuS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