Uploaded image for project: 'Spring Tool Suite'
  1. Spring Tool Suite
  2. STS-3237 improve JavaConfig and Spring annotation support
  3. STS-3279

Exclude repository interfaces annotated with @NoRepositoryBean from method validation

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0.M2
    • Component/s: DATA
    • Labels:
      None

      Description

      Currently the re repository method validation also checks query methods for repository interfaces annotated with @NoRepositoryBean. As they don't actually become Spring beans are likely to be interfaces Spring Data ships with they'll create a lot of false negatives in terms of rejecting methods that are not going to be considered a query method at runtime anyway.

      We should simply exclude interfaces with that annotation from the method validation.

        Attachments

          Activity

            People

            Assignee:
            thon Terry Denney
            Reporter:
            ogierke Oliver Gierke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: