Commit Graph

386 Commits

Author SHA1 Message Date
ade90036
2828e352fa #389 - Fix Cache eviction example.
Declare SpEL path to the key property on save(…) method accepting the entity.

Original pull request: #412.
2018-09-19 15:50:43 +02:00
Mark Paluch
445947db52 #414 - Skip MongoDB ChangeStreams tests if MongoDB cannot be started. 2018-09-19 15:38:51 +02:00
Mark Paluch
44b8d42a64 #396 - Polishing.
Add SpringBootApplication to ApplicationConfiguration. Use SpringRunner instead of SpringJUnit4ClassRunner. Fix application.properties.

Original pull request: #401.
2018-09-19 15:23:46 +02:00
Oliver Gierke
e9405dfa04 #396 - Polishing.
Original pull request: #401.
2018-09-18 19:31:30 +02:00
Joshua Johnston
23c14ad181 #396 - Update Redis repositories example to use application.properties.
Modernization no longer requires custom @Bean configuration.

Original pull request: #401.
Fixes #396, #401.
2018-09-18 19:29:33 +02:00
Oliver Gierke
c44d0fc911 #413 - Upgraded to Spring Boot 2.0.5. 2018-09-18 19:14:16 +02:00
Mark Paluch
97eb95d3c9 Pin Kotlin MongoDB example to Kay snapshots. 2018-09-18 19:11:33 +02:00
Mark Paluch
d36fd2eb8b Add Kotlin example for Spring Data Cassandra. 2018-09-18 19:11:33 +02:00
Mark Paluch
2224264499 Add Kotlin example for Spring Data MongoDB. 2018-09-18 19:11:33 +02:00
Jens Schauder
fdca9980a9 #411 - Simplified example by using @Column instead of NamingStrategy. 2018-09-18 15:31:07 +02:00
Mark Paluch
9b88ae9a38 #405 - Polishing.
Slight readme tweaks. Override flapdoodle version using the version property.
2018-09-13 13:36:49 +02:00
Christoph Strobl
9520ac6a75 #405 - Add Example for MongoDB Schema & Validation. 2018-09-13 13:36:46 +02:00
Mark Paluch
04be1b9784 #408 - Remove Dev-Tools exclusions for multiple datasources.
Cleanup our examples as the issues that required exclusion are solved now.
2018-09-13 12:24:49 +02:00
Mark Paluch
ae0287ca5e #399 - Polishing.
Move Spring version override to Java 9+ build profile to allow test runs with Spring Boot 2.1 on Java 8.
2018-09-05 08:57:55 +02:00
Oliver Gierke
586c3d5120 #386 - Polishing.
Formatting.
2018-08-31 09:46:59 +02:00
Michael J. Simons
802b5564c4 #386 - Add integration test for deep nested derived queries support.
SDN supports derived queries over several, deeply nested properties in the following version combinations:
- Spring Data Kay SR9 + Neo4j-OGM 3.0.4
- Spring Data Lovelace RC1 + Neo4j-OGM 3.1.1

As of writing, Spring Boot 2.0.4 picks up Spring Data Kay SR9 + Neo4j-OGM 3.1.0. This is an unsupported combination, see https://github.com/spring-projects/spring-boot/issues/13999.

This tests asserts the correct versions for Spring Boot 2.1.0+ and 2.0.5+. Also fixes the use of final field relationships in the domain classes used in the test and removed the usage of deprecated API.
2018-08-31 09:46:33 +02:00
Oliver Gierke
dc58547743 #400 - Upgrade to Spring Boot 2.0.4. 2018-08-22 17:03:23 +02:00
Jens Schauder
f31c83a1f9 #399 - Depending on Spring Framework 5.0.9-BUILD SNAPSHOT.
With JDK 11 ApplicationListeners implemented as lambdas don't get correctly handled at the moment.
This is fixed for Spring Framework 5.0.9, which isn't released yet.

Therefore we depend for the JDBC examples on the snapshot.

An alternative would be to use proper classes instead of lambdas.

See also: SPR-17093.
2018-08-22 12:12:00 +02:00
Jens Schauder
d57068b410 #395 - Correcting handling of immutable properties.
If properties are final they need to have a matching argument in the persistence constructor or a matching "Wither".
Otherwise trying to set them results in an exception.

Id Properties additionally need a Wither if a generated Id from the database is supposed to get set.
2018-08-22 10:07:20 +02:00
Oliver Gierke
f6432092fa #395 - Correcting handling of immutable properties.
If properties are final they need to have a matching argument in the persistence constructor or a matching "Wither".
Otherwise trying to set them results in an exception.
2018-08-22 09:56:52 +02:00
Oliver Gierke
b155e9273d #394 - Upgrade to Lovelace RC2. 2018-08-20 12:07:20 +02:00
Oliver Gierke
7e132c3df7 #393 - JDK 9+ specific profile now uses a compatible Lombok version. 2018-08-20 12:04:47 +02:00
Oliver Gierke
4fe1ec39a2 #392 - Added example for deferred repository initialization. 2018-08-16 15:41:36 +02:00
Mark Paluch
eb1add7da3 #391 - Upgrade to Reactor Californium M1 for Reactive Tx tests.
Specify dependency to use the Flux.usingWhen(…) factory.
2018-08-15 14:07:23 +02:00
Mark Paluch
cc3c595ec4 #391 - Assert compatibility with Lovelace RC1.
Upgrade from Lovelace M3 to Lovelace RC1 for examples requiring Lovelace. Upgrade to latest stable MongoDB drivers. Adapt to API changes. Un-pin examples that were previously bound to Spring Data Kay.
2018-08-14 15:46:55 +02:00
Mark Paluch
5d36233d17 #390 - Fix ElasticSearch example to query the appropriate field. 2018-08-14 14:42:04 +02:00
Mark Paluch
fde3a4e775 #390 - Build ElasticSearch examples against the inherited Spring Data release train.
Use the release train setting from the parent pom to allow centralized version changes.
2018-08-14 14:41:18 +02:00
Jens Schauder
0e0668d12a #315 - Polishing.
Used default directory for code generation.
Formatting.
Simplified asserts with some AssertJ trickery.

Original pull request: #385.
2018-08-02 16:44:51 +02:00
Florian Lüdiger
b6b06121d1 #315 - Add example for Spring Data JDBC usage with jOOQ
Demonstrating how to use jOOQ as the basis for an implementation of custom repository methods.

Original pull request: #385.
2018-08-02 16:43:56 +02:00
Mark Paluch
3a4a9d27b2 #382 - Adapt examples to Spring Boot 2.1 changes.
Replace custom configuration with the one that Boot provides. Adapt to DataMongo configuration that requires a MongoClient bean.
2018-07-26 11:57:11 +02:00
Mark Paluch
1c56cf8fba #381 - Adapt examples to immutable object support.
Provide mutable property accessors to allow object mutation.
2018-07-26 11:57:09 +02:00
Mark Paluch
e2d2bdf6bc #380 - Import JdbcConfiguration after EnableJdbcRepositories no longer provides the required beans. 2018-07-26 10:43:11 +02:00
Jens Schauder
7d9e4f82cf #380 - Adapt to changed API.
New CustomConversions API.
More limited access strategies introduced through the immutable support.
Fixed dependencies of the r2dbc example.
2018-07-25 10:34:18 +02:00
Oliver Gierke
b0bfdaeaee #379 - Reflect package changes in Spring Data JDBC. 2018-06-28 11:52:02 +02:00
Oliver Gierke
8b00fa0500 #374 - Re-enable Eclipselink tests on JDK 11.
Upgrade to EclipseLink 2.7.2-RC1 which seems to have fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=535774.
2018-06-26 12:29:07 +02:00
Oliver Gierke
b13fad2649 #377 - Added example for Spring Data R2DBC. 2018-06-22 11:14:46 +02:00
Oliver Gierke
0e0de619fa #376 - Upgrade to Lombok 1.18.0.
Removed custom Travis build steps that were necessary to use a JDK 11 compatible edge version.
2018-06-20 16:50:11 +02:00
Oliver Gierke
203032ccff #373 - Upgrade to Spring Boot 2.0.3. 2018-06-20 16:47:13 +02:00
Oliver Gierke
679165603d #374 - Move profile activation into profile itself.
Removed the explicit activation of the JDK specific profile activation in the Travis config file in favor of a simple <activation /> element in the POM.
2018-06-12 10:07:30 +02:00
Oliver Gierke
1e40c91ed0 #374 - Disable tests for Eclipselink example on JDK 11. 2018-06-11 23:03:52 +02:00
Oliver Gierke
50d47183af #373 - Temporarily Elasticsearch samples to Kay snapshots.
This is to verify the fix for DATAES-460.
2018-06-11 15:59:08 +02:00
Oliver Gierke
0dffecc18f #371 - Fixed link to Vavr website. 2018-05-31 10:57:53 +02:00
Oliver Gierke
6653f260af #370 - Added example of how to use Vavr's Try.
Temporarily upgrade to Lovelace to make use of the new Try support
2018-05-30 23:12:44 +02:00
Jens Schauder
0a9a8f4e60 #367 - Polishing.
Simplified the NamingStrategy by replacing parts of it with Table and Column annotations.
2018-05-24 09:42:48 +02:00
Jens Schauder
3248cda95c #367 - Fixes broken JDBC examples.
Adapted all SQL to new default NamingStrategy.

See also: DATAJDBC-207.
2018-05-24 09:30:46 +02:00
Jens Schauder
303e749ed4 #366 - Fixes compile errors due to DATAJDBC-137 and DATAJDBC-138. 2018-05-22 10:21:02 +02:00
Mark Paluch
8b7869d0df #365 - Upgrade to Hibernate 5.3. 2018-05-17 16:17:24 +02:00
Mark Paluch
7df0eb5b3d #364 - Add Travis CI build for Java 11. 2018-05-17 16:16:39 +02:00
Mark Paluch
5e108d35da #337 - Polishing.
Use blocking queue for imperative synchronization to not depend on the actual machine timing. Refactor reactive API example to use StepVerifier.

Reuse embedded MongoDB utility.
2018-05-17 15:51:54 +02:00
Christoph Strobl
2474846281 #337 - Add sample for MongoDB 3.6 Change Streams. 2018-05-17 15:51:41 +02:00