Commit Graph

3 Commits

Author SHA1 Message Date
Oliver Gierke
49df9468b5 #54 - Use Stream with try-with-resources.
Tweaked the integration test to use the Stream returned by the repository within a try-with-resources clause so that it gets closed correctly.
2015-03-09 12:53:43 +01:00
Oliver Gierke
966d3c9e44 #59 - Upgraded to Spring Data Fowler RC1. 2015-03-09 12:53:42 +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