XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.6.0.M1
    • Fix Version/s: 3.7.0.RELEASE
    • Component/s: DATA
    • Labels:
      None

      Description

      In the following repository declaration STS marks the delete method with an error: "Invalid derived query! No property delete found for type XYZEntity!"

      public interface XYXEntityRepository extends MongoRepository<XYZEntity, String> {
          XYZEntity findOneByInstitutionId(String id);
          Long deleteByInstitutionId(String id);
      }
      

      The project is configured to use spring-data-mongo 1.5.0.RC1.

        Attachments

          Activity

            People

            Assignee:
            mlippert Martin Lippert
            Reporter:
            mpol MichaƂ Politowski
            Votes:
            4 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: