Commit Graph

18 Commits

Author SHA1 Message Date
Mark Paluch
beabdf8a79 #153 - Add examples for Query by Example functionality with JPA and MongoDB.
Original pull request: #154.
2016-03-17 19:01:23 +01:00
Oliver Gierke
9cb44b3166 #81 - Samples for new projection support for JPA and MongoDB. 2016-02-12 14:37:52 +01:00
Oliver Gierke
9a5c270ec2 #139 - Switched to embedded MongoDB for integration tests.
Removed MongoDB dependency by adding Flapdoodle embedded MongoDB. That allows us to get rid of the utility module we had in place for the MongoDB samples guarding the tests to only run when a MongoDB instance is running.

Tweaked Travis setup to not require the MongoDB service anymore.
2015-10-29 17:14:38 +01:00
Thomas Darimont
d95ed268b2 #107 - Added example for Spring Security Integration in MongoDB.
Initial project and with example for dynamic data filtering based on current security context information.

Relies on DATAMONGO-1244 to be resolved.

Original pull request: #108.
2015-07-16 08:13:06 +02:00
Christoph Strobl
35596a9045 #64 - Add example for GeoJSON usage in MongoDB.
Add sample to show usage of GeoJSON within domain types and repository query methods.
2015-03-10 13:57:25 +01:00
Thomas Darimont
73be2fcddb #54 - Added a project for MongoDB examples using Java 8 features.
This initial version of the example projects demonstrates the usage and mapping behavior of Java 8 Streams in repositories. The test cases oppose a plain List based query method with one that uses a Stream and shows how the former pulls all data into memory first and the iteration is done over the pre-populated list. The execution of the Stream based method in contrast shows that the individual elements are read and converted while iterating the stream.
2015-03-09 12:53:39 +01:00
Christoph Strobl
f625317445 #8 - Switch to local source data for text search.
Remove online resources and just rely on local data. Though we had to keep the BlogPostInitializer for setting up the tests only using the template without repository support.

Original pull request: #18.
2014-09-09 09:51:12 -05:00
Christoph Strobl
6fb5259e37 #8 - Add sample for @Meta usage.
Renamed the geo-spatial example to example only as it not only covers geo-spatial samples. Added advanced example to show the usage of the @Meta annotation.

Original pull request: #11.
2014-09-02 17:39:30 +02:00
Christoph Strobl
09317bc6de #8 - Add MongoDB text search example.
The sample reads the Spring IO blog Atom feed and performs text search on it.

We use manual index creation and query via MongoTemplate as well as automatic index creation and derived queries via repositories.

Original pull request: #10.
2014-09-02 10:20:22 +02:00
Oliver Gierke
56ab6b4705 Split up MongoDB example into two.
Split up the previously existing MongoDB example project in one for basic stuff, geo-spatial and Querydsl support as well as one on the aggregation framework. This will allow us to add other modules on particular focus areas going forward.
2014-07-31 15:03:13 +02:00
Oliver Gierke
a3a1db24d0 Upgraded to Spring Boot 1.1.0. 2014-06-16 17:03:58 +02:00
Oliver Gierke
c3afe35d2f Upgraded to Spring Data Dijkstra GA release. 2014-05-21 11:07:32 +02:00
Oliver Gierke
d5138bb3a4 Upgraded to latest Spring Data Dijkstra RC1. 2014-05-02 19:54:21 +02:00
Oliver Gierke
87f91d8afc Upgraded to Spring Boot GA and Spring Data MongoDB 1.5 M1. 2014-04-02 10:06:25 +02:00
Oliver Gierke
87e8518bd2 Upgraded to latest dependencies.
Use latest stable Spring Data JPA release as well as Hibernate 4.3.4. Upgraded to Spring Boot 1.0 RC4, Querydsl 3.3.1 and Lombok 1.12.4. Upgraded to Spring Data MongoDB 1.5 snapshots to be able to use the geo-types from Spring Data Commons.
2014-03-11 12:27:43 +01:00
Oliver Gierke
2ca3aa159c Upgraded to Spring Boot 1.0 RC3.
Moved configuration classes to main folders. Removed previously required @Enable…Repositories annotations.
2014-02-14 18:59:52 +01:00
Oliver Gierke
21b8f01564 Tweak Querydsl APT plugin to produce less verbose output. 2014-02-05 09:06:46 +01:00
Oliver Gierke
4b11a9dc8f Initial commit.
Moved Spring Data JPA examples from spring-data-jpa-examples repo to this one. Added samples for MongoDB.
2014-01-31 14:34:34 +01:00