{"id":14972917,"url":"https://github.com/spring-projects/spring-data-keyvalue","last_synced_at":"2026-02-13T15:19:56.275Z","repository":{"id":23845498,"uuid":"27223102","full_name":"spring-projects/spring-data-keyvalue","owner":"spring-projects","description":"Project to provide infrastructure to implement Spring Data repositories on top of key-value-based, in-memory data stores.","archived":false,"fork":false,"pushed_at":"2025-03-14T08:33:47.000Z","size":2737,"stargazers_count":148,"open_issues_count":18,"forks_count":76,"subscribers_count":18,"default_branch":"main","last_synced_at":"2025-04-04T01:07:54.282Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://projects.spring.io/spring-data","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spring-projects.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":"CONTRIBUTING.adoc","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.adoc","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-11-27T11:48:38.000Z","updated_at":"2025-03-16T10:57:01.000Z","dependencies_parsed_at":"2023-10-13T22:58:13.977Z","dependency_job_id":"c644744d-ba16-40a8-9c75-35c43174120a","html_url":"https://github.com/spring-projects/spring-data-keyvalue","commit_stats":{"total_commits":719,"total_committers":34,"mean_commits":"21.147058823529413","dds":0.7246175243393602,"last_synced_commit":"e778bd4a95de683b3607a9b0e0813d9900ba5606"},"previous_names":[],"tags_count":291,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spring-projects%2Fspring-data-keyvalue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spring-projects%2Fspring-data-keyvalue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spring-projects%2Fspring-data-keyvalue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spring-projects%2Fspring-data-keyvalue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spring-projects","download_url":"https://codeload.github.com/spring-projects/spring-data-keyvalue/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248634293,"owners_count":21137020,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T13:47:45.125Z","updated_at":"2026-02-13T15:19:56.255Z","avatar_url":"https://github.com/spring-projects.png","language":"Java","readme":"= Spring Data KeyValue image:https://img.shields.io/badge/Revved%20up%20by-Develocity-06A0CE?logo=Gradle\u0026labelColor=02303A[\"Revved up by Develocity\", link=\"https://ge.spring.io/scans?search.rootProjectNames=Spring Data KeyValue\"]\n\nThe primary goal of the https://projects.spring.io/spring-data[Spring Data] project is to make it easier to build Spring-powered applications that use new data access technologies such as non-relational databases, map-reduce frameworks, and cloud based data services.\n\nThis module provides infrastructure components to build repository abstractions for stores dealing with Key/Value pairs and ships with a default `java.util.Map` based implementation.\n\n== Features\n\n* Infrastructure for building repositories on top of key/value implementations.\n* Dynamic SpEL query generation from query method names.\n* Possibility to integrate custom repository code.\n\ninclude::https://raw.githubusercontent.com/spring-projects/spring-data-build/refs/heads/main/etc/readme/code-of-conduct.adoc[]\n\n== Getting Started\n\nHere is a quick teaser of an application using Spring Data Repositories in Java:\n\n[source,java]\n----\npublic interface PersonRepository extends CrudRepository\u003cPerson, Long\u003e {\n\n    List\u003cPerson\u003e findByLastname(String lastname);\n\n    List\u003cPerson\u003e findByFirstnameLike(String firstname);\n}\n\n@Service\npublic class MyService {\n\n    private final PersonRepository repository;\n\n    public MyService(PersonRepository repository) {\n        this.repository = repository;\n    }\n\n    public void doWork() {\n\n        repository.deleteAll();\n\n        Person person = new Person();\n        person.setFirstname(\"Oliver\");\n        person.setLastname(\"Gierke\");\n        repository.save(person);\n\n        List\u003cPerson\u003e lastNameResults = repository.findByLastname(\"Gierke\");\n        List\u003cPerson\u003e firstNameResults = repository.findByFirstnameLike(\"Oli*\");\n    }\n}\n\n@KeySpace(\"person\")\nclass Person {\n\n    @Id String uuid;\n    String firstname;\n    String lastname;\n\n    // getters and setters omitted for brevity\n}\n\n@Configuration\n@EnableMapRepositories(\"com.acme.repositories\")\nclass AppConfig { … }\n----\n\ninclude::https://raw.githubusercontent.com/spring-projects/spring-data-build/refs/heads/main/etc/readme/dependencies.adoc[]\n\ninclude::https://raw.githubusercontent.com/spring-projects/spring-data-build/refs/heads/main/etc/readme/getting-help.adoc[]\n\ninclude::https://raw.githubusercontent.com/spring-projects/spring-data-build/refs/heads/main/etc/readme/license.adoc[]\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspring-projects%2Fspring-data-keyvalue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspring-projects%2Fspring-data-keyvalue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspring-projects%2Fspring-data-keyvalue/lists"}