Uploaded image for project: 'Spring Tool Suite'
  1. Spring Tool Suite
  2. STS-4141 improvements and fixes for Spring Data validations
  3. STS-3757

spring-data-jpa support shows an error in problem view which is not valid

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.4.0.RC2
    • Fix Version/s: 3.7.0.RELEASE
    • Component/s: DATA
    • Labels:
      None
    • Environment:
      Linux64bit, J8

      Description

      Error Message:
      Invalid derived query! No property delete found for type PriceList!

      Part of the Code:

      @Override
      @Modifying
      @Transactional
      @CacheEvict(value = "priceListCount", allEntries = true)
      public PriceList saveAndFlush(PriceList entity);
      

      Use Case:
      For the correct cache handling i have to override the build in repository interface methods.

      I expect NO error here since its not a property of the entity but a "standard" repository method.

        Attachments

          Activity

            People

            Assignee:
            mlippert Martin Lippert
            Reporter:
            thackel Thomas Hackel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: