1201 Commits

Author SHA1 Message Date
Oliver Drotbohm
ed569ef3cb DATAJPA-1523 - Updated changelog. 2019-05-10 14:18:09 +02:00
Oliver Drotbohm
3eccc33862 DATAJPA-1525 - Updated changelog. 2019-05-10 12:57:22 +02:00
Oliver Drotbohm
3e7420b7db DATAJPA-1506 - Polishing.
Extracted new tests into separate test method. Switch to AssertJ assertions.

Original pull request: #379.
2019-05-09 21:04:24 +02:00
Florian Lüdiger
e4a6bed366 DATAJPA-1506 - Fix alias detection for native query.
When no alias is specified in a native query that does not contain a WHERE clause right after the FROM clause, this is now correctly detected.

Original pull request: #379.
2019-05-09 20:55:48 +02:00
Christoph Strobl
d523e8a9b4 DATAJPA-1513 - Updated changelog. 2019-04-11 12:30:58 +02:00
Oliver Drotbohm
1f4c6f12a8 DATAJPA-1504 - Updated changelog. 2019-04-01 20:56:28 +02:00
Oliver Drotbohm
3b2e01c95e DATAJPA-1494 - After release cleanups. 2019-04-01 19:35:52 +02:00
Oliver Drotbohm
fb79e4fdb3 DATAJPA-1494 - Prepare next development iteration. 2019-04-01 19:35:51 +02:00
Oliver Drotbohm
92500a47c1 DATAJPA-1494 - Release version 2.0.14 (Kay SR14). 2019-04-01 19:05:42 +02:00
Oliver Drotbohm
9dd7dd87de DATAJPA-1494 - Prepare 2.0.14 (Kay SR14). 2019-04-01 19:05:14 +02:00
Oliver Drotbohm
c867def107 DATAJPA-1494 - Updated changelog. 2019-04-01 19:05:07 +02:00
Oliver Drotbohm
9eed0f1656 DATAJPA-1521 - Updated changelog. 2019-04-01 18:52:18 +02:00
Jens Schauder
5817e3f04f DATAJPA-1522 - Now also escaping the escape character.
Related tickets: DATAJPA-1519.
2019-04-01 17:10:59 +02:00
Oliver Drotbohm
fd605dfb30 DATAJPA-1493 - Updated changelog. 2019-04-01 13:54:13 +02:00
Jens Schauder
51c2e9e445 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:22:14 +02:00
Oliver Drotbohm
ee03f9b4a5 DATAJPA-1519 - Final polishing.
Introduced dedicated JPA SpEL root  object to be able to explicitly control the function names exposed.
2019-04-01 10:52:19 +02:00
Jens Schauder
b6060be66b DATAJPA-1519 - Made the escapeCharacter itself available in SpEL expression.
Adapted documentation to reflect the changed API for escaping.
2019-04-01 10:41:51 +02:00
Oliver Drotbohm
899b8b0db3 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:41:32 +02:00
Jens Schauder
4d4e6d418f 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. Improved reference documentation accordingly.
2019-04-01 10:40:10 +02:00
Spring Operator
7b189b8bc7 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 344 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: #347
2019-03-22 08:24:10 +01:00
Spring Operator
50828a67eb 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://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).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0 with 2 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 1 occurrences

Original pull request: #314
2019-03-20 09:15:50 -05:00
Christoph Strobl
2e3a8147fb DATAJPA-1481 - Updated changelog. 2019-03-07 10:30:09 +01:00
Mark Paluch
d58af47322 DATAJPA-1404 - Polishing.
Simplify if-empty comparison. Fix ticket references.

Original pull request: #304.
2019-02-28 10:40:31 +01:00
Jens Schauder
db7ab8a56a 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:23:24 +01:00
Mark Paluch
e68f004502 DATAJPA-1495 - Updated changelog. 2019-02-13 11:47:55 +01:00
AlphaDio
6b8c535e6e DATAJPA-1502 - Fixed typo in reference docs on Specifications.
Montary -> Monetary.

Original pull request: #306.
2019-01-30 17:16:29 +01:00
Oliver Drotbohm
8f6396f3b3 DATAJPA-1321 - Fixed javadoc of JpaRepository.getOne(…). 2019-01-29 17:01:07 +01:00
Oliver Drotbohm
1855612484 DATAJPA-1498 - Upgraded Hibernate 5.4 build profile to 5.4.1. 2019-01-22 14:08:44 +01:00
didiez
8db5ed793d DATAJPA-1297 - Fixed usage of outputParameterName in @Procedure annotation.
Original pull request: #260.
2019-01-16 10:58:46 +01:00
Mark Paluch
108eb15c40 DATAJPA-1468 - Updated changelog. 2019-01-10 14:15:40 +01:00
Mark Paluch
51580ea0df DATAJPA-1467 - After release cleanups. 2019-01-10 12:03:26 +01:00
Mark Paluch
dfe97e695b DATAJPA-1467 - Prepare next development iteration. 2019-01-10 12:03:24 +01:00
Mark Paluch
ab9c6c9927 DATAJPA-1467 - Release version 2.0.13 (Kay SR13). 2019-01-10 11:10:22 +01:00
Mark Paluch
7dbe13eb27 DATAJPA-1467 - Prepare 2.0.13 (Kay SR13). 2019-01-10 11:09:23 +01:00
Mark Paluch
0fd578b48f DATAJPA-1467 - Updated changelog. 2019-01-10 11:09:13 +01:00
Mark Paluch
810033587f DATAJPA-1465 - Updated changelog. 2019-01-10 11:01:18 +01:00
Mark Paluch
c2cb0478ee DATAJPA-1490 - Update copyright years to 2019. 2019-01-02 13:59:47 +01:00
Oliver Drotbohm
96922735a5 DATAJPA-1487 - Added integration tests for bean definition registration for JpaMetamodelCacheCleanup.
Back-ported integration tests for eager bean definition registration of JpaMetamodelCacheCleanup.

Related tickets: DATAJPA-1446.
2018-12-20 16:15:54 +01:00
Jens Schauder
ac84770483 DATAJPA-1485 - Clarified documentation for @Modifying. 2018-12-19 13:43:26 +01:00
Oliver Drotbohm
270c296fd3 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:49:15 +01:00
Oliver Drotbohm
677debabb1 DATAJPA-1483 - Upgrade Hibernate 5.4 build profile after GA release. 2018-12-13 15:49:13 +01:00
Christoph Strobl
f0cdee1a11 DATAJPA-1478 - Updated changelog. 2018-12-11 11:43:16 +01:00
Oliver Drotbohm
28383e1df1 DATAJPA-1473 - Add build profile for released Hibernate 5.4 versions. 2018-12-04 14:47:09 +01:00
Jens Schauder
e6a7defdcc DATAJPA-1472 - Removed the apt based JDK installation.
The script failed since Oracle moved the JDK8 files, but Travis JDK-switcher works just fine.
2018-12-04 08:43:50 +01:00
Mark Paluch
240de7bd37 DATAJPA-1447 - Updated changelog. 2018-11-27 14:54:04 +01:00
Mark Paluch
b651ef9681 DATAJPA-1440 - After release cleanups. 2018-11-27 12:16:34 +01:00
Mark Paluch
b3ace993b1 DATAJPA-1440 - Prepare next development iteration. 2018-11-27 12:16:32 +01:00
Mark Paluch
095671e79e DATAJPA-1440 - Release version 2.0.12 (Kay SR12). 2018-11-27 11:45:49 +01:00
Mark Paluch
4e44250333 DATAJPA-1440 - Prepare 2.0.12 (Kay SR12). 2018-11-27 11:44:58 +01:00
Mark Paluch
1580a571dd DATAJPA-1440 - Updated changelog. 2018-11-27 11:44:49 +01:00