Commit Graph

14 Commits

Author SHA1 Message Date
Mark Paluch
586092a287 Update JDBC examples to work with newer H2 versions.
See #636
2022-05-19 11:23:01 -05:00
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
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
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
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
Mark Paluch
34e73d360e #542 - Upgrade to Spring Boot 2.2.1. 2019-11-11 14:40:37 +01: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
Spring Operator
6d51ebf294 #473 - 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).

# HTTP URLs that Could Not Be Fixed
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.

* http://mybatis.org/dtd/mybatis-3-config.dtd (301) with 1 occurrences could not be migrated:
   ([https](https://mybatis.org/dtd/mybatis-3-config.dtd) result SSLHandshakeException).
* http://mybatis.org/dtd/mybatis-3-mapper.dtd (301) with 2 occurrences could not be migrated:
   ([https](https://mybatis.org/dtd/mybatis-3-mapper.dtd) result SSLHandshakeException).

# 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://maven.apache.org/xsd/maven-4.0.0.xsd with 70 occurrences migrated to:
  https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd) result 200).
* http://maven.apache.org/maven-v4_0_0.xsd with 6 occurrences migrated to:
  https://maven.apache.org/maven-v4_0_0.xsd ([https](https://maven.apache.org/maven-v4_0_0.xsd) result 301).
* http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd with 1 occurrences migrated to:
  https://java.sun.com/xml/ns/persistence/persistence_2_0.xsd ([https](https://java.sun.com/xml/ns/persistence/persistence_2_0.xsd) result 302).

# Ignored
These URLs were intentionally ignored.

* http://java.sun.com/xml/ns/persistence with 2 occurrences
* http://maven.apache.org/POM/4.0.0 with 152 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 77 occurrences

Original pull request: #472
2019-03-20 10:10:59 -05: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
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