[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: XPATH Vs OQL Query comparison
We just concluded an exercise of mapping our most complicated ad hoc query (Classification query) to XPATH. Also attached are some pictures of attendees. OQL Query ------------ SELECT DISTINCT eo FROM ExtrinsicObject WHERE eo.isClassifiedBy(ClassificationNode(path: “Industry.Automotive”)) AND eo.isClassifiedBy(ClassificationNode(path: “Geography.Asia.Japan”)); XPATH Query --------------- Thanks Mike Rowley and Chris for doing this. //ManagedObject[@uuid = /classification[@targetObjRef= /ClassificationNode[@name="Industry"] /ClassificationNode[@name="Automotive"]]/@sourceUUID] %AND% @uuid = /classification[@targetObjRef= /ClassificationNode[@name="Geography"] /ClassificationNode[@name="Asia"]]/@sourceUUID] What are some thoughts on which representation is simpler from the person writing teh query in an RR client? -- Regards, Farrukh
begin:vcard n:Najmi;Farrukh tel;work:781-442-0703 x-mozilla-html:FALSE url:www.sun.com org:Sun Microsystems;Java Software adr:;;1 Network Dr. MS BUR02-302;Burlington;MA;01803-0902;USA version:2.1 email;internet:najmi@east.sun.com fn:Farrukh Najmi end:vcard
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC