Commit Graph

1103 Commits

Author SHA1 Message Date
Jens Schauder
075b4bad6f DATAJPA-1534 - Escape wildcards in QBE Like-queries.
The `StringMatcher` values `STARTING`, `ENDING`, and `CONTAINING` now escape wildcards in their parameters.

See also: DATAJPA-1519, DATAJPA-1522.
2019-05-07 09:18:26 +02:00
Mark Paluch
21fd826776 DATAJPA-1530 - Polishing.
Clean up warning suppressions.

Original pull request: #376.
2019-04-29 10:02:37 +02:00
Jens Schauder
f89dd2c0ac DATAJPA-1530 - Polishing.
Simplified generics.

Original pull request: #376.
2019-04-29 10:02:35 +02:00
Jens Schauder
6eca6c99fc DATAJPA-1530 - Use ProxyUtils to detect Hibernate proxies.
Original pull request: #376.
2019-04-29 10:02:14 +02:00
Christoph Strobl
72bc319aaa DATAJPA-1513 - Prepare 2.2 M3 (Moore). 2019-04-11 11:23:56 +02:00
Christoph Strobl
a0bf0638f2 DATAJPA-1513 - Updated changelog. 2019-04-11 11:23:49 +02:00
Oliver Drotbohm
e3ea13468a DATAJPA-1504 - Updated changelog. 2019-04-01 20:56:25 +02:00
Oliver Drotbohm
4c8c804523 DATAJPA-1494 - Updated changelog. 2019-04-01 19:36:56 +02:00
Oliver Drotbohm
729ea1d5f8 DATAJPA-1521 - Updated changelog. 2019-04-01 18:52:15 +02:00
Oliver Drotbohm
205b8b3d83 DATAJPA-1493 - Updated changelog. 2019-04-01 18:49:21 +02:00
Jens Schauder
d15f5efc56 DATAJPA-1522 - Now also escaping the escape character.
Related tickets: DATAJPA-1519.
2019-04-01 17:06:09 +02:00
Jens Schauder
170092f47c DATAJPA-1519 - Fixed broken test.
Made the test more specific which demonstrated that the test was broken in the first place.
2019-04-01 12:13:57 +02:00
Oliver Drotbohm
417202db8e DATAJPA-1519 - Final polishing.
Introduced dedicated JPA SpEL root  object to be able to explicitly control the function names exposed.
2019-04-01 10:12:43 +02:00
Jens Schauder
ee39e8863b DATAJPA-1519 - Made the escapeCharacter itself available in SpEL expression.
Adapted documentation to reflect the changed API for escaping.
2019-04-01 10:12:39 +02:00
Oliver Drotbohm
16661f7e7e DATAJPA-1519 - Polishing.
Moved the registration of the escape(…) SpEL function into an EvaluationContextExtension to avoid the need for a dedicated static method on EscapeCharacter. Moved Escape Character in the ….repository.query package to remove the package cycle.
2019-04-01 10:11:42 +02:00
Jens Schauder
9b16fef6e9 DATAJPA-1519 - Wildcard escaping in LIKE-queries.
Derived queries with `contains`, `startWith` or `endsWith` predicates now use wildcard escaping in order to avoid selecting more then requested.
A function `escape(String, String)` is made available in SpEL expressions as well for the same purpose.

Note that annotated queries and derived queries with LIKE conditions don't get escaped because it is not clear if the use of wildcards in the argument is intended or not.
2019-04-01 10:11:22 +02:00
Spring Operator
cde0b1dacf DATAJPA-1512 - 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 352 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).

Original Pull Request: #374
2019-03-22 08:38:37 +01:00
Spring Operator
25e691e93c DATAJPA-1512 - 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://www.unicode.org/reports/tr18/ (200) with 1 occurrences could not be migrated:
   ([https](https://www.unicode.org/reports/tr18/) result SSLProtocolException).

# 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://www.codesmell.org/blog/2008/12/hibernate-hsql-native-queries-and-booleans/ (UnknownHostException) with 2 occurrences migrated to:
  https://www.codesmell.org/blog/2008/12/hibernate-hsql-native-queries-and-booleans/ ([https](https://www.codesmell.org/blog/2008/12/hibernate-hsql-native-queries-and-booleans/) result UnknownHostException).

## 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://docs.jboss.org/hibernate/jpamodelgen/1.0/reference/en-US/html_single/ with 1 occurrences migrated to:
  https://docs.jboss.org/hibernate/jpamodelgen/1.0/reference/en-US/html_single/ ([https](https://docs.jboss.org/hibernate/jpamodelgen/1.0/reference/en-US/html_single/) result 200).
* [ ] http://en.wikipedia.org/wiki/Dependency_Injection with 2 occurrences migrated to:
  https://en.wikipedia.org/wiki/Dependency_Injection ([https](https://en.wikipedia.org/wiki/Dependency_Injection) result 200).
* [ ] http://github.com/spring-projects/spring-data-jpa with 1 occurrences migrated to:
  https://github.com/spring-projects/spring-data-jpa ([https](https://github.com/spring-projects/spring-data-jpa) result 200).
* [ ] http://www.hibernate.org (301) with 2 occurrences migrated to:
  https://hibernate.org/ ([https](https://www.hibernate.org) result 200).
* [ ] http://projects.spring.io with 1 occurrences migrated to:
  https://projects.spring.io ([https](https://projects.spring.io) result 200).
* [ ] http://projects.spring.io/spring-boot/ with 1 occurrences migrated to:
  https://projects.spring.io/spring-boot/ ([https](https://projects.spring.io/spring-boot/) result 200).
* [ ] http://projects.spring.io/spring-data-jpa/ with 2 occurrences migrated to:
  https://projects.spring.io/spring-data-jpa/ ([https](https://projects.spring.io/spring-data-jpa/) result 200).
* [ ] http://spring.io/blog with 1 occurrences migrated to:
  https://spring.io/blog ([https](https://spring.io/blog) result 200).
* [ ] http://spring.io/guides/gs/accessing-data-jpa/ with 1 occurrences migrated to:
  https://spring.io/guides/gs/accessing-data-jpa/ ([https](https://spring.io/guides/gs/accessing-data-jpa/) result 200).
* [ ] http://spring.io/guides/gs/accessing-data-rest/ with 1 occurrences migrated to:
  https://spring.io/guides/gs/accessing-data-rest/ ([https](https://spring.io/guides/gs/accessing-data-rest/) result 200).
* [ ] http://stackoverflow.com/questions/tagged/spring-data-jpa with 3 occurrences migrated to:
  https://stackoverflow.com/questions/tagged/spring-data-jpa ([https](https://stackoverflow.com/questions/tagged/spring-data-jpa) result 200).
* [ ] http://www.eclipselink.org (301) with 2 occurrences migrated to:
  https://www.eclipse.org/eclipselink/ ([https](https://www.eclipselink.org) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans.xsd with 1 occurrences migrated to:
  https://www.springframework.org/schema/beans/spring-beans.xsd ([https](https://www.springframework.org/schema/beans/spring-beans.xsd) result 200).
* [ ] http://www.springframework.org/schema/data/repository/spring-repository.xsd with 3 occurrences migrated to:
  https://www.springframework.org/schema/data/repository/spring-repository.xsd ([https](https://www.springframework.org/schema/data/repository/spring-repository.xsd) result 200).
* [ ] http://contributor-covenant.org with 1 occurrences migrated to:
  https://contributor-covenant.org ([https](https://contributor-covenant.org) result 301).
* [ ] http://contributor-covenant.org/version/1/3/0/ with 1 occurrences migrated to:
  https://contributor-covenant.org/version/1/3/0/ ([https](https://contributor-covenant.org/version/1/3/0/) result 301).
* [ ] http://docs.spring.io/spring-data/data-commons/docs/current/api/index.html?org/springframework/data/domain/Persistable.html with 1 occurrences migrated to:
  https://docs.spring.io/spring-data/data-commons/docs/current/api/index.html?org/springframework/data/domain/Persistable.html ([https](https://docs.spring.io/spring-data/data-commons/docs/current/api/index.html?org/springframework/data/domain/Persistable.html) result 301).
* [ ] http://docs.spring.io/spring-data/data-jpa/docs/current/api/index.html?org/springframework/data/jpa/repository/support/JpaRepositoryFactory.html with 1 occurrences migrated to:
  https://docs.spring.io/spring-data/data-jpa/docs/current/api/index.html?org/springframework/data/jpa/repository/support/JpaRepositoryFactory.html ([https](https://docs.spring.io/spring-data/data-jpa/docs/current/api/index.html?org/springframework/data/jpa/repository/support/JpaRepositoryFactory.html) result 301).
* [ ] http://docs.spring.io/spring-data/data-jpa/docs/current/api/index.html?org/springframework/data/jpa/repository/support/SimpleJpaRepository.html with 1 occurrences migrated to:
  https://docs.spring.io/spring-data/data-jpa/docs/current/api/index.html?org/springframework/data/jpa/repository/support/SimpleJpaRepository.html ([https](https://docs.spring.io/spring-data/data-jpa/docs/current/api/index.html?org/springframework/data/jpa/repository/support/SimpleJpaRepository.html) result 301).
* [ ] http://docs.spring.io/spring-data/data-jpa/docs/current/reference/html with 1 occurrences migrated to:
  https://docs.spring.io/spring-data/data-jpa/docs/current/reference/html ([https](https://docs.spring.io/spring-data/data-jpa/docs/current/reference/html) result 301).
* [ ] http://docs.spring.io/spring-framework/docs/ with 1 occurrences migrated to:
  https://docs.spring.io/spring-framework/docs/ ([https](https://docs.spring.io/spring-framework/docs/) result 301).
* [ ] http://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/orm/jpa/LocalContainerEntityManagerFactoryBean.html with 1 occurrences migrated to:
  https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/orm/jpa/LocalContainerEntityManagerFactoryBean.html ([https](https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/orm/jpa/LocalContainerEntityManagerFactoryBean.html) result 301).
* [ ] http://help.github.com/forking/ with 1 occurrences migrated to:
  https://help.github.com/forking/ ([https](https://help.github.com/forking/) result 301).
* [ ] http://java.net/projects/jpa-spec/lists/jsr338-experts/archive/2012-07/message/17 with 1 occurrences migrated to:
  https://java.net/projects/jpa-spec/lists/jsr338-experts/archive/2012-07/message/17 ([https](https://java.net/projects/jpa-spec/lists/jsr338-experts/archive/2012-07/message/17) result 301).
* [ ] http://jira.springframework.org/browse/SPR-2598 with 1 occurrences migrated to:
  https://jira.springframework.org/browse/SPR-2598 ([https](https://jira.springframework.org/browse/SPR-2598) result 301).
* [ ] http://jira.springframework.org/browse/SPR-7340 with 1 occurrences migrated to:
  https://jira.springframework.org/browse/SPR-7340 ([https](https://jira.springframework.org/browse/SPR-7340) result 301).
* [ ] http://projects.spring.io/spring-data with 3 occurrences migrated to:
  https://projects.spring.io/spring-data ([https](https://projects.spring.io/spring-data) result 301).
* [ ] http://projects.spring.io/spring-framework with 2 occurrences migrated to:
  https://projects.spring.io/spring-framework ([https](https://projects.spring.io/spring-framework) result 301).
* [ ] http://www.springframework.org/schema/data/jpa/spring-jpa.xsd with 1 occurrences migrated to:
  https://www.springframework.org/schema/data/jpa/spring-jpa.xsd ([https](https://www.springframework.org/schema/data/jpa/spring-jpa.xsd) result 301).
* [ ] http://www.springframework.org/schema/data/repository/spring-repository-1.0.xsd with 2 occurrences migrated to:
  https://www.springframework.org/schema/data/repository/spring-repository-1.0.xsd ([https](https://www.springframework.org/schema/data/repository/spring-repository-1.0.xsd) result 301).
* [ ] http://www.threeten.org/threetenbp with 2 occurrences migrated to:
  https://www.threeten.org/threetenbp ([https](https://www.threeten.org/threetenbp) result 301).
* [ ] http://download.oracle.com/otn-pub/jcp/persistence-2.0-fr-eval-oth-JSpec/persistence-2_0-final-spec.pdf with 1 occurrences migrated to:
  https://download.oracle.com/otn-pub/jcp/persistence-2.0-fr-eval-oth-JSpec/persistence-2_0-final-spec.pdf ([https](https://download.oracle.com/otn-pub/jcp/persistence-2.0-fr-eval-oth-JSpec/persistence-2_0-final-spec.pdf) result 302).
* [ ] http://download.oracle.com/otn-pub/jcp/persistence-2_1-fr-eval-spec/JavaPersistence.pdf with 2 occurrences migrated to:
  https://download.oracle.com/otn-pub/jcp/persistence-2_1-fr-eval-spec/JavaPersistence.pdf ([https](https://download.oracle.com/otn-pub/jcp/persistence-2_1-fr-eval-spec/JavaPersistence.pdf) result 302).
* [ ] http://repo.spring.io/libs-snapshot with 1 occurrences migrated to:
  https://repo.spring.io/libs-snapshot ([https](https://repo.spring.io/libs-snapshot) result 302).
* [ ] http://www.springsource.org/download with 1 occurrences migrated to:
  https://www.springsource.org/download ([https](https://www.springsource.org/download) result 302).

# Ignored
These URLs were intentionally ignored.

* http://www.springframework.org/schema/beans with 2 occurrences
* http://www.springframework.org/schema/context with 10 occurrences
* http://www.springframework.org/schema/data/jpa with 12 occurrences
* http://www.springframework.org/schema/data/repository with 10 occurrences
* http://www.springframework.org/schema/tool with 10 occurrences
* http://www.w3.org/2001/XMLSchema with 5 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 1 occurrences

Original Pull Request: #342
2019-03-21 08:01:55 +01:00
Spring Operator
972faf02b1 DATAJPA-1512 - 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://maven.apache.org/xsd/maven-4.0.0.xsd with 1 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://www.springframework.org/schema/beans/spring-beans-3.0.xsd with 1 occurrences migrated to:
  https://www.springframework.org/schema/beans/spring-beans-3.0.xsd ([https](https://www.springframework.org/schema/beans/spring-beans-3.0.xsd) result 200).
* http://www.springframework.org/schema/beans/spring-beans.xsd with 20 occurrences migrated to:
  https://www.springframework.org/schema/beans/spring-beans.xsd ([https](https://www.springframework.org/schema/beans/spring-beans.xsd) result 200).
* http://www.springframework.org/schema/context/spring-context.xsd with 5 occurrences migrated to:
  https://www.springframework.org/schema/context/spring-context.xsd ([https](https://www.springframework.org/schema/context/spring-context.xsd) result 200).
* http://www.springframework.org/schema/data/jpa/spring-jpa.xsd with 14 occurrences migrated to:
  https://www.springframework.org/schema/data/jpa/spring-jpa.xsd ([https](https://www.springframework.org/schema/data/jpa/spring-jpa.xsd) result 200).
* http://www.springframework.org/schema/data/repository/spring-repository.xsd with 4 occurrences migrated to:
  https://www.springframework.org/schema/data/repository/spring-repository.xsd ([https](https://www.springframework.org/schema/data/repository/spring-repository.xsd) result 200).
* http://www.springframework.org/schema/jdbc/spring-jdbc.xsd with 3 occurrences migrated to:
  https://www.springframework.org/schema/jdbc/spring-jdbc.xsd ([https](https://www.springframework.org/schema/jdbc/spring-jdbc.xsd) result 200).
* http://www.springframework.org/schema/jee/spring-jee.xsd with 1 occurrences migrated to:
  https://www.springframework.org/schema/jee/spring-jee.xsd ([https](https://www.springframework.org/schema/jee/spring-jee.xsd) result 200).
* http://www.springframework.org/schema/tx/spring-tx.xsd with 1 occurrences migrated to:
  https://www.springframework.org/schema/tx/spring-tx.xsd ([https](https://www.springframework.org/schema/tx/spring-tx.xsd) result 200).
* http://www.springframework.org/schema/util/spring-util.xsd with 5 occurrences migrated to:
  https://www.springframework.org/schema/util/spring-util.xsd ([https](https://www.springframework.org/schema/util/spring-util.xsd) result 200).
* http://projects.spring.io/spring-data-jpa with 1 occurrences migrated to:
  https://projects.spring.io/spring-data-jpa ([https](https://projects.spring.io/spring-data-jpa) result 301).
* http://java.sun.com/xml/ns/persistence/orm_2_0.xsd with 3 occurrences migrated to:
  https://java.sun.com/xml/ns/persistence/orm_2_0.xsd ([https](https://java.sun.com/xml/ns/persistence/orm_2_0.xsd) result 302).
* http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd with 2 occurrences migrated to:
  https://java.sun.com/xml/ns/persistence/persistence_1_0.xsd ([https](https://java.sun.com/xml/ns/persistence/persistence_1_0.xsd) result 302).
* http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd with 3 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 10 occurrences
* http://java.sun.com/xml/ns/persistence/orm with 7 occurrences
* http://maven.apache.org/POM/4.0.0 with 2 occurrences
* http://www.springframework.org/schema/beans with 42 occurrences
* http://www.springframework.org/schema/context with 10 occurrences
* http://www.springframework.org/schema/data/jpa with 28 occurrences
* http://www.springframework.org/schema/data/repository with 9 occurrences
* http://www.springframework.org/schema/jdbc with 6 occurrences
* http://www.springframework.org/schema/jee with 2 occurrences
* http://www.springframework.org/schema/tx with 2 occurrences
* http://www.springframework.org/schema/util with 10 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 30 occurrences

Original pull request: #341
2019-03-20 09:02:12 -05:00
Oliver Drotbohm
c04aee7196 DATAJPA-1515 - Moved off Spring Data Commons' deprecations.
Related ticket: DATACMNS-1496.
2019-03-13 18:45:09 +01:00
Christoph Strobl
230c675021 DATAJPA-1481 - Prepare 2.2 M2 (Moore). 2019-03-07 09:41:17 +01:00
Christoph Strobl
c60332e768 DATAJPA-1481 - Updated changelog. 2019-03-07 09:41:09 +01:00
Mark Paluch
03af1a338b DATAJPA-1156 - Polishing.
Reformat code. Add since tags. Use Predicate in findQueryHints(…) instead of a boolean flag. Add missing license headers.

Original pull request: #279.
2019-02-28 11:16:10 +01:00
Jens Schauder
91ebd876f1 DATAJPA-1156 - Filter QueryHints for count queries in QuerydslJpaPredicateExecutor.
Original pull request: #279.
2019-02-28 11:10:19 +01:00
Mark Paluch
3e95d64150 DATAJPA-1404 - Polishing.
Simplify if-empty comparison. Fix ticket references.

Original pull request: #304.
2019-02-28 10:40:40 +01:00
Jens Schauder
877db7477c DATAJPA-1404 - Create explicit outer join for inverse, optional one-to-one relationships.
When deciding between simple navigation and explicit outer join we consider this additional case to work around peculiar behavior of JPA implementations.

See also:
https://hibernate.atlassian.net/browse/HHH-12712
https://github.com/eclipse-ee4j/jpa-api/issues/170

Original pull request: #304.
2019-02-28 10:22:41 +01:00
Mark Paluch
31876ac159 DATAJPA-1495 - Updated changelog. 2019-02-13 11:47:52 +01:00
AlphaDio
ce1a449e88 DATAJPA-1502 - Fixed typo in reference docs on Specifications.
Montary -> Monetary.

Original pull request: #306.
2019-01-30 17:15:21 +01:00
Oliver Drotbohm
7ba3d1d3a9 DATAJPA-1321 - Fixed javadoc of JpaRepository.getOne(…). 2019-01-29 17:00:45 +01:00
didiez
bf43e14fca DATAJPA-1297 - Fixed usage of outputParameterName in @Procedure annotation.
Original pull request: #260.
2019-01-16 10:51:48 +01:00
Mark Paluch
2f9d372c01 DATAJPA-1468 - Updated changelog. 2019-01-10 14:15:38 +01:00
Mark Paluch
ac10226e90 DATAJPA-1467 - Updated changelog. 2019-01-10 12:26:31 +01:00
Mark Paluch
e1c4459c8f DATAJPA-1465 - Updated changelog. 2019-01-10 11:01:16 +01:00
Mark Paluch
2d72f8f323 DATAJPA-1490 - Update copyright years to 2019. 2019-01-02 13:58:33 +01:00
Oliver Drotbohm
59b74fef3a DATAJPA-1487 - Fixed bean definition registration for JpaMetamodelCacheCleanup.
Previously, the bean definition was registered as lazy bean which caused it not to be instantiated in the first place and thus – more importantly – the disposal method not being triggered when the ApplicationContext shuts down. We now properly register it as eager bean.

Related tickets: DATAJPA-1446.
2018-12-20 16:19:23 +01:00
Jens Schauder
7fd992dcdd DATAJPA-1485 - Clarified documentation for @Modifying. 2018-12-19 13:42:30 +01:00
Oliver Drotbohm
adb8eb1537 DATAJPA-1484 - Add build profile for Hibernate 6.
Added build profile Hibernate 6 snapshots. Introduced property for Hibernate group identifier as it's gonna change to org.hibernate.orm in 6.0.
Added the build profile to the Travis builds. Added explicit cast to the Hibernate implementation in PersistenceProvider as ScrollableResults now uses a generic type as return value for its ….get() method.
2018-12-13 15:57:37 +01:00
Christoph Strobl
053b53f230 DATAJPA-1478 - Prepare 2.2 M1 (Moore). 2018-12-11 10:53:11 +01:00
Christoph Strobl
1db9039b2f DATAJPA-1478 - Updated changelog. 2018-12-11 10:53:07 +01:00
Mark Paluch
01341f8f8e DATAJPA-1479 - Simplify reference documentation setup. 2018-12-10 10:13:17 +01:00
Oliver Drotbohm
25924d8994 DATAJPA-1449 - Polishing.
Removed Specification.EMPTY_SPEC. Add nullable annotations where needed. Removed CompositionType in favor of explicit lambda.
2018-12-04 14:43:46 +01:00
Mark Paluch
0dc16db1a3 DATAJPA-1447 - Updated changelog. 2018-11-27 14:54:00 +01:00
Mark Paluch
cbcb0055a6 DATAJPA-1440 - Updated changelog. 2018-11-27 12:36:42 +01:00
Mark Paluch
cf8c935bcf DATAJPA-1441 - Updated changelog. 2018-11-27 11:27:19 +01:00
Chr1st0ph
01e36dbb44 DATAJPA-1335 - Add missing @Override annotations.
Original pull request: #272.
2018-11-01 13:30:43 +01:00
Sebastian Staudt
4c17e295ab DATAJPA-1449 - Removal of Specifications.
`Specifications` is deprecated since 2.0. This removes it completely.

 * Moves static helper code into a private helper class.
 * Removes references to `Specifications` from `Specification`.

 Original pull request: #300.
2018-11-01 11:53:50 +01:00
Sebastian Staudt
580d2a65c0 DATAJPA-1449 - Remove reference to Specifications in documentation.
`Specifications` has been deprecated since 2.0, so it shouldn’t be
mentioned in the documentation. Instead, refer to the default methods of
`Specification`.

Original pull request: #298.
2018-11-01 11:46:15 +01:00
Oliver Drotbohm
e5cda6117a DATAJPA-1448 - Polishing.
AssertJ polishing in unit tests. Formatting.
2018-10-30 10:15:08 +01:00
Oliver Drotbohm
a90d789716 DATAJPA-1448 - Properly avoid double registration of AnnotationBeanConfigurerAspect.
Previously we used the aspect's class name to guard the registration of a AnnotationBeanConfigurerAspect bean but eventually ended up registering it under the globally used name (org.springframework.context.config.internalBeanConfigurerAspect).

That caused our bean being registered even if there already was one in the context causing the original bean to be overridden. The latter is now disabled by default in Spring Boot 2.1 so that it causes applications failing to start.

We now properly check for the correct bean name to guard the registration.
2018-10-30 10:15:08 +01:00
Mark Paluch
35e16773e0 DATAJPA-1439 - Updated changelog. 2018-10-29 14:30:28 +01:00