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.

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    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

            jblum John Blum
            ggreen Gregory Green
            Archiver:
            tmarshall Trevor Marshall
            Oliver Drotbohm Oliver Drotbohm

            Dates

              Created:
              Updated:
              Resolved:
              Archived:

              Time Tracking

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