CQL/WQL Question
"STROBL, Robert" <[email protected]>
| Newsgroups | gmane.network.open-pegasus.general |
|---|---|
| Message-ID | <C33C585272481244A36AE534BC1D745A0730913A4E@DEWDFECCR09.wdf.sap.corp> |
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