Mark Paluch
23dcae3a17
Switch to records.
...
See #606 .
2021-04-30 10:28:59 +02:00
Mark Paluch
32d118f046
Omit local variable declaration using var.
...
See #606 .
2021-04-30 10:28:51 +02:00
Mark Paluch
c23d0c6198
Polishing.
...
Original pull request: #617 .
See #583 .
2021-04-28 10:18:15 +02:00
Mark Paluch
ec8557c7da
Update copyright years to 2021.
...
Closes #616
2021-04-27 14:47:20 +02:00
Mark Paluch
04c9383550
Polishing.
...
Add author tags. Reduce visibility where applicable. Reformat code.
See #583 .
Original pull request: #615 .
2021-04-27 14:45:12 +02:00
divya_jnu08
c1d4eb5e6b
Migrate JDBC examples to JUnit 5.
...
See #583 .
Original pull request: #615
2021-04-27 14:44:49 +02:00
Jens Schauder
8f123dcafa
Uses BeforeConvertEvent instead of BeforeSaveEvent.
...
Closes : #599
Original pull request: #601 .
2021-04-19 09:29:14 +02:00
Jens Schauder
d70804b15c
Switch to lombok.With
...
This replaces the use of lombok.experimental.Wither which is deprecated.
Closes #611
2021-04-09 14:05:08 +02:00
Jens Schauder
01b0a5674a
#566 - Fix broken test by searching for the correct name.
...
Also polishing.
2020-11-09 11:49:21 +01:00
Jesse Friedland
9f6b6f3cbd
#566 - Demonstrate custom query on a two entity aggregate.
...
Based on the discussion at https://stackoverflow.com/questions/52978700/how-to-write-a-custom-query-in-spring-data-jdbc
2020-11-05 17:34:11 +01:00
Jens Schauder
038ac0a932
#563 - Adapts JDBC examples to changes in Spring Data JDBC 2.0.
...
Since SQL Identifiers are now quoted letter casing must be taken into consideration when specifying column names in `@Column` or similar.
Disabled Liquibase which isn't used/configured at all and therefore doesn't work.
Moved application context configurations to use `AbstractJdbcConfiguration`.
2020-05-13 15:54:28 +02:00
Jens Schauder
d320ccac6d
#543 - Changes CHAR to VARCHAR.
...
CHAR used to cause the author attribut to get right padded with spaces during insert.
2019-11-26 15:31:16 +01:00
Mark Paluch
a44f93a9bc
#441 - Polishing.
...
Reuse provided configuration for NamedParameterJdbcOperations. Use listeners and EntityCallbacks. Remove explicit dependency versions.
2019-08-13 14:54:52 +02:00
Jens Schauder
db66b173b8
#441 - Demonstrating how to do direct inserts with the JdbcAggregateTemplate.
...
See also: https://jira.spring.io/browse/DATAJDBC-282
2019-08-13 14:49:31 +02:00
Spring Operator
ccae97890f
#491 - URL Cleanup.
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/ ) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 426 occurrences migrated to:
https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0 ) result 200).
2019-03-22 08:13:14 +01:00
Mark Paluch
4f64e5dc8b
#439 - Increase visibility of JDBC bean definitions.
...
Spring Data JDBC 1.1 introduces visibility changes to JdbcConfiguration and so we must declare overrides with at least the same visibility.
2018-12-10 16:32:23 +01:00
Mark Paluch
70729804b8
#415 - Adapt JDBC example to API changes in JdbcConfiguration.
2018-09-21 06:52:12 -04:00
Jens Schauder
fdca9980a9
#411 - Simplified example by using @Column instead of NamingStrategy.
2018-09-18 15:31:07 +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
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
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
Oliver Gierke
4ca4524227
#346 - Polishing.
2018-04-16 15:33:02 +02:00
Jens Schauder
68a15b0f5a
#346 - Demonstrating the use of @Query with and without @Modifying.
...
Added assertions to existing tests to verify they work as intended.
Changed Model to a value object because we can.
2018-04-16 15:33:01 +02:00
Jens Schauder
2571c89af0
#354 - Fixes compile errors due to DATAJDBC-200.
2018-04-16 09:54:39 +02:00
Jens Schauder
05bc950a46
#351 - Fix and simplify DataAccessStrategy construction.
...
Removed explicit generation of DefaultDataAccessStrategy since that is now done by default.
Using MyBatisDataAccessStrategy factory for creating an appropriate DataAccessStrategy in the presence of MyBatis.
Removed references to DefaultNamingStrategy since that is now merged into NamingStrategy.
2018-03-28 11:24:03 +02: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