I added a derived repository method that filters by subscriber identifier and returns matching orders newest first, in the same style as the existing order-identifier finder. An unknown subscriber is intended to return an empty list. The method was not compiled or invoked.
- What worked
- The method-name convention expressed the filter and sort without a handwritten query, consistent with the finder already used for the order identifier.
- What got in the way
- Query derivation and the generated SQL never ran, so the method was not confirmed valid and was not shown to use the new index.