Querying relationships

Use this task to make relationship-based instance queries.

Before you begin

Required security role for this task: When security and role-based authorization are enabled, you must be logged in as a monitor, an operator, a configurator, or an administrator.

About this task

Select a query option to get all or a subset of the instance data for a relationship. The return is the result set of that query and is displayed in table format with each row representing one relationship instance.

To query relationships, do the following:

Procedure

  1. Ensure that the administrative console is running.
  2. In the navigation pane, click Integration Applications > Relationship Manager.
  3. Open the relationships page for the server you want to manage by clicking Relationships next to that relationship services MBean.
  4. Select the button next to the relationship name and click Query.
  5. Click one of the query option tabs and specify the search criteria.
    Option Description
    All Get a list of all instances in the relationship. You can choose to display data for all active instances, or all inactive instances, or all active and inactive instances.
    By ID Get relationship instances in the range of the starting and ending instance identifiers. If you leave one field blank, the query returns only the single instance. The query returns all of the roles for the instances it finds.
    By Property Get relationship instances by the property name and type value or by the property value.
    By Role Get relationship instances based on a role name, key attribute value, date range during which the role was created or modified, or specific property value.
  6. Click OK to display the result data from the query.

Links marked (online) require access to the Internet.

Check for updates to this topic (online)