Commit Graph

13 Commits

Author SHA1 Message Date
Mark Paluch
dc67d5272b #435 - Upgrade to Spring Boot 2.1.1.RELEASE.
Upgrade to Spring Boot 2.1.1. Cleanup POM references.
2018-11-30 13:48:47 +01:00
Oliver Gierke
d2eb42dad1 #421 - Elevate R2DBC example to top level project.
Moved r2dbc example to a top-level project. Switched to new Spring Data R2DBC project coordinates.

Original pull request: #422.
2018-10-19 11:36:19 +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
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
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
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
Oliver Gierke
b13fad2649 #377 - Added example for Spring Data R2DBC. 2018-06-22 11:14:46 +02:00
Oliver Gierke
fdb545fd18 #314 - Polishing.
Extracted MyBatis Boot Starter version int property in pom.xml. Removed unused code, more use of Lombok, formatting. Added new lines at end of files where missing.

Original pull request: #345.
2018-03-09 16:40:54 +01:00
Jens Schauder
047610df5f #314 - Added MyBatis example.
MyBatisTests demonstrates how some queries executed by Spring Data JDBC can be replaced with MyBatis mappings.
The domain model is based on the basic JDBC.

The map of models is maintained by two statements configured in MyBatis mappings.

example.springdata.jdbc.mybatis.LegoSetMapper.findAllByProperty-models showcases how a map can be loaded by configuring the select to return instances of Map.Entry

example.springdata.jdbc.mybatis.Model.insert showcases how one can access the MyBatixContext and thereby the instance to save and the key of the parent entity.

Original pull request: #345.
2018-03-09 16:35:23 +01:00
Oliver Gierke
7af58dea68 #343 - Added build profiles to allow running the examples agains Spring Data snapshots. 2018-02-27 13:35:57 +01:00
Oliver Gierke
74d947e951 #313 - Polishing.
Tweaking indentation in pom.xml to use tabs. Switch to upgrade to Spring Data release train Lovelace to simplify dependency declarations.

Import order. Copyright years. Formatting.

Original pull request: #324.
2018-02-22 13:41:01 +01:00
Jens Schauder
5d556d6d45 #313 - Added examples showing basic usage of Spring Data JDBC.
Original pull request: #324.
2018-02-22 13:40:58 +01:00