RE: CQL/WQL Question
"STROBL, Robert" <[email protected]>
| Newsgroups | gmane.network.open-pegasus.general |
|---|---|
| Message-ID | <C33C585272481244A36AE534BC1D745A07309A1B34@DEWDFECCR09.wdf.sap.corp> |
Okay, it appears that a part of my questions Has been already answered in: http://comments.gmane.org/gmane.network.open-pegasus.general/6507 :) -----Original Message----- From: STROBL, Robert [mailto:[email protected]] Sent: vendredi 18 novembre 2011 11:51 To: [email protected] Subject: CQL/WQL Question Hi, I am using OpenPegasus for a project and want to use advanced database requests Rather than the limited ones using CIM XML. For that I found out that you have WQL/CQL support in which _W_QL is confusing me as I cannot find a specification to it. What is it? WBEM Query Language? I can just find a CQL specification from WBEM. What is the link between both of them? I am using the SBLIM Java API to perform CIM-XML requests on the Pegasus server. Enumeration persons = cimClient.execQuery(resourceClass, "SELECT OBJECTPATH(Person) AS Path FROM Person WHERE Name LIKE \"Foo%\"", "CQL"); That gives a remote exception on the Pegasus server in which I am told that CQL Is not a supported query language. However, I compiled Pegasus with: PEGASUS_DISABLE_PROV_USERCTCT=true PEGASUS_ENABLE_EXECQUERY=true PEGASUS_ENABLE_CQL=true PEGASUS_ENABLE_CMPI_PROVIDER=true If I use WQL, it works, but it does not appear to support LIKE statements in WHERE Clauses. If my issue cannot be resolved by using Pegasus' supported query languages I Would be very pleased about an alternative suggestion to solve it. Cheers, Robert