Browse Source

DATAJPA-1563 - Fix NoHTTP errors.

2.1.x
Oliver Drotbohm 7 years ago
parent
commit
b538591237
No known key found for this signature in database
GPG Key ID: 6E42B5787543F690
  1. 2
      CODE_OF_CONDUCT.adoc
  2. 28
      readme.adoc
  3. 8
      src/main/asciidoc/glossary.adoc
  4. 2
      src/main/asciidoc/images/epub-cover.svg
  5. 2
      src/main/asciidoc/index.adoc
  6. 14
      src/main/asciidoc/jpa.adoc
  7. 2
      src/main/asciidoc/preface.adoc
  8. 2
      src/main/java/org/springframework/data/jpa/convert/threetenbp/ThreeTenBackPortJpaConverters.java
  9. 4
      src/main/java/org/springframework/data/jpa/repository/EntityGraph.java
  10. 2
      src/main/java/org/springframework/data/jpa/repository/config/AuditingBeanDefinitionParser.java
  11. 2
      src/main/java/org/springframework/data/jpa/repository/query/JpaQueryMethod.java
  12. 2
      src/main/java/org/springframework/data/jpa/repository/query/SimpleJpaQuery.java
  13. 2
      src/main/java/org/springframework/data/jpa/support/MergingPersistenceUnitManager.java
  14. 14
      src/main/resources/META-INF/spring.schemas
  15. 2
      src/main/resources/license.txt
  16. 2
      src/main/resources/org/springframework/data/jpa/repository/config/spring-jpa-1.0.xsd
  17. 2
      src/main/resources/org/springframework/data/jpa/repository/config/spring-jpa-1.1.xsd
  18. 2
      src/main/resources/org/springframework/data/jpa/repository/config/spring-jpa-1.2.xsd
  19. 2
      src/main/resources/org/springframework/data/jpa/repository/config/spring-jpa-1.3.xsd
  20. 2
      src/main/resources/org/springframework/data/jpa/repository/config/spring-jpa-1.8.xsd
  21. 4
      src/main/resources/readme.txt
  22. 2
      src/test/java/org/springframework/data/jpa/repository/CustomHsqlHibernateJpaVendorAdaptor.java
  23. 4
      src/test/resources/application-context.xml
  24. 4
      src/test/resources/auditing/auditing-bfpp-context.xml
  25. 6
      src/test/resources/auditing/auditing-entity-listener.xml
  26. 4
      src/test/resources/auditing/auditing-namespace-context.xml
  27. 4
      src/test/resources/auditing/auditing-namespace-context2.xml
  28. 8
      src/test/resources/auditing/auditing-namespace-context3.xml
  29. 8
      src/test/resources/config/jpa-context-with-jndi.xml
  30. 6
      src/test/resources/config/lookup-strategies-context.xml
  31. 4
      src/test/resources/config/namespace-application-context.xml
  32. 4
      src/test/resources/config/namespace-autoconfig-context.xml
  33. 6
      src/test/resources/config/namespace-autoconfig-typefilter-context.xml
  34. 4
      src/test/resources/config/namespace-customfactory-context.xml
  35. 4
      src/test/resources/config/namespace-nested-repositories-application-context.xml
  36. 4
      src/test/resources/eclipselink.xml
  37. 4
      src/test/resources/hibernate.xml
  38. 4
      src/test/resources/infrastructure.xml
  39. 8
      src/test/resources/multiple-entity-manager-context.xml
  40. 8
      src/test/resources/multiple-entity-manager-integration-context.xml
  41. 6
      src/test/resources/openjpa.xml
  42. 6
      src/test/resources/org/springframework/data/jpa/repository/support/disable-default-transactions.xml
  43. 2
      src/test/resources/tx-manager.xml

2
CODE_OF_CONDUCT.adoc

@ -24,4 +24,4 @@ Instances of abusive, harassing, or otherwise unacceptable behavior may be repor @@ -24,4 +24,4 @@ Instances of abusive, harassing, or otherwise unacceptable behavior may be repor
All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances.
Maintainers are obligated to maintain confidentiality with regard to the reporter of an incident.
This Code of Conduct is adapted from the http://contributor-covenant.org[Contributor Covenant], version 1.3.0, available at http://contributor-covenant.org/version/1/3/0/[contributor-covenant.org/version/1/3/0/].
This Code of Conduct is adapted from the https://contributor-covenant.org[Contributor Covenant], version 1.3.0, available at https://contributor-covenant.org/version/1/3/0/[contributor-covenant.org/version/1/3/0/].

28
readme.adoc

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
image:https://spring.io/badges/spring-data-jpa/ga.svg[Spring Data JPA,link=http://projects.spring.io/spring-data-jpa/#quick-start]
image:https://spring.io/badges/spring-data-jpa/snapshot.svg[Spring Data JPA,link=http://projects.spring.io/spring-data-jpa/#quick-start]
image:https://spring.io/badges/spring-data-jpa/ga.svg[Spring Data JPA,link=https://projects.spring.io/spring-data-jpa/#quick-start]
image:https://spring.io/badges/spring-data-jpa/snapshot.svg[Spring Data JPA,link=https://projects.spring.io/spring-data-jpa/#quick-start]
image:https://jenkins.spring.io/buildStatus/icon?job=spring-data-jpa%2Fmaster&subject=Moore%20(master)[link=https://jenkins.spring.io/view/SpringData/job/spring-data-jpa/]
image:https://jenkins.spring.io/buildStatus/icon?job=spring-data-jpa%2F2.1.x&subject=Lovelace%20(2.1.x)[link=https://jenkins.spring.io/view/SpringData/job/spring-data-jpa/]
@ -7,7 +7,7 @@ image:https://jenkins.spring.io/buildStatus/icon?job=spring-data-jpa%2F1.11.x&su @@ -7,7 +7,7 @@ image:https://jenkins.spring.io/buildStatus/icon?job=spring-data-jpa%2F1.11.x&su
= Spring Data JPA image:https://travis-ci.org/spring-projects/spring-data-jpa.svg?branch=master[Build Status,link=https://travis-ci.org/spring-projects/spring-data-jpa] image:https://build.spring.io/plugins/servlet/buildStatusImage//SPRINGDATAJPA-DATAJPA[Build status,link=https://build.spring.io/browse//SPRINGDATAJPA-DATAJPA]
The primary goal of the http://projects.spring.io/spring-data[Spring Data] project is to make it easier to build Spring-powered applications that use data access technologies. This module deals with enhanced support for JPA based data access layers.
The primary goal of the https://projects.spring.io/spring-data[Spring Data] project is to make it easier to build Spring-powered applications that use data access technologies. This module deals with enhanced support for JPA based data access layers.
== Features
@ -21,12 +21,12 @@ The primary goal of the http://projects.spring.io/spring-data[Spring Data] proje @@ -21,12 +21,12 @@ The primary goal of the http://projects.spring.io/spring-data[Spring Data] proje
== Getting Help
This README as well as the http://docs.spring.io/spring-data/data-jpa/docs/current/reference/html[reference documentation] are the best places to start learning about Spring Data JPA. There are also https://github.com/spring-projects/spring-data-examples[two sample applications] available to look at.
This README as well as the https://docs.spring.io/spring-data/data-jpa/docs/current/reference/html[reference documentation] are the best places to start learning about Spring Data JPA. There are also https://github.com/spring-projects/spring-data-examples[two sample applications] available to look at.
The main project http://projects.spring.io/spring-data[website] contains links to basic project information such as source code, JavaDocs, Issue tracking, etc.
The main project https://projects.spring.io/spring-data[website] contains links to basic project information such as source code, JavaDocs, Issue tracking, etc.
For more detailed questions, use http://stackoverflow.com/questions/tagged/spring-data-jpa[stackoverflow]. If you are new to Spring as well as to Spring Data, look for information about http://projects.spring.io[Spring projects]. You should also have a look at our new Spring Guides
http://spring.io/guides/gs/accessing-data-jpa/[Accessing Data with JPA] that leverages the simplified configuration provided by http://projects.spring.io/spring-boot/[Spring Boot] as well as http://spring.io/guides/gs/accessing-data-rest/[Accessing JPA Data with REST]..
For more detailed questions, use https://stackoverflow.com/questions/tagged/spring-data-jpa[stackoverflow]. If you are new to Spring as well as to Spring Data, look for information about https://projects.spring.io[Spring projects]. You should also have a look at our new Spring Guides
https://spring.io/guides/gs/accessing-data-jpa/[Accessing Data with JPA] that leverages the simplified configuration provided by https://projects.spring.io/spring-boot/[Spring Boot] as well as https://spring.io/guides/gs/accessing-data-rest/[Accessing JPA Data with REST]..
== Quick Start
@ -54,7 +54,7 @@ If you'd rather like the latest snapshots of the upcoming major version, use our @@ -54,7 +54,7 @@ If you'd rather like the latest snapshots of the upcoming major version, use our
<repository>
<id>spring-libs-snapshot</id>
<name>Spring Snapshot Repository</name>
<url>http://repo.spring.io/libs-snapshot</url>
<url>https://repo.spring.io/libs-snapshot</url>
</repository>
----
@ -152,10 +152,10 @@ public class UserRepositoryIntegrationTest { @@ -152,10 +152,10 @@ public class UserRepositoryIntegrationTest {
Here are some ways for you to get involved in the community:
* Get involved with the Spring community by helping out on http://stackoverflow.com/questions/tagged/spring-data-jpa[stackoverflow] by responding to questions and joining the debate.
* Get involved with the Spring community by helping out on https://stackoverflow.com/questions/tagged/spring-data-jpa[stackoverflow] by responding to questions and joining the debate.
* Create https://jira.spring.io/browse/DATAJPA[JIRA] tickets for bugs and new features and comment and vote on the ones that you are interested in.
* Github is for social coding: if you want to write code, we encourage contributions through pull requests from http://help.github.com/forking/[forks of this repository]. If you want to contribute code this way, please reference a JIRA ticket as well covering the specific issue you are addressing.
* Watch for upcoming articles on Spring by http://spring.io/blog[subscribing] to spring.io.
* Github is for social coding: if you want to write code, we encourage contributions through pull requests from https://help.github.com/forking/[forks of this repository]. If you want to contribute code this way, please reference a JIRA ticket as well covering the specific issue you are addressing.
* Watch for upcoming articles on Spring by https://spring.io/blog[subscribing] to spring.io.
Before we accept a non-trivial patch or pull request we will need you to https://cla.pivotal.io/sign/spring[sign the Contributor License Agreement]. Signing the contributor’s agreement does not grant anyone commit rights to the main repository, but it does mean that we can accept your contributions, and you will get an author credit if we do. If you forget to do so, you'll be reminded when you submit a pull request. Active contributors might be asked to join the core team, and given the ability to merge pull requests.
@ -163,10 +163,10 @@ Before we accept a non-trivial patch or pull request we will need you to https:/ @@ -163,10 +163,10 @@ Before we accept a non-trivial patch or pull request we will need you to https:/
Here are some ways for you to get involved in the community:
* Get involved with the Spring community by helping out on http://stackoverflow.com/questions/tagged/spring-data-jpa[stackoverflow] by responding to questions and joining the debate.
* Get involved with the Spring community by helping out on https://stackoverflow.com/questions/tagged/spring-data-jpa[stackoverflow] by responding to questions and joining the debate.
* Create https://jira.spring.io/browse/DATAJPA[JIRA] tickets for bugs and new features and comment and vote on the ones that you are interested in.
* Github is for social coding: if you want to write code, we encourage contributions through pull requests from http://help.github.com/forking/[forks of this repository]. If you want to contribute code this way, please reference a JIRA ticket as well covering the specific issue you are addressing.
* Watch for upcoming articles on Spring by http://spring.io/blog[subscribing] to spring.io.
* Github is for social coding: if you want to write code, we encourage contributions through pull requests from https://help.github.com/forking/[forks of this repository]. If you want to contribute code this way, please reference a JIRA ticket as well covering the specific issue you are addressing.
* Watch for upcoming articles on Spring by https://spring.io/blog[subscribing] to spring.io.
Before we accept a non-trivial patch or pull request we will need you to https://cla.pivotal.io/sign/spring[sign the Contributor License Agreement]. Signing the contributor’s agreement does not grant anyone commit rights to the main repository, but it does mean that we can accept your contributions, and you will get an author credit if we do. If you forget to do so, you'll be reminded when you submit a pull request. Active contributors might be asked to join the core team, and given the ability to merge pull requests.

8
src/main/asciidoc/glossary.adoc

@ -10,12 +10,12 @@ CRUD :: Create, Read, Update, Delete - Basic persistence operations. @@ -10,12 +10,12 @@ CRUD :: Create, Read, Update, Delete - Basic persistence operations.
DAO :: Data Access Object - Pattern to separate persisting logic from the object to be persisted
Dependency Injection :: Pattern to hand a component's dependency to the component from outside, freeing the component to lookup the dependent itself. For more information, see link:$$http://en.wikipedia.org/wiki/Dependency_Injection$$[http://en.wikipedia.org/wiki/Dependency_Injection].
Dependency Injection :: Pattern to hand a component's dependency to the component from outside, freeing the component to lookup the dependent itself. For more information, see link:$$https://en.wikipedia.org/wiki/Dependency_Injection$$[https://en.wikipedia.org/wiki/Dependency_Injection].
EclipseLink :: Object relational mapper implementing JPA - link:$$http://www.eclipselink.org$$[http://www.eclipselink.org]
EclipseLink :: Object relational mapper implementing JPA - link:$$https://www.eclipselink.org$$[https://www.eclipselink.org]
Hibernate :: Object relational mapper implementing JPA - link:$$http://www.hibernate.org$$[http://www.hibernate.org]
Hibernate :: Object relational mapper implementing JPA - link:$$https://www.hibernate.org$$[https://www.hibernate.org]
JPA :: Java Persistence API
Spring :: Java application framework - link:$$http://projects.spring.io/spring-framework$$[http://projects.spring.io/spring-framework]
Spring :: Java application framework - link:$$https://projects.spring.io/spring-framework$$[https://projects.spring.io/spring-framework]

2
src/main/asciidoc/images/epub-cover.svg

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 8.7 KiB

2
src/main/asciidoc/index.adoc

@ -13,7 +13,7 @@ Oliver Gierke; Thomas Darimont; Christoph Strobl; Mark Paluch; Jay Bryant @@ -13,7 +13,7 @@ Oliver Gierke; Thomas Darimont; Christoph Strobl; Mark Paluch; Jay Bryant
:imagesdir: images
ifdef::backend-epub3[:front-cover-image: image:epub-cover.png[Front Cover,1050,1600]]
:spring-data-commons-docs: ../../../../spring-data-commons/src/main/asciidoc
:spring-framework-docs: http://docs.spring.io/spring-framework/docs/{springVersion}/spring-framework-reference/
:spring-framework-docs: https://docs.spring.io/spring-framework/docs/{springVersion}/spring-framework-reference/
(C) 2008-2019 The original authors.

14
src/main/asciidoc/jpa.adoc

@ -25,9 +25,9 @@ The JPA module of Spring Data contains a custom namespace that allows defining r @@ -25,9 +25,9 @@ The JPA module of Spring Data contains a custom namespace that allows defining r
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jpa="http://www.springframework.org/schema/data/jpa"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
https://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/data/jpa
http://www.springframework.org/schema/data/jpa/spring-jpa.xsd">
https://www.springframework.org/schema/data/jpa/spring-jpa.xsd">
<jpa:repositories base-package="com.acme.repositories" />
@ -139,8 +139,8 @@ Saving an entity can be performed with the `CrudRepository.save(…)` method. It @@ -139,8 +139,8 @@ Saving an entity can be performed with the `CrudRepository.save(…)` method. It
Spring Data JPA offers the following strategies to detect whether an entity is new or not:
* Id-Property inspection (*default*): By default Spring Data JPA inspects the identifier property of the given entity. If the identifier property is `null`, then the entity is assumed to be new. Otherwise, it is assumed to be not new.
* Implementing `Persistable`: If an entity implements `Persistable`, Spring Data JPA delegates the new detection to the `isNew(…)` method of the entity. See the link:$$http://docs.spring.io/spring-data/data-commons/docs/current/api/index.html?org/springframework/data/domain/Persistable.html$$[JavaDoc] for details.
* Implementing `EntityInformation`: You can customize the `EntityInformation` abstraction used in the `SimpleJpaRepository` implementation by creating a subclass of `JpaRepositoryFactory` and overriding the `getEntityInformation(…)` method accordingly. You then have to register the custom implementation of `JpaRepositoryFactory` as a Spring bean. Note that this should be rarely necessary. See the link:$$http://docs.spring.io/spring-data/data-jpa/docs/current/api/index.html?org/springframework/data/jpa/repository/support/JpaRepositoryFactory.html$$[JavaDoc] for details.
* Implementing `Persistable`: If an entity implements `Persistable`, Spring Data JPA delegates the new detection to the `isNew(…)` method of the entity. See the link:$$https://docs.spring.io/spring-data/data-commons/docs/current/api/index.html?org/springframework/data/domain/Persistable.html$$[JavaDoc] for details.
* Implementing `EntityInformation`: You can customize the `EntityInformation` abstraction used in the `SimpleJpaRepository` implementation by creating a subclass of `JpaRepositoryFactory` and overriding the `getEntityInformation(…)` method accordingly. You then have to register the custom implementation of `JpaRepositoryFactory` as a Spring bean. Note that this should be rarely necessary. See the link:$$https://docs.spring.io/spring-data/data-jpa/docs/current/api/index.html?org/springframework/data/jpa/repository/support/JpaRepositoryFactory.html$$[JavaDoc] for details.
[[jpa.query-methods]]
== Query Methods
@ -782,7 +782,7 @@ public class CustomerSpecs { @@ -782,7 +782,7 @@ public class CustomerSpecs {
----
====
Admittedly, the amount of boilerplate leaves room for improvement (that may eventually be reduced by Java 8 closures), but the client side becomes much nicer, as you will see later in this section. The `_Customer` type is a metamodel type generated using the JPA Metamodel generator (see the link:$$http://docs.jboss.org/hibernate/jpamodelgen/1.0/reference/en-US/html_single/#whatisit$$[Hibernate implementation's documentation for an example]). So the expression, `_Customer.createdAt`, assumes the `Customer` has a `createdAt` attribute of type `Date`. Besides that, we have expressed some criteria on a business requirement abstraction level and created executable `Specifications`. So a client might use a `Specification` as follows:
Admittedly, the amount of boilerplate leaves room for improvement (that may eventually be reduced by Java 8 closures), but the client side becomes much nicer, as you will see later in this section. The `_Customer` type is a metamodel type generated using the JPA Metamodel generator (see the link:$$https://docs.jboss.org/hibernate/jpamodelgen/1.0/reference/en-US/html_single/#whatisit$$[Hibernate implementation's documentation for an example]). So the expression, `_Customer.createdAt`, assumes the `Customer` has a `createdAt` attribute of type `Date`. Besides that, we have expressed some criteria on a business requirement abstraction level and created executable `Specifications`. So a client might use a `Specification` as follows:
.Using a simple Specification
====
@ -812,7 +812,7 @@ include::query-by-example.adoc[leveloffset=+1] @@ -812,7 +812,7 @@ include::query-by-example.adoc[leveloffset=+1]
[[transactions]]
== Transactionality
By default, CRUD methods on repository instances are transactional. For read operations, the transaction configuration `readOnly` flag is set to `true`. All others are configured with a plain `@Transactional` so that default transaction configuration applies. For details, see JavaDoc of link:$$http://docs.spring.io/spring-data/data-jpa/docs/current/api/index.html?org/springframework/data/jpa/repository/support/SimpleJpaRepository.html$$[`SimpleJpaRepository`]. If you need to tweak transaction configuration for one of the methods declared in a repository, redeclare the method in your repository interface, as follows:
By default, CRUD methods on repository instances are transactional. For read operations, the transaction configuration `readOnly` flag is set to `true`. All others are configured with a plain `@Transactional` so that default transaction configuration applies. For details, see JavaDoc of link:$$https://docs.spring.io/spring-data/data-jpa/docs/current/api/index.html?org/springframework/data/jpa/repository/support/SimpleJpaRepository.html$$[`SimpleJpaRepository`]. If you need to tweak transaction configuration for one of the methods declared in a repository, redeclare the method in your repository interface, as follows:
.Custom transaction configuration for CRUD
====
@ -1062,7 +1062,7 @@ A plain JPA setup requires all annotation-mapped entity classes to be listed in @@ -1062,7 +1062,7 @@ A plain JPA setup requires all annotation-mapped entity classes to be listed in
----
====
NOTE: As of Spring 3.1, a package to scan can be configured on the `LocalContainerEntityManagerFactoryBean` directly to enable classpath scanning for entity classes. See the link:$$http://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/orm/jpa/LocalContainerEntityManagerFactoryBean.html#setPackagesToScan(java.lang.String...)$$[JavaDoc] for details.
NOTE: As of Spring 3.1, a package to scan can be configured on the `LocalContainerEntityManagerFactoryBean` directly to enable classpath scanning for entity classes. See the link:$$https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/orm/jpa/LocalContainerEntityManagerFactoryBean.html#setPackagesToScan(java.lang.String...)$$[JavaDoc] for details.
[[jpd.misc.cdi-integration]]
== CDI Integration

2
src/main/asciidoc/preface.adoc

@ -6,7 +6,7 @@ Spring Data JPA provides repository support for the Java Persistence API (JPA). @@ -6,7 +6,7 @@ Spring Data JPA provides repository support for the Java Persistence API (JPA).
[[project]]
== Project Metadata
* Version control - http://github.com/spring-projects/spring-data-jpa
* Version control - https://github.com/spring-projects/spring-data-jpa
* Bugtracker - https://jira.spring.io/browse/DATAJPA
* Release repository - https://repo.spring.io/libs-release
* Milestone repository - https://repo.spring.io/libs-milestone

2
src/main/java/org/springframework/data/jpa/convert/threetenbp/ThreeTenBackPortJpaConverters.java

@ -44,7 +44,7 @@ import org.threeten.bp.ZoneId; @@ -44,7 +44,7 @@ import org.threeten.bp.ZoneId;
* package to be scanned on e.g. the {@link LocalContainerEntityManagerFactoryBean}.
*
* @author Oliver Gierke
* @see <a href="http://www.threeten.org/threetenbp">http://www.threeten.org/threetenbp</a>
* @see <a href="https://www.threeten.org/threetenbp">https://www.threeten.org/threetenbp</a>
* @since 1.8
*/
public class ThreeTenBackPortJpaConverters {

4
src/main/java/org/springframework/data/jpa/repository/EntityGraph.java

@ -75,7 +75,7 @@ public @interface EntityGraph { @@ -75,7 +75,7 @@ public @interface EntityGraph {
* by attribute nodes of the entity graph are treated as FetchType.EAGER and attributes that are not specified are
* treated according to their specified or default FetchType.
*
* @see <a href="http://download.oracle.com/otn-pub/jcp/persistence-2_1-fr-eval-spec/JavaPersistence.pdf">JPA 2.1
* @see <a href="https://download.oracle.com/otn-pub/jcp/persistence-2_1-fr-eval-spec/JavaPersistence.pdf">JPA 2.1
* Specification: 3.7.4.2 Load Graph Semantics</a>
*/
LOAD("javax.persistence.loadgraph"),
@ -85,7 +85,7 @@ public @interface EntityGraph { @@ -85,7 +85,7 @@ public @interface EntityGraph {
* by attribute nodes of the entity graph are treated as FetchType.EAGER and attributes that are not specified are
* treated as FetchType.LAZY
*
* @see <a href="http://download.oracle.com/otn-pub/jcp/persistence-2_1-fr-eval-spec/JavaPersistence.pdf">JPA 2.1
* @see <a href="https://download.oracle.com/otn-pub/jcp/persistence-2_1-fr-eval-spec/JavaPersistence.pdf">JPA 2.1
* Specification: 3.7.4.1 Fetch Graph Semantics</a>
*/
FETCH("javax.persistence.fetchgraph");

2
src/main/java/org/springframework/data/jpa/repository/config/AuditingBeanDefinitionParser.java

@ -80,7 +80,7 @@ public class AuditingBeanDefinitionParser implements BeanDefinitionParser { @@ -80,7 +80,7 @@ public class AuditingBeanDefinitionParser implements BeanDefinitionParser {
/**
* Copied code of SpringConfiguredBeanDefinitionParser until this class gets public.
*
* @see <a href="http://jira.springframework.org/browse/SPR-7340">SPR-7340</a>
* @see <a href="https://jira.springframework.org/browse/SPR-7340">SPR-7340</a>
* @author Juergen Hoeller
*/
private static class SpringConfiguredBeanDefinitionParser implements BeanDefinitionParser {

2
src/main/java/org/springframework/data/jpa/repository/query/JpaQueryMethod.java

@ -58,7 +58,7 @@ public class JpaQueryMethod extends QueryMethod { @@ -58,7 +58,7 @@ public class JpaQueryMethod extends QueryMethod {
/**
* @see <a href=
* "http://download.oracle.com/otn-pub/jcp/persistence-2.0-fr-eval-oth-JSpec/persistence-2_0-final-spec.pdf">JPA
* "https://download.oracle.com/otn-pub/jcp/persistence-2.0-fr-eval-oth-JSpec/persistence-2_0-final-spec.pdf">JPA
* 2.0 Specification 2.2 Persistent Fields and Properties Page 23 - Top paragraph.</a>
*/
private static final Set<Class<?>> NATIVE_ARRAY_TYPES;

2
src/main/java/org/springframework/data/jpa/repository/query/SimpleJpaQuery.java

@ -89,7 +89,7 @@ final class SimpleJpaQuery extends AbstractStringBasedJpaQuery { @@ -89,7 +89,7 @@ final class SimpleJpaQuery extends AbstractStringBasedJpaQuery {
} catch (RuntimeException e) {
// Needed as there's ambiguities in how an invalid query string shall be expressed by the persistence provider
// http://java.net/projects/jpa-spec/lists/jsr338-experts/archive/2012-07/message/17
// https://java.net/projects/jpa-spec/lists/jsr338-experts/archive/2012-07/message/17
throw new IllegalArgumentException(String.format(errorMessage, arguments), e);
} finally {

2
src/main/java/org/springframework/data/jpa/support/MergingPersistenceUnitManager.java

@ -30,7 +30,7 @@ import org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo; @@ -30,7 +30,7 @@ import org.springframework.orm.jpa.persistenceunit.MutablePersistenceUnitInfo;
* {@code persistence.xml} files into one. This is necessary to allow the declaration of entities in seperate modules.
*
* @author Oliver Gierke
* @link http://jira.springframework.org/browse/SPR-2598
* @link https://jira.springframework.org/browse/SPR-2598
*/
public class MergingPersistenceUnitManager extends DefaultPersistenceUnitManager {

14
src/main/resources/META-INF/spring.schemas

@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
http\://www.springframework.org/schema/data/jpa/spring-jpa-1.0.xsd=org/springframework/data/jpa/repository/config/spring-jpa-1.0.xsd
http\://www.springframework.org/schema/data/jpa/spring-jpa-1.1.xsd=org/springframework/data/jpa/repository/config/spring-jpa-1.1.xsd
http\://www.springframework.org/schema/data/jpa/spring-jpa-1.2.xsd=org/springframework/data/jpa/repository/config/spring-jpa-1.2.xsd
http\://www.springframework.org/schema/data/jpa/spring-jpa-1.3.xsd=org/springframework/data/jpa/repository/config/spring-jpa-1.3.xsd
http\://www.springframework.org/schema/data/jpa/spring-jpa-1.8.xsd=org/springframework/data/jpa/repository/config/spring-jpa-1.8.xsd
http\://www.springframework.org/schema/data/jpa/spring-jpa-1.11.xsd=org/springframework/data/jpa/repository/config/spring-jpa-1.11.xsd
http\://www.springframework.org/schema/data/jpa/spring-jpa.xsd=org/springframework/data/jpa/repository/config/spring-jpa-1.11.xsd
https\://www.springframework.org/schema/data/jpa/spring-jpa-1.0.xsd=org/springframework/data/jpa/repository/config/spring-jpa-1.0.xsd
https\://www.springframework.org/schema/data/jpa/spring-jpa-1.1.xsd=org/springframework/data/jpa/repository/config/spring-jpa-1.1.xsd
https\://www.springframework.org/schema/data/jpa/spring-jpa-1.2.xsd=org/springframework/data/jpa/repository/config/spring-jpa-1.2.xsd
https\://www.springframework.org/schema/data/jpa/spring-jpa-1.3.xsd=org/springframework/data/jpa/repository/config/spring-jpa-1.3.xsd
https\://www.springframework.org/schema/data/jpa/spring-jpa-1.8.xsd=org/springframework/data/jpa/repository/config/spring-jpa-1.8.xsd
https\://www.springframework.org/schema/data/jpa/spring-jpa-1.11.xsd=org/springframework/data/jpa/repository/config/spring-jpa-1.11.xsd
https\://www.springframework.org/schema/data/jpa/spring-jpa.xsd=org/springframework/data/jpa/repository/config/spring-jpa-1.11.xsd

2
src/main/resources/license.txt

@ -207,7 +207,7 @@ similar licenses that require the source code and/or modifications to @@ -207,7 +207,7 @@ similar licenses that require the source code and/or modifications to
source code to be made available (as would be noted above), you may obtain a
copy of the source code corresponding to the binaries for such open source
components and modifications thereto, if any, (the "Source Files"), by
downloading the Source Files from http://www.springsource.org/download,
downloading the Source Files from https://www.springsource.org/download,
or by sending a request, with your name and address to: VMware, Inc., 3401 Hillview
Avenue, Palo Alto, CA 94304, United States of America or email info@vmware.com. All
such requests should clearly specify: OPEN SOURCE FILES REQUEST, Attention General

2
src/main/resources/org/springframework/data/jpa/repository/config/spring-jpa-1.0.xsd

@ -10,7 +10,7 @@ @@ -10,7 +10,7 @@
<xsd:import namespace="http://www.springframework.org/schema/tool" />
<xsd:import namespace="http://www.springframework.org/schema/context" />
<xsd:import namespace="http://www.springframework.org/schema/data/repository"
schemaLocation="http://www.springframework.org/schema/data/repository/spring-repository-1.0.xsd" />
schemaLocation="https://www.springframework.org/schema/data/repository/spring-repository-1.0.xsd" />
<xsd:complexType name="jpa-repository">
<xsd:complexContent>

2
src/main/resources/org/springframework/data/jpa/repository/config/spring-jpa-1.1.xsd

@ -10,7 +10,7 @@ @@ -10,7 +10,7 @@
<xsd:import namespace="http://www.springframework.org/schema/tool" />
<xsd:import namespace="http://www.springframework.org/schema/context" />
<xsd:import namespace="http://www.springframework.org/schema/data/repository"
schemaLocation="http://www.springframework.org/schema/data/repository/spring-repository-1.0.xsd" />
schemaLocation="https://www.springframework.org/schema/data/repository/spring-repository-1.0.xsd" />
<xsd:complexType name="jpa-repository">
<xsd:complexContent>

2
src/main/resources/org/springframework/data/jpa/repository/config/spring-jpa-1.2.xsd

@ -10,7 +10,7 @@ @@ -10,7 +10,7 @@
<xsd:import namespace="http://www.springframework.org/schema/tool" />
<xsd:import namespace="http://www.springframework.org/schema/context" />
<xsd:import namespace="http://www.springframework.org/schema/data/repository"
schemaLocation="http://www.springframework.org/schema/data/repository/spring-repository.xsd" />
schemaLocation="https://www.springframework.org/schema/data/repository/spring-repository.xsd" />
<xsd:element name="repositories">
<xsd:complexType>

2
src/main/resources/org/springframework/data/jpa/repository/config/spring-jpa-1.3.xsd

@ -10,7 +10,7 @@ @@ -10,7 +10,7 @@
<xsd:import namespace="http://www.springframework.org/schema/tool" />
<xsd:import namespace="http://www.springframework.org/schema/context" />
<xsd:import namespace="http://www.springframework.org/schema/data/repository"
schemaLocation="http://www.springframework.org/schema/data/repository/spring-repository.xsd" />
schemaLocation="https://www.springframework.org/schema/data/repository/spring-repository.xsd" />
<xsd:element name="repositories">
<xsd:complexType>

2
src/main/resources/org/springframework/data/jpa/repository/config/spring-jpa-1.8.xsd

@ -10,7 +10,7 @@ @@ -10,7 +10,7 @@
<xsd:import namespace="http://www.springframework.org/schema/tool" />
<xsd:import namespace="http://www.springframework.org/schema/context" />
<xsd:import namespace="http://www.springframework.org/schema/data/repository"
schemaLocation="http://www.springframework.org/schema/data/repository/spring-repository.xsd" />
schemaLocation="https://www.springframework.org/schema/data/repository/spring-repository.xsd" />
<xsd:element name="repositories">
<xsd:complexType>

4
src/main/resources/readme.txt

@ -13,5 +13,5 @@ The reference manual and javadoc are located in the 'docs' directory. @@ -13,5 +13,5 @@ The reference manual and javadoc are located in the 'docs' directory.
ADDITIONAL RESOURCES:
Spring Data Homepage: http://projects.spring.io/spring-data
Spring Data JPA on Stackoverflow: http://stackoverflow.com/questions/tagged/spring-data-jpa
Spring Data Homepage: https://projects.spring.io/spring-data
Spring Data JPA on Stackoverflow: https://stackoverflow.com/questions/tagged/spring-data-jpa

2
src/test/java/org/springframework/data/jpa/repository/CustomHsqlHibernateJpaVendorAdaptor.java

@ -24,7 +24,7 @@ import org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter; @@ -24,7 +24,7 @@ import org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter;
/**
* Fix for missing type declarations for HSQL.
*
* @see <a href="http://www.codesmell.org/blog/2008/12/hibernate-hsql-native-queries-and-booleans/">http://www.codesmell.org/blog/2008/12/hibernate-hsql-native-queries-and-booleans/</a>
* @see <a href="https://www.codesmell.org/blog/2008/12/hibernate-hsql-native-queries-and-booleans/">https://www.codesmell.org/blog/2008/12/hibernate-hsql-native-queries-and-booleans/</a>
* @author Oliver Gierke
*/
public class CustomHsqlHibernateJpaVendorAdaptor extends HibernateJpaVendorAdapter {

4
src/test/resources/application-context.xml

@ -2,8 +2,8 @@ @@ -2,8 +2,8 @@
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:util="http://www.springframework.org/schema/util"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/util https://www.springframework.org/schema/util/spring-util.xsd">
<!-- Database setup -->
<import resource="infrastructure.xml" />

4
src/test/resources/auditing/auditing-bfpp-context.xml

@ -2,8 +2,8 @@ @@ -2,8 +2,8 @@
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd" default-lazy-init="true">
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context https://www.springframework.org/schema/context/spring-context.xsd" default-lazy-init="true">
<!-- Needed to check that the BFPP only adds depends-on if spring-configured is activated -->
<context:spring-configured />

6
src/test/resources/auditing/auditing-entity-listener.xml

@ -3,9 +3,9 @@ @@ -3,9 +3,9 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jpa="http://www.springframework.org/schema/data/jpa"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-jpa.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/data/jpa https://www.springframework.org/schema/data/jpa/spring-jpa.xsd
http://www.springframework.org/schema/context https://www.springframework.org/schema/context/spring-context.xsd">
<import resource="../infrastructure.xml" />

4
src/test/resources/auditing/auditing-namespace-context.xml

@ -2,8 +2,8 @@ @@ -2,8 +2,8 @@
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jpa="http://www.springframework.org/schema/data/jpa"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-jpa.xsd">
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/data/jpa https://www.springframework.org/schema/data/jpa/spring-jpa.xsd">
<import resource="../infrastructure.xml" />

4
src/test/resources/auditing/auditing-namespace-context2.xml

@ -2,8 +2,8 @@ @@ -2,8 +2,8 @@
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jpa="http://www.springframework.org/schema/data/jpa"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-jpa.xsd">
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/data/jpa https://www.springframework.org/schema/data/jpa/spring-jpa.xsd">
<jpa:auditing set-dates="false" />

8
src/test/resources/auditing/auditing-namespace-context3.xml

@ -4,10 +4,10 @@ @@ -4,10 +4,10 @@
xmlns:jpa="http://www.springframework.org/schema/data/jpa"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:util="http://www.springframework.org/schema/util"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd
http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-jpa.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/util https://www.springframework.org/schema/util/spring-util.xsd
http://www.springframework.org/schema/data/jpa https://www.springframework.org/schema/data/jpa/spring-jpa.xsd
http://www.springframework.org/schema/context https://www.springframework.org/schema/context/spring-context.xsd">
<jpa:auditing set-dates="false" date-time-provider-ref="dateTimeProvider" />

8
src/test/resources/config/jpa-context-with-jndi.xml

@ -4,10 +4,10 @@ @@ -4,10 +4,10 @@
xmlns:jpa="http://www.springframework.org/schema/data/jpa"
xmlns:jee="http://www.springframework.org/schema/jee"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-jpa.xsd">
xsi:schemaLocation="http://www.springframework.org/schema/jee https://www.springframework.org/schema/jee/spring-jee.xsd
http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context https://www.springframework.org/schema/context/spring-context.xsd
http://www.springframework.org/schema/data/jpa https://www.springframework.org/schema/data/jpa/spring-jpa.xsd">
<jpa:repositories base-package="org.springframework.data.jpa.repository.support" />

6
src/test/resources/config/lookup-strategies-context.xml

@ -3,9 +3,9 @@ @@ -3,9 +3,9 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jpa="http://www.springframework.org/schema/data/jpa"
xmlns:repository="http://www.springframework.org/schema/data/repository"
xsi:schemaLocation="http://www.springframework.org/schema/data/repository http://www.springframework.org/schema/data/repository/spring-repository.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-jpa.xsd">
xsi:schemaLocation="http://www.springframework.org/schema/data/repository https://www.springframework.org/schema/data/repository/spring-repository.xsd
http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/data/jpa https://www.springframework.org/schema/data/jpa/spring-jpa.xsd">
<import resource="../infrastructure.xml" />

4
src/test/resources/config/namespace-application-context.xml

@ -2,8 +2,8 @@ @@ -2,8 +2,8 @@
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jpa="http://www.springframework.org/schema/data/jpa"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-jpa.xsd">
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/data/jpa https://www.springframework.org/schema/data/jpa/spring-jpa.xsd">
<import resource="../infrastructure.xml" />

4
src/test/resources/config/namespace-autoconfig-context.xml

@ -2,8 +2,8 @@ @@ -2,8 +2,8 @@
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jpa="http://www.springframework.org/schema/data/jpa"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-jpa.xsd">
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/data/jpa https://www.springframework.org/schema/data/jpa/spring-jpa.xsd">
<import resource="../infrastructure.xml" />

6
src/test/resources/config/namespace-autoconfig-typefilter-context.xml

@ -3,9 +3,9 @@ @@ -3,9 +3,9 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jpa="http://www.springframework.org/schema/data/jpa"
xmlns:repository="http://www.springframework.org/schema/data/repository"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-jpa.xsd
http://www.springframework.org/schema/data/repository http://www.springframework.org/schema/data/repository/spring-repository.xsd">
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/data/jpa https://www.springframework.org/schema/data/jpa/spring-jpa.xsd
http://www.springframework.org/schema/data/repository https://www.springframework.org/schema/data/repository/spring-repository.xsd">
<import resource="../infrastructure.xml" />

4
src/test/resources/config/namespace-customfactory-context.xml

@ -3,8 +3,8 @@ @@ -3,8 +3,8 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jpa="http://www.springframework.org/schema/data/jpa"
xmlns:repository="http://www.springframework.org/schema/data/repository"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-jpa.xsd">
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/data/jpa https://www.springframework.org/schema/data/jpa/spring-jpa.xsd">
<import resource="../infrastructure.xml" />
<import resource="../tx-manager.xml" />

4
src/test/resources/config/namespace-nested-repositories-application-context.xml

@ -2,8 +2,8 @@ @@ -2,8 +2,8 @@
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jpa="http://www.springframework.org/schema/data/jpa"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-jpa.xsd">
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/data/jpa https://www.springframework.org/schema/data/jpa/spring-jpa.xsd">
<import resource="../infrastructure.xml" />

4
src/test/resources/eclipselink.xml

@ -2,8 +2,8 @@ @@ -2,8 +2,8 @@
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:util="http://www.springframework.org/schema/util"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/util https://www.springframework.org/schema/util/spring-util.xsd">
<!-- EclipseLink vendor adaptor with workaround platform class for HSQL usage -->
<bean id="vendorAdaptor" class="org.springframework.data.jpa.repository.CustomEclipseLinkJpaVendorAdapter" parent="abstractVendorAdaptor" />

4
src/test/resources/hibernate.xml

@ -2,8 +2,8 @@ @@ -2,8 +2,8 @@
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:util="http://www.springframework.org/schema/util"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/util https://www.springframework.org/schema/util/spring-util.xsd">
<bean id="vendorAdaptor" class="org.springframework.data.jpa.repository.CustomHsqlHibernateJpaVendorAdaptor" parent="abstractVendorAdaptor" />

4
src/test/resources/infrastructure.xml

@ -2,8 +2,8 @@ @@ -2,8 +2,8 @@
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jdbc="http://www.springframework.org/schema/jdbc"
xsi:schemaLocation="http://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
xsi:schemaLocation="http://www.springframework.org/schema/jdbc https://www.springframework.org/schema/jdbc/spring-jdbc.xsd
http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd">
<import resource="hibernate.xml" />

8
src/test/resources/multiple-entity-manager-context.xml

@ -4,10 +4,10 @@ @@ -4,10 +4,10 @@
xmlns:jpa="http://www.springframework.org/schema/data/jpa"
xmlns:repository="http://www.springframework.org/schema/data/repository"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/data/repository http://www.springframework.org/schema/data/repository/spring-repository.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-jpa.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">
xsi:schemaLocation="http://www.springframework.org/schema/data/repository https://www.springframework.org/schema/data/repository/spring-repository.xsd
http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/data/jpa https://www.springframework.org/schema/data/jpa/spring-jpa.xsd
http://www.springframework.org/schema/context https://www.springframework.org/schema/context/spring-context.xsd">
<bean id="entityManagerFactory" class="org.mockito.Mockito" factory-method="mock">
<constructor-arg value="javax.persistence.EntityManagerFactory" />

8
src/test/resources/multiple-entity-manager-integration-context.xml

@ -4,10 +4,10 @@ @@ -4,10 +4,10 @@
xmlns:jpa="http://www.springframework.org/schema/data/jpa"
xmlns:repository="http://www.springframework.org/schema/data/repository"
xmlns:jdbc="http://www.springframework.org/schema/jdbc"
xsi:schemaLocation="http://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc.xsd
http://www.springframework.org/schema/data/repository http://www.springframework.org/schema/data/repository/spring-repository.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-jpa.xsd">
xsi:schemaLocation="http://www.springframework.org/schema/jdbc https://www.springframework.org/schema/jdbc/spring-jdbc.xsd
http://www.springframework.org/schema/data/repository https://www.springframework.org/schema/data/repository/spring-repository.xsd
http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/data/jpa https://www.springframework.org/schema/data/jpa/spring-jpa.xsd">
<import resource="infrastructure.xml" />

6
src/test/resources/openjpa.xml

@ -2,9 +2,9 @@ @@ -2,9 +2,9 @@
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jdbc="http://www.springframework.org/schema/jdbc"
xmlns:util="http://www.springframework.org/schema/util"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd
http://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc.xsd">
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/util https://www.springframework.org/schema/util/spring-util.xsd
http://www.springframework.org/schema/jdbc https://www.springframework.org/schema/jdbc/spring-jdbc.xsd">
<!-- EclipseLink vendor adaptor with workaround platform class for HSQL
usage -->

6
src/test/resources/org/springframework/data/jpa/repository/support/disable-default-transactions.xml

@ -3,9 +3,9 @@ @@ -3,9 +3,9 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jpa="http://www.springframework.org/schema/data/jpa"
xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-jpa.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd">
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/data/jpa https://www.springframework.org/schema/data/jpa/spring-jpa.xsd
http://www.springframework.org/schema/tx https://www.springframework.org/schema/tx/spring-tx.xsd">
<import resource="classpath:infrastructure.xml" />
<import resource="classpath:tx-manager.xml" />

2
src/test/resources/tx-manager.xml

@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
<bean id="transactionManager" class="org.springframework.data.jpa.repository.support.TransactionalRepositoryTests$DelegatingTransactionManager">
<constructor-arg>

Loading…
Cancel
Save