Add Spring Data MongoDB using the Spring Boot Starter to the Spring Boot application classpath.

Experiment with adding SD for Apache Geode's @Region mapping annotation as well as SD MongoDB's @Document mapping annotation and the effects on Spring Boot's auto-configuration support for SD Repositories when multiple data store providers are on the Spring Boot application classpath.

Resolves gh-51.
This commit is contained in:
John Blum
2019-09-28 16:34:44 -07:00
parent e8fc1c63c4
commit 9941b6de5c
3 changed files with 4 additions and 0 deletions

View File

@@ -37,6 +37,8 @@ import lombok.ToString;
*/
@Data
@Entity
//@Document
//@Region("Contacts")
@Table(name = "Contacts")
@ToString(of = "name")
@EqualsAndHashCode(of = "name")

View File

@@ -28,6 +28,7 @@ import example.app.model.Contact;
* @see example.app.model.Contact
* @since 1.2.0
*/
//public interface ContactRepository extends JpaRepository<Contact, String> {
public interface ContactRepository extends CrudRepository<Contact, String> {
}