Configuring Sun Master Indexes

ProcedureTo Modify the Key Status

  1. In the Projects window, expand the Configuration node in the project you want to modify, and then double-click midm.xml.

    The file opens in the NetBeans XML editor.

  2. Scroll to the node element that defines the object containing the field you want to modify.

  3. Scroll to the field element you want to modify.

  4. To specify that a field must be unique in a system object, change the value of the key-type element to true.

  5. To specify that a field does not need to be unique in a system object, change the value of the key-type element to false.

    For example:


    <key-type>false</key-type>
  6. To specify that a combination of fields must be unique for an object rather than just one single field, set the key-type element to true for each field.

  7. Save and close the file.