Uploaded image for project: 'Spring Data GemFire'
  1. Spring Data GemFire
  2. SGF-582

Add support for using bean property "id" as a Region key if @Id annotation is not present.

    XMLWordPrintable

    Details

      Description

      The proposal is to add support using bean property "id" as a region key if @Id annotation is not set. This feature is supported by other spring data project, such as Spring Data Mongo.

      // Proposed Pseudo code
      repository.save(domainObj)
      {
      /**
        if(object @Id exist)
           region.put(@Id.key,domainObject);
        else if(object.getId() exist)
          region.put(domainObject.getId(),domainObject);
        ....
      */
      }
      

        Attachments

          Activity

            People

            Assignee:
            jblum John Blum
            Reporter:
            ggreen Gregory Green
            Last updater:
            Oliver Drotbohm
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0.5d
                0.5d
                Remaining:
                Remaining Estimate - 0.5d
                0.5d
                Logged:
                Time Spent - Not Specified
                Not Specified