Configuring Sun Master Indexes (Repository)

Specifying the Master Index EUID Length (Repository)

By default, the length of the EUIDs generated by the master index application is 10 characters. You can modify this value if needed. You can also specify a new starting EUID number. This is described in Creating the Master Index Database (Repository) in Developing Sun Master Indexes (Repository).

If you increase the length of the EUIDs to longer than 20 characters or if the EUID length plus the checksum length is longer than 20 characters, you need to increase the length of the EUID columns in the script that creates the database tables.

ProcedureTo Specify the EUID Length

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

  2. Scroll to the first parameter element, IdLength, in the EuidGeneratorConfig element.

  3. Change the value of the parameter-value element to the desired length of the EUID.

    For example:


    <parameter>
       <parameter-name>IdLength</parameter-name>
       <parameter-type>java.lang.Integer</parameter-type>
       <parameter-value>12</parameter-value> 
    </parameter>
  4. Save and close the file.