Commit Graph

911 Commits

Author SHA1 Message Date
Spring Operator
3e9cb20304 DATACMNS-1500 - 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 431 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: #371
2019-03-22 10:54:40 +01:00
Spring Operator
cfdffce191 DATACMNS- 1500 - 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://repo.spring.io/plugins-release with 1 occurrences migrated to:
  https://repo.spring.io/plugins-release ([https](https://repo.spring.io/plugins-release) result 302).

# 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: #349.
2019-03-18 17:37:48 +01:00
Oliver Gierke
a295a229bc DATACMNS-1242 - Reduced log output for test execution. 2018-01-10 12:09:26 +01:00
Oliver Gierke
6faa49e2e4 DATACMNS-858 - Polishing.
Some JavaDoc and formatting.
2016-05-21 12:03:32 +02:00
Oliver Gierke
919905f85c DATACMNS-858 - Fixed JavaDoc for CrudMethods.getDeleteMethod().
We're now correctly stating that we're preferring the delete method that takes the entity as argument over the one taking the id to match what's actually implemented.
2016-05-21 12:03:32 +02:00
Oliver Gierke
6c9bc7fac8 DATACMNS-777 - After release cleanups. 2015-10-14 14:14:27 +02:00
Spring Buildmaster
ab1c9696b7 DATACMNS-777 - Prepare next development iteration. 2015-10-14 03:14:25 -07:00
Spring Buildmaster
cada363a9d DATACMNS-777 - Release version 1.9.4.RELEASE (Evans SR4). 2015-10-14 03:14:22 -07:00
Oliver Gierke
7b4686e18e DATACMNS-777 - Prepare 1.9.4.RELEASE (Evans SR4). 2015-10-14 11:25:06 +02:00
Oliver Gierke
ed5f1bf113 DATACMNS-777 - Updated changelog. 2015-10-14 11:24:55 +02:00
Oliver Gierke
62c990c402 DATACMNS-774 - Updated Travis build profiles. 2015-10-14 11:17:17 +02:00
Oliver Gierke
ac4f9aa1d0 DATACMNS-778 - Re-introduced support for JTA 2.1 @Transactional.
Refreshed the copy of AnnotationTransactionAttributeSource to pull in the JTA 2.1 support introduced in the Spring Framework class. Opened up a ticket [0] to improve Spring Framework to eventually be able to ditch the copies to prevent such scenarios in the future (the missing feature introduced that is).

Related issues: DATACMNS-715.
2015-10-14 11:16:50 +02:00
Oliver Gierke
de7063c665 DATACMNS-724 - After release cleanups. 2015-07-01 01:41:44 +02:00
Spring Buildmaster
507596d71b DATACMNS-724 - Prepare next development iteration. 2015-06-30 15:33:26 -07:00
Spring Buildmaster
2ef55b1fa7 DATACMNS-724 - Release version 1.9.3.RELEASE (Evans SR3). 2015-06-30 15:33:22 -07:00
Oliver Gierke
fedcc1f4a3 DATACMNS-724 - Prepare 1.9.3.RELEASE (Evans SR3). 2015-07-01 00:12:28 +02:00
Oliver Gierke
f62455f551 DATACMNS-724 - Updated changelog. 2015-07-01 00:12:07 +02:00
Oliver Gierke
260c39976f DATACMNS-725 - Updated changelog. 2015-06-30 13:46:34 +02:00
Oliver Gierke
8e3dff2921 DATACMNS-706 - Updated changelog. 2015-06-30 13:46:24 +02:00
Oliver Gierke
fc601f81da DATACMNS-662 - Updated changelog. 2015-06-30 13:45:59 +02:00
Oliver Gierke
c811f7fb73 DATACMNS-713 - Disabled total adaption in PageImpl for empty pages.
The newly introduced adaption of the total in PageImpl must only be applied if the page accessed is not empty.
2015-06-30 11:08:53 +02:00
Oliver Gierke
21c100d98c DATACMNS-719 - Version now parses strings with non-numeric suffixes correctly.
Extended Version value object to correctly dump a non-numeric last segment of a version string to parse. Incorrect source version strings now raise an IllegalArgumentException better explaining the cause.

Related tickets: DATACMNS-496.
2015-06-22 11:43:56 +02:00
Oliver Gierke
97f8a0aff6 DATACMNS-717 - AnnotatedTypeScanner now uses Environment and ResourceLoader configured.
We now implement EnvironmentAware and ResourceLoaderAware to respect the current environment setup when scanning for types. We use the ResourceLoader's ClassLoader if configured but indicate to fall back to the default one if none configured.
2015-06-22 11:43:56 +02:00
Thomas Darimont
69d507f546 DATACMNS-716 - Allow collection executions with wrapper types as return values.
We now support collection executions in query derivation in combination with wrapper types like (Future, Optional) that wrap a collection, e.g. Future<List<User>>. Previously we used the "raw" return type which tricked our detection for Collection / Page / Slice executions.

Original pull request: #130.
2015-06-22 11:43:53 +02:00
Oliver Gierke
e00b98452d DATACMNS-715 - Repository factory now adds TransactionProxy interface if available.
We now leniently add the TransactionProxy marker interface to the repository proxy to opt-out of any further transaction handling potentially applied through @EnableTransactionManagement or its XML equivalent.

The interface will be introduced in Spring 4.1.7 / 4.2 RC2 so we're reflectively adding it if present. Might be something we can think of making less indirect for Fowler once 4.1.7 has been released.
2015-06-17 15:49:20 +02:00
Oliver Gierke
e3ee17304d DATACMNS-648 - Parameters now holds a non-static ParameterNameDiscoverer.
Turned the previously static ParameterNameDiscoverer into an instance variable to make sure the instance can be GCed correctly.
2015-06-15 18:09:44 +02:00
Oliver Gierke
c4fcf855a1 DATACMNS-713 - PageImpl now adapts total if necessary.
On a last page the total handed into a PageImpl constructor might not necessarily fit the content as there's the change of an insertion or deletion between the calculated count and the retrieval of the content. We now leniently mitigate those differences if the page created is the last page of the result.

Related tickets: DATAJPA-728, DATACMNS-615.
2015-06-15 14:23:35 +02:00
阮杰锋
46cb3e95fd DATACMNS-707 - Fixed typo in JavaDoc of CrudRepository
Changed from ( to { in JavaDoc of file CrudRepository.

Original pull request: #127.
2015-06-09 11:34:02 +02:00
Oliver Gierke
e7e9e77025 DATACMNS-569 - Fixed reference documentation on using underscores in property path expressions. 2015-06-04 12:04:41 +02:00
Oliver Gierke
267d7d24d6 DATACMNS-697 - TypeDiscoverer now considers field-local generics information.
In case we create a ParameterizedTypeInformation for a property we now also analyze the field-local generics information and add the discovered type mappings to the type variable map.
2015-05-16 18:56:28 +02:00
Greg Turnquist
5d1019ce92 DATACMNS-696 - Enable Slack notifications for Travis build.
Original pull request: #123.
2015-05-15 12:25:45 +02:00
Oliver Gierke
a4118e4374 DATACMNS-695 - Fixed potential NullPointerException in AbstractMappingContext.getPersistentPropertyPath(…).
When traversing nested property paths, AbstractMappingContext.getPersistentPropertyPath(…) previously used the raw actual property type. If the property path contains a reference to a generically typed property, this causes the deeper paths not being resolved correctly.

We now explicitly use the TypeInformation of the property to retain generics information while traversing the path.
2015-05-13 18:34:11 +02:00
Oliver Gierke
abe0ac13b5 DATACMNS-692 - Fixed web parameter range handling for Pageables.
In case the PageableHandlerMethodArgumentResolver was configured to use one-indexed parameters, it wasn't defaulting the lower bounds for the page number. This caused indexes out of the allowed bound submitted causing an invalid index handed tor PageRequest. We now apply better range shifting before the bounds are applied.
2015-05-13 18:01:04 +02:00
Oliver Gierke
9069e72d9f DATACMNS-694 - Removed <relativePath /> element from parent POM declaration. 2015-05-13 14:41:19 +02:00
Tomasz Wysocki
156f7c36a4 DATACMNS-693 - AbstractMappingContext now uses Spring's BeanUtils to lookup PropertyDescriptors.
Instead of manually using Introspector.getBeanInfo(…) we now use Spring's BeanUtils.getPropertyDescriptors(…) to benefit from some caching of descriptor instances as well as advanced support for fluent setters, default methods etc.

Original pull request: #122.
2015-05-13 13:28:33 +02:00
Oliver Gierke
e70cfbfd57 DATACMNS-691 - Removed Travis build profile for Spring 4.0.next. 2015-05-11 15:39:01 +02:00
Oliver Gierke
26b3516623 DATACMNS-689 - Improved reference documentation on web pagination.
Re-added index and defaulting information to the section that documents the currents state of web pagination. Removed legacy pagination sections as they're not really documenting the very legacy support (that would not even work anymore).

Added explicit anchors where missing.
2015-05-07 10:44:42 +02:00
Oliver Gierke
a61bd1406b DATACMNS-687 - Added section on dependency management to reference docs.
Added a dedicated dependencies.adoc that outlines the usage of the Spring Data release train BOM as well as the way one would customize the release train to be used with Spring Boot.

Also, we now explicitly list the Spring Framework version the release requires.
2015-05-04 14:27:29 +02:00
Thomas Darimont
1924aaf7af DATACMNS-682 - Add details of how to customize repository scanning using JavaConfig.
Completed description for the packages-to-scan customization with JavaConfig.

Original pull request: #121.
2015-04-16 12:08:59 +02:00
Oliver Gierke
57fca31ac7 DATACMNS-679 - Updated Sonargraph architecture description. 2015-04-13 13:15:18 +02:00
Oliver Gierke
97b8d45eee DATACMNS-681 - Removed some compiler warnings.
Removed unused constants. Removed usage of deprecated method in RepositoryBeanDefinitionParser.
2015-04-13 13:10:54 +02:00
Oliver Gierke
d67c43803c DATACMNS-677 - AnnotationBasedPersistentProperty now caches absence of annotations on accessor-only properties.
AnnotationBasedPersistentProperty now also caches the absence of properties that are expressed through accessors only. Previously the absence of a field caused us to skip the registration of the absence in the cache.
2015-04-07 08:45:25 +02:00
Arlo Louis O'Keeffe
8bf02ac6c9 DATACMNS-674 - Fixed typo in reference documentation. 2015-04-01 15:26:58 +02:00
Oliver Gierke
bf9dfcb386 DATACMNS-652 - Updated changelog. 2015-03-06 07:57:59 +01:00
Oliver Gierke
7da5f5baea DATACMNS-649 - Fixed detail in reference docs on extending all repositories.
The custom factory created to extend all repositories with additional behavior needs to return the type of the custom repository base class from getRepositoryBaseClass(…) to make sure the infrastructure can use it to inspect the CRUD methods correctly. Previously the documentations showed an interface being returned.

Code formatting in the example and inline code highlighting.
2015-02-24 16:35:00 +01:00
Oliver Gierke
0e35fb8c73 DATACMNS-646 - Enable Spring 4.2 build profile for Travis. 2015-02-10 18:30:11 +01:00
Arlo Louis O'Keeffe
d9156ffb7b DATACMNS-645 - Fix typo in reference documentation.
Original pull request: #113.
2015-02-10 11:33:50 +01:00
Oliver Gierke
ff6d0dda9d DATACMNS-642 - Avoid setter lookup in BeanWrapper for if field access is used.
We now delay the lookup of the setter method until we discover we really  need to use property access.
2015-02-04 17:13:17 +01:00
Oliver Gierke
a17100568c DATACMNS-640 - Fixed potential NullPointerException in PageableHandlerMethodArgumentResolver.
We now double check the fallback Pageable for being null before trying to lookup the Sort to fall back.
2015-02-04 10:32:31 +01:00
Oliver Gierke
2f923e4419 DATACMNS-563 - Added explicit unit test for one-indexed parameters on PagedResourcesAssembler. 2015-01-30 14:46:27 +01:00