Uploaded image for project: 'Spring Data Commons'
  1. Spring Data Commons
  2. DATACMNS-91

CrudRepository exceptions

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.1 Final, 1.2 M1
    • Fix Version/s: 1.2 RC1
    • Component/s: Repositories
    • Labels:

      Description

      1. org.springframework.data.repository.CrudRepository's methods findOne(ID id), exists(ID id) throw java.lang.IllegalArgumentException but delete(ID id) don't. It seems it should, right?
      2. Above mentioned methods have typos in javadocs - they mention "primaryKey" instead of "id".

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              olivergierke Oliver Drotbohm
              Reporter:
              ash2k Mikhail Mazursky
              Last updater:
              Trevor Marshall
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0d
                  0d
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 50m
                  50m