Commit Graph

117 Commits

Author SHA1 Message Date
Kovács, Péter
950bcf04d8 #547 - Fixes Javadoc typo.
Original pull request: #547.
2019-12-04 08:47:46 +01:00
Oliver Drotbohm
3777b06b03 #506 - Replace custom Eclipselink setup with dedicated starter. 2019-08-08 19:01:13 +02:00
Oliver Drotbohm
c220ad61fb #514 - Use spring-framework.version instead of spring.version.
See spring-projects/spring-boot#17037.
2019-08-08 19:01:13 +02:00
Oliver Drotbohm
557851105c #514 - Switch to Spring Boot 2.2.
Fixed infrastructure configuration in Eclipselink example.
2019-08-08 18:57:39 +02:00
Oliver Drotbohm
e1a739a3d6 #508 - Upgrade to Eclipselink 2.7.4. 2019-07-10 15:28:58 +02:00
Oliver Drotbohm
f6245580c0 #504 - Fixing deprecation warnings in JPA and REST examples. 2019-06-07 09:30:43 +02:00
Feng Zhang
7b0c7a539b #494 - Fix spelling mistake.
Original pull request: #494.
2019-03-26 08:41:58 +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
Spring Operator
5e80d9cff6 #452 - URL cleanup in POMs.
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 But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.

* http://ethlo.com/maven (301) migrated to:
  https://ethlo.com/maven ([https](https://ethlo.com/maven) result 404).

## Fixed Success
These URLs were fixed successfully.

* http://projects.spring.io/spring-data-cassandra migrated to:
  https://projects.spring.io/spring-data-cassandra ([https](https://projects.spring.io/spring-data-cassandra) result 301).
* http://projects.spring.io/spring-data-jdbc migrated to:
  https://projects.spring.io/spring-data-jdbc ([https](https://projects.spring.io/spring-data-jdbc) result 301).
* http://projects.spring.io/spring-data-jpa migrated to:
  https://projects.spring.io/spring-data-jpa ([https](https://projects.spring.io/spring-data-jpa) result 301).
* http://projects.spring.io/spring-data-ldap migrated to:
  https://projects.spring.io/spring-data-ldap ([https](https://projects.spring.io/spring-data-ldap) result 301).
* http://projects.spring.io/spring-data-mongodb migrated to:
  https://projects.spring.io/spring-data-mongodb ([https](https://projects.spring.io/spring-data-mongodb) result 301).
* http://projects.spring.io/spring-data-solr migrated to:
  https://projects.spring.io/spring-data-solr ([https](https://projects.spring.io/spring-data-solr) result 301).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0
* http://maven.apache.org/maven-v4_0_0.xsd
* http://maven.apache.org/xsd/maven-4.0.0.xsd
* http://www.w3.org/2001/XMLSchema-instance
2019-03-07 17:29:30 +01:00
Mark Paluch
016549a2b4 #440 - Use Specification directly instead of deprecated Specifications type.
We now use Specification directly instead of using Specifications.where(…).
2018-12-12 15:42:29 +01:00
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
Mark Paluch
02ee909aa7 #389 - Polishing.
Add author tags. Reformat code.

Original pull request: #412.
2018-09-19 15:50:52 +02:00
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
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
Oliver Gierke
b155e9273d #394 - Upgrade to Lovelace RC2. 2018-08-20 12:07:20 +02:00
Oliver Gierke
4fe1ec39a2 #392 - Added example for deferred repository initialization. 2018-08-16 15:41:36 +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
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
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
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
Mark Paluch
8b7869d0df #365 - Upgrade to Hibernate 5.3. 2018-05-17 16:17:24 +02:00
Mark Paluch
53dd062c98 #360 - Add TravisCI and Maven profiles for Java 9 build. 2018-05-16 15:11:27 +02:00
Oliver Gierke
7a31deb2d6 #330 - Polished README on JPA 2.1 examples for manual result set mappings. 2018-05-09 16:47:23 +02:00
Oliver Gierke
6a0f692e71 #330 - Added projection sample for how to avoid dedicated SQL result set mappings.
Upgraded to Kay snapshots as the sampler needs some tweaks that have not made it into a released version yet.
2018-05-09 16:23:38 +02:00
Thomas Darimont
ad2b77e7ee #330 - Demonstrate usage of JPA 2.1 @SqlResultSetMapping.
Sometimes, e.g. for analytics, it is handy to be able to return a different entity result type from a Repository query method than the base Repository entity type or an interface based projection.

This demonstrates how to use a custom @SqlResultSetMapping in combination with @ColumnResult introduced in JPA 2.1.
2018-05-09 16:22:09 +02: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
9c2164ece6 #341 - Reduced log output for build execution.
Make sure test that previously used @SpringBootApplication now use @SpringBootTest to properly initialize Boot's default logging configuration.

Added explicit logback.xml to make sure tests running without Boot don't use debug logging by default.
2018-02-22 11:48:36 +01:00
Oliver Gierke
d854c6d084 #342 - Expanded copyright headers to 2018.
Removed trailing whitespace in touched files.
2018-02-22 11:42:57 +01:00
Ivan Sopov
ec94079b8f #321 - Fix Hibernate exclusion in EclipseLink sample.
Previously, the deprecated hibernate-entitymanager dependency was excluded but that was not taking effect, since current spring-boot-starter-data-jpa depends on hibernate-core.
2017-11-19 12:42:39 +01:00
Oliver Gierke
7bad34a7de #308 - Remove explicit Hibernate dependency handling. 2017-10-20 14:14:59 +02:00
Oliver Gierke
562b95996b #276 - Changed Javaslang example to use Vavr instead.
Module renamed and switched to Vavr packages. Explicitly refer to the Kay snapshots as the Vavr support is not available in a Spring Data release yet.
2017-10-06 18:02:11 +02:00
Oliver Gierke
567da544b7 #297 - Fixed POM setup for 2.0. 2017-10-06 17:39:31 +02:00
Mark Paluch
5c01c44130 #298 - Add JPA example for composable repositories. 2017-10-06 15:33:23 +02:00
Oliver Gierke
b87336ba8f #297 - Update to changes in ExampleMatcher API. 2017-10-06 15:29:07 +02:00
Jens Schauder
20f6963927 #297 - Fixed failing test due to repository methods now returning Optional.
Also migrated Tests to AssertJ.
2017-10-06 15:24:50 +02:00
Oliver Gierke
5d34f0a00d #297 - Tweaked persistence context handling in security tests.
The modifying query now clears the EntityManager so that the changes are really flushed to the database. This is necessary as Boot 2.0 flips the default for Hibernate's new identifier mappings which causes entities less aggressively being flushed and the previously used detach apparently removing them from the persistence context without ever making it to the database.
2017-10-06 15:15:55 +02:00
Oliver Gierke
4164bc4607 #297 - Upgraded to Boot 2.0 and Spring Data Kay.
Bumped version number to 2.0. Upgraded to Spring Boot 2.0.

Stuff disabled in the meantime:

- Cassandra: needs API adaptions in configuration
- JPA > Security: test fails with weird Hibernate error
- Redis > Reactive: API updates needed
- Solr: configration updates necessary

adjust versions

Updated elastic search to the new version.

Fixed the reactor version to Bismuth-BUILD-SNAPSHOT. This probably should be undone when boot references the proper bom.
2017-10-06 15:15:53 +02:00
Oliver Gierke
013058d410 #290 - Polishing.
Imports and typos in JavaDoc.
2017-08-24 11:54:24 +02:00
Oliver Gierke
663c8bd73b #290 - Removed obsolete @Autowired annotations. 2017-08-24 11:54:24 +02:00
Oliver Gierke
7870a7e060 #278 - Fix entity characteristics in Customer in Eclipselink example.
We now calculate the equals(…) and hashCode() methods by looking at the indentifier only. Removed default constructor in favor of Lombok's @NoArgConstructor.
2017-06-19 09:51:03 +02:00
Oliver Gierke
dbb13f831f #273 - Upgraded to Spring Boot 1.5.3.
Removed manually declared bean for Spring Security's EvaluationContextExtension.
2017-05-04 21:58:06 +02:00
Oliver Gierke
4cf37f3527 #252 - Upgraded to Spring Boot 1.5 snapshots (and thus Ingalls).
Let JPA examples work with latest Hibernate (5.2.7).
2017-01-27 12:35:55 +01:00
Mark Paluch
ba829655f2 #244 - Adopt changed constructor for JpaBaseConfiguration. 2017-01-04 15:56:24 +01:00
Oliver Gierke
be2c0b298c #237 - Upgraded to latest JPA providers.
Eclipselink 2.6.0 -> 2.6.4
Hibernate 5.2.1 -> 5.2.5 (was 5.0 in some places before)
2016-12-15 20:58:10 +01:00
Oliver Gierke
6709a6137f #236 - Removed obsolete Logback configuration files. 2016-12-15 20:56:48 +01:00
Oliver Gierke
1ddfd03d84 #232 - Added example to show JPA stream executions are rejected without surrounding transaction. 2016-12-14 15:36:24 +01:00
Oliver Gierke
cd36f6f0da #231 - Added example for Javaslang support on repositories.
Added an example that shows how Javaslang's collection types and Option can be used as repository query methods starting with Spring Data Ingalls RC1.
2016-12-14 14:05:38 +01:00
Oliver Gierke
17296a6b30 #210 - Switched to annotation based registration of entity listeners. 2016-09-28 19:07:31 +02:00