Preview Tool

Cisco Bug: CSCul93588 - Cannot query against XMP Entities with Map attributes via the NBI

Last Modified

Mar 27, 2014

Products (1)

  • Cisco Prime Infrastructure

Known Affected Releases


Description (partial)

If an XMP Entity exists with an attribute that has the Map stereotype, it is not possible to provide any query syntax in the REST URL which would allow querying for Entities using the Map names and values.

For example, assume an Entity called "Customer" exists with a String attribute called "name" and another String attribute called "nvpairs", but "nvpairs" has the Map stereotype.

Now ff an instance of Customer is created with name = "Kate" and nvpairs (key/value) = "age/34", then it should be possible to search - via the NBI - for all Customer Entities with name = "Kate" and an nvpair key = "age" with value = "34".


Currently the additional nvpairs filter has no effect on the returned results.

I suspect that Hibernate Criteria do not support Map queries which is why the NBI does not support this.  But, this search is possible via HQL, going directly to the underlying tables supporting the Map.

Normal conditions.
Bug details contain sensitive information and therefore require a account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.