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
This commit is contained in:
committed by
Christoph Strobl
parent
972faf02b1
commit
25e691e93c
@@ -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.eclipse.org/eclipselink/$$[https://www.eclipse.org/eclipselink/]
|
||||
|
||||
Hibernate :: Object relational mapper implementing JPA - link:$$http://www.hibernate.org$$[http://www.hibernate.org]
|
||||
Hibernate :: Object relational mapper implementing JPA - link:$$https://hibernate.org/$$[https://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]
|
||||
|
||||
@@ -4,7 +4,7 @@ Oliver Gierke; Thomas Darimont; Christoph Strobl; Mark Paluch; Jay Bryant
|
||||
:revdate: {localdate}
|
||||
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.
|
||||
|
||||
|
||||
@@ -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" />
|
||||
|
||||
@@ -144,8 +144,8 @@ Spring Data JPA offers the following strategies to detect whether an entity is n
|
||||
Without such a Version-property 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
|
||||
@@ -735,7 +735,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
|
||||
====
|
||||
@@ -765,7 +765,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
|
||||
====
|
||||
@@ -1015,7 +1015,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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
* 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");
|
||||
|
||||
@@ -81,7 +81,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 {
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user