Preface

Spring Data for Apache Geode focuses on integrating the Spring Framework’s powerful, non-invasive programming model and concepts with Apache Geode to simplify configuration and development of Java applications when using Apache Geode as you data management solution.spring-doc.cn

This document assumes you already have a basic understanding of, and some familiarity with, the core Spring Framework and Apache Geode concepts.spring-doc.cn

While every effort has been made to ensure this documentation is comprehensive and complete without errors, some topics are beyond the scope of this document and may require more explanation (for example, data distribution management using partitioning with HA while still preserving consistency). Additionally, some typographical errors might have crept in. If you do spot mistakes or even more serious errors, please bring these issues to the attention of the Spring Data team by raising an appropriate issue in JIRA.spring-doc.cn

1. Introduction

The Spring Data for Apache Geode reference guide explains how to use the Spring Framework to configure and develop applications with Apache Geode. It presents the basic concepts and provides numerous examples to help you get started quickly.spring-doc.cn

2. Requirements

Spring Data for Apache Geode requires Java 8.0, Spring Framework 5 and Apache Geode 1.9.0.spring-doc.cn

3. New Features

As of the 1.2.0.RELEASE, this project, formerly known as Spring GemFire, has been renamed to Spring Data for Apache Geode to reflect that it is now a module of the Spring Data project and built on Apache Geode.

3.1. New in the 2.0 Release

  • Upgraded to Apache Geode 9.1.1.spring-doc.cn

  • Upgraded to Spring Data Commons 2.0.8.RELEASE.spring-doc.cn

  • Upgraded to Spring Framework 5.0.7.RELEASE.spring-doc.cn

  • Reorganized the SDG codebase by packaging different classes and components by concern.spring-doc.cn

  • Added extensive support for Java 8 types, particularly in the SD Repository abstraction.spring-doc.cn

  • Changed to the Repository interface and abstraction, e.g. IDs are no longer required to be java.io.Serializable.spring-doc.cn

  • Set @EnableEntityDefinedRegions annotation ignoreIfExists attribute to true by default.spring-doc.cn

  • Set @Indexed annotation override attribute to false by default.spring-doc.cn

  • Renamed @EnableIndexes to @EnableIndexing.spring-doc.cn

  • Introduced a InterestsBuilder class to easily and conveniently express Interests in keys and values between client and server when using JavaConfig.spring-doc.cn

  • Added support in the Annotation configuration model for Off-Heap, Redis Adapter, and Apache Geode’s new Security framework.spring-doc.cn

3.2. New in the 2.1 Release

  • Upgraded to Apache Geode 1.9.0.spring-doc.cn

  • Upgraded to Spring Framework 5.1.0.RELEASE.spring-doc.cn

  • Upgraded to Spring Data Commons 2.1.0.RELEASE.spring-doc.cn

  • Added support for parallel cache/Region snapshots along with invoking callbacks when loading snapshots.spring-doc.cn

  • Added support for registering QueryPostProcessors to customize the OQL generated fro Repository query methods.spring-doc.cn

  • Added support for include/exclude TypeFilters in o.s.d.g.mapping.MappingPdxSerializer.spring-doc.cn

  • Updated docs.spring-doc.cn

3.3. New in the 2.2 Release

  • Upgraded to Apache Geode 1.9.0.spring-doc.cn

  • Upgraded to Spring Framework 5.2.0.RELEASE.spring-doc.cn

  • Upgraded to Spring Data Commons 2.2.0.RELEASE.spring-doc.cn

  • Add Annotation configuration support to configure and bootstrap Apache Geode Locator applications using @LocatorApplication.spring-doc.cn

  • Added Annotation configuration support for GatewayReceivers and GatewaySenders.spring-doc.cn

  • Updated docs.spring-doc.cn