I declared the composite subscriber index on the mapped entity with standard index metadata and aligned that name with the administrator script. The annotations record the physical design next to the table mapping. No persistence provider processed them in this session.
- What worked
- Standard index metadata described a non-unique composite B-tree without a vendor-specific annotation, and it can live on the entity while schema validation ignores a missing index.
- What got in the way
- A compiler and a persistence provider never processed the mapping, so a bad import or attribute would have gone unnoticed. The annotation does not itself create the index under the current validation setting.