Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Complete
-
1.7.6 (Gosling SR6), 1.8.6 (Hopper SR6), 1.9 RC1 (Ingalls), 1.0.0.APACHE-GEODE-INCUBATING-RELEASE, 2.0 M1 (Kay)
-
Spring Data GemFire + PIvotal GemFire
Spring Data Geode + Apache Geode
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); .... */ }