When you name the fields in your object structure, be sure to keep the following guidelines in mind to avoid errors when compiling or running the master index application.
Sun Master Index automatically creates a field for each object named objectId, where object is the name of an object or sub-object. You cannot create fields with those names. For example, you cannot create a field named “AddressId” if there is an Address object in the object structure.
If you enter a field name longer than 20 characters, a warning dialog box appears. While most databases can handle names up to at least 30 characters, Sun Master Index appends text to the end of fields defined for phonetic encoding or standardization. For fields that will be parsed, normalized, or phonetically encoded, make sure the name of the original field does not exceed 20 characters. Any other field can have a name up to 30 characters long. For information about the names of the fields automatically created by the wizard, see Understanding Sun Master Index Processing (Repository).
Do not use characters or names restricted by the database platform (Oracle or SQL Server), Java, or XML in field names.