diff --git a/src/main/java/org/springframework/data/jpa/convert/threetenbp/ThreeTenBackPortJpaConverters.java b/src/main/java/org/springframework/data/jpa/convert/threetenbp/ThreeTenBackPortJpaConverters.java
index 141cb205f..ceb190ad5 100644
--- a/src/main/java/org/springframework/data/jpa/convert/threetenbp/ThreeTenBackPortJpaConverters.java
+++ b/src/main/java/org/springframework/data/jpa/convert/threetenbp/ThreeTenBackPortJpaConverters.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2015 the original author or authors.
+ * Copyright 2015-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -44,7 +44,7 @@ import org.threeten.bp.ZoneId;
* package to be scanned on e.g. the {@link LocalContainerEntityManagerFactoryBean}.
*
* @author Oliver Gierke
- * @see http://www.threeten.org/threetenbp
+ * @see http://www.threeten.org/threetenbp
* @since 1.8
*/
public class ThreeTenBackPortJpaConverters {
diff --git a/src/main/java/org/springframework/data/jpa/repository/EntityGraph.java b/src/main/java/org/springframework/data/jpa/repository/EntityGraph.java
index 8126c6016..03cb7c04b 100644
--- a/src/main/java/org/springframework/data/jpa/repository/EntityGraph.java
+++ b/src/main/java/org/springframework/data/jpa/repository/EntityGraph.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2014-2016 the original author or authors.
+ * Copyright 2014-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -27,14 +27,11 @@ import org.springframework.data.jpa.repository.query.JpaQueryMethod;
/**
* Annotation to configure the JPA 2.1 {@link javax.persistence.EntityGraph}s that should be used on repository methods.
+ * Since 1.9 we support the definition of dynamic {@link EntityGraph}s by allowing to customize the fetch-graph via via
+ * {@link #attributePaths()} ad-hoc fetch-graph configuration.
*
- * Since 1.9 we support the definition of dynamic {@link EntityGraph}s by allowing to customize the fetch-graph via
- * via {@link #attributePaths()} ad-hoc fetch-graph configuration.
- * @author Christoph Strobl
- *
- * If {@link #attributePaths()} are specified then we ignore the entity-graph name {@link #value()}
- * and treat this {@link EntityGraph} as dynamic.
- *
+ * @author Christoph Strobl If {@link #attributePaths()} are specified then we ignore the entity-graph name
+ * {@link #value()} and treat this {@link EntityGraph} as dynamic.
* @author Thomas Darimont
* @since 1.6
*/
@@ -44,24 +41,23 @@ import org.springframework.data.jpa.repository.query.JpaQueryMethod;
public @interface EntityGraph {
/**
- * The name of the EntityGraph to use.
- * If empty we fall-back to {@link JpaQueryMethod#getNamedQueryName()} as the value.
+ * The name of the EntityGraph to use. If empty we fall-back to {@link JpaQueryMethod#getNamedQueryName()} as the
+ * value.
*
* @return
*/
String value() default "";
/**
- * The {@link Type} of the EntityGraph to use, defaults to {@link Type#FETCH}.
+ * The {@link EntityGraphType} of the EntityGraph to use, defaults to {@link EntityGraphType#FETCH}.
*
* @return
*/
EntityGraphType type() default EntityGraphType.FETCH;
-
+
/**
- * The paths of attributes of this {@link EntityGraph} to use, empty by default.
- *
- * You can refer to direct properties of the entity or nested properties via a {@code property.nestedProperty}.
+ * The paths of attributes of this {@link EntityGraph} to use, empty by default. You can refer to direct properties of
+ * the entity or nested properties via a {@code property.nestedProperty}.
*
* @return
* @since 1.9
@@ -81,7 +77,8 @@ 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 JPA 2.1 Specification: 3.7.4.2 Load Graph Semantics
+ * @see JPA 2.1
+ * Specification: 3.7.4.2 Load Graph Semantics
*/
LOAD("javax.persistence.loadgraph"),
@@ -90,7 +87,8 @@ 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 JPA 2.1 Specification: 3.7.4.1 Fetch Graph Semantics
+ * @see JPA 2.1
+ * Specification: 3.7.4.1 Fetch Graph Semantics
*/
FETCH("javax.persistence.fetchgraph");
diff --git a/src/main/java/org/springframework/data/jpa/repository/config/AuditingBeanDefinitionParser.java b/src/main/java/org/springframework/data/jpa/repository/config/AuditingBeanDefinitionParser.java
index b7eb92dda..74d7bd30d 100644
--- a/src/main/java/org/springframework/data/jpa/repository/config/AuditingBeanDefinitionParser.java
+++ b/src/main/java/org/springframework/data/jpa/repository/config/AuditingBeanDefinitionParser.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2008-2013 the original author or authors.
+ * Copyright 2008-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -80,7 +80,7 @@ public class AuditingBeanDefinitionParser implements BeanDefinitionParser {
/**
* Copied code of SpringConfiguredBeanDefinitionParser until this class gets public.
*
- * @see http://jira.springframework.org/browse/SPR-7340
+ * @see SPR-7340
* @author Juergen Hoeller
*/
private static class SpringConfiguredBeanDefinitionParser implements BeanDefinitionParser {
diff --git a/src/main/java/org/springframework/data/jpa/repository/query/Jpa21Utils.java b/src/main/java/org/springframework/data/jpa/repository/query/Jpa21Utils.java
index f253d7818..e9a674799 100644
--- a/src/main/java/org/springframework/data/jpa/repository/query/Jpa21Utils.java
+++ b/src/main/java/org/springframework/data/jpa/repository/query/Jpa21Utils.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2014-2015 the original author or authors.
+ * Copyright 2014-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -85,7 +85,8 @@ public class Jpa21Utils {
/**
* Adds a JPA 2.1 fetch-graph or load-graph hint to the given {@link Query} if running under JPA 2.1.
*
- * @see JPA 2.1 Specfication 3.7.4 - Use of Entity Graphs in find and query operations P.117
+ * @see JPA 2.1
+ * Specfication 3.7.4 - Use of Entity Graphs in find and query operations P.117
* @param em must not be {@literal null}.
* @param jpaEntityGraph must not be {@literal null}.
* @param entityType must not be {@literal null}.
diff --git a/src/main/java/org/springframework/data/jpa/repository/query/JpaQueryMethod.java b/src/main/java/org/springframework/data/jpa/repository/query/JpaQueryMethod.java
index 6dd214652..af6d5d1dc 100644
--- a/src/main/java/org/springframework/data/jpa/repository/query/JpaQueryMethod.java
+++ b/src/main/java/org/springframework/data/jpa/repository/query/JpaQueryMethod.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2008-2016 the original author or authors.
+ * Copyright 2008-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -52,7 +52,11 @@ import org.springframework.util.StringUtils;
*/
public class JpaQueryMethod extends QueryMethod {
- // @see JPA 2.0 Specification 2.2 Persistent Fields and Properties Page 23 - Top paragraph.
+ /**
+ * @see JPA
+ * 2.0 Specification 2.2 Persistent Fields and Properties Page 23 - Top paragraph.
+ */
private static final Set> NATIVE_ARRAY_TYPES;
private static final StoredProcedureAttributeSource storedProcedureAttributeSource = StoredProcedureAttributeSource.INSTANCE;
diff --git a/src/main/java/org/springframework/data/jpa/repository/query/StringQueryParameterBinder.java b/src/main/java/org/springframework/data/jpa/repository/query/StringQueryParameterBinder.java
index 0a27b6e81..b3fc87b6a 100644
--- a/src/main/java/org/springframework/data/jpa/repository/query/StringQueryParameterBinder.java
+++ b/src/main/java/org/springframework/data/jpa/repository/query/StringQueryParameterBinder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2013-2014 the original author or authors.
+ * Copyright 2013-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -84,7 +84,7 @@ public class StringQueryParameterBinder extends ParameterBinder {
// We should actually reject parameters unavailable, but as EclipseLink doesn't implement ….getParameter(int) for
// native queries correctly we need to fall back to an indexed parameter
- // @see https://bugs.eclipse.org/bugs/show_bug.cgi?id=427892
+ // see https://bugs.eclipse.org/bugs/show_bug.cgi?id=427892
return new ParameterBinding(position);
}
diff --git a/src/main/java/org/springframework/data/jpa/repository/support/SimpleJpaRepository.java b/src/main/java/org/springframework/data/jpa/repository/support/SimpleJpaRepository.java
index 6e4c7efb8..f8734610b 100644
--- a/src/main/java/org/springframework/data/jpa/repository/support/SimpleJpaRepository.java
+++ b/src/main/java/org/springframework/data/jpa/repository/support/SimpleJpaRepository.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2008-2016 the original author or authors.
+ * Copyright 2008-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -769,7 +769,7 @@ public class SimpleJpaRepository
* {@link SimpleJpaRepository#findAll(Iterable)}. Workaround for OpenJPA not binding collections to in-clauses
* correctly when using by-name binding.
*
- * @see https://issues.apache.org/jira/browse/OPENJPA-2018?focusedCommentId=13924055
+ * @see OPENJPA-2018
* @author Oliver Gierke
*/
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/org/springframework/data/jpa/util/JpaMetamodel.java b/src/main/java/org/springframework/data/jpa/util/JpaMetamodel.java
index 19dcb9182..4d9bbe820 100644
--- a/src/main/java/org/springframework/data/jpa/util/JpaMetamodel.java
+++ b/src/main/java/org/springframework/data/jpa/util/JpaMetamodel.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2016 the original author or authors.
+ * Copyright 2016-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -66,7 +66,7 @@ public class JpaMetamodel {
* {@literal null} for calls to {@link ManagedType#getJavaType()}.
*
* @return all managed types.
- * @see https://hibernate.atlassian.net/browse/HHH-10968
+ * @see HHH-10968
*/
private Collection> getManagedTypes() {
diff --git a/src/test/java/org/springframework/data/jpa/domain/sample/Item.java b/src/test/java/org/springframework/data/jpa/domain/sample/Item.java
index 7b19fc77a..4f81da7d7 100755
--- a/src/test/java/org/springframework/data/jpa/domain/sample/Item.java
+++ b/src/test/java/org/springframework/data/jpa/domain/sample/Item.java
@@ -23,10 +23,9 @@ import javax.persistence.JoinColumn;
import javax.persistence.Table;
/**
- * Related to DATAJPA-413.
- *
* @author Mark Paluch
- * @see Final JPA 2.1 Specification 2.4.1.3 Derived Identities Example 2
+ * @see Final JPA 2.1
+ * Specification 2.4.1.3 Derived Identities Example 2
*/
@Entity
@Table
diff --git a/src/test/java/org/springframework/data/jpa/domain/sample/ItemId.java b/src/test/java/org/springframework/data/jpa/domain/sample/ItemId.java
index 370d993a5..a0d2a9463 100755
--- a/src/test/java/org/springframework/data/jpa/domain/sample/ItemId.java
+++ b/src/test/java/org/springframework/data/jpa/domain/sample/ItemId.java
@@ -18,10 +18,9 @@ package org.springframework.data.jpa.domain.sample;
import java.io.Serializable;
/**
- * Related to DATAJPA-413.
- *
* @author Mark Paluch
- * @see Final JPA 2.1 Specification 2.4.1.3 Derived Identities Example 2
+ * @see Final JPA 2.1
+ * Specification 2.4.1.3 Derived Identities Example 2
*/
public class ItemId implements Serializable {
diff --git a/src/test/java/org/springframework/data/jpa/domain/sample/ItemSite.java b/src/test/java/org/springframework/data/jpa/domain/sample/ItemSite.java
index aec7fda7b..540bfb9a7 100755
--- a/src/test/java/org/springframework/data/jpa/domain/sample/ItemSite.java
+++ b/src/test/java/org/springframework/data/jpa/domain/sample/ItemSite.java
@@ -22,10 +22,9 @@ import javax.persistence.ManyToOne;
import javax.persistence.Table;
/**
- * Related to DATAJPA-413.
- *
* @author Mark Paluch
- * @see Final JPA 2.1 Specification 2.4.1.3 Derived Identities Example 2
+ * @see Final JPA 2.1
+ * Specification 2.4.1.3 Derived Identities Example 2
*/
@Entity
@Table
diff --git a/src/test/java/org/springframework/data/jpa/domain/sample/ItemSiteId.java b/src/test/java/org/springframework/data/jpa/domain/sample/ItemSiteId.java
index a123d50a5..7dd5db5c3 100755
--- a/src/test/java/org/springframework/data/jpa/domain/sample/ItemSiteId.java
+++ b/src/test/java/org/springframework/data/jpa/domain/sample/ItemSiteId.java
@@ -18,10 +18,9 @@ package org.springframework.data.jpa.domain.sample;
import java.io.Serializable;
/**
- * Related to DATAJPA-413.
- *
* @author Mark Paluch
- * @see Final JPA 2.1 Specification 2.4.1.3 Derived Identities Example 2
+ * @see Final JPA 2.1
+ * Specification 2.4.1.3 Derived Identities Example 2
*/
public class ItemSiteId implements Serializable {
diff --git a/src/test/java/org/springframework/data/jpa/domain/sample/Site.java b/src/test/java/org/springframework/data/jpa/domain/sample/Site.java
index e6095e84a..bdd1212a1 100644
--- a/src/test/java/org/springframework/data/jpa/domain/sample/Site.java
+++ b/src/test/java/org/springframework/data/jpa/domain/sample/Site.java
@@ -21,10 +21,9 @@ import javax.persistence.Id;
import javax.persistence.Table;
/**
- * Related to DATAJPA-413.
- *
* @author Mark Paluch
- * @see Final JPA 2.1 Specification 2.4.1.3 Derived Identities Example 2
+ * @see Final JPA 2.1
+ * Specification 2.4.1.3 Derived Identities Example 2
*/
@Entity
@Table
diff --git a/src/test/java/org/springframework/data/jpa/infrastructure/HibernateMetamodelIntegrationTests.java b/src/test/java/org/springframework/data/jpa/infrastructure/HibernateMetamodelIntegrationTests.java
index b4e9f51e8..99c1528a2 100644
--- a/src/test/java/org/springframework/data/jpa/infrastructure/HibernateMetamodelIntegrationTests.java
+++ b/src/test/java/org/springframework/data/jpa/infrastructure/HibernateMetamodelIntegrationTests.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2015 the original author or authors.
+ * Copyright 2015-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -37,7 +37,7 @@ public class HibernateMetamodelIntegrationTests extends MetamodelIntegrationTest
public void considersOneToOneAttributeAnAssociation() {}
/**
- * @see https://hibernate.atlassian.net/browse/HHH-10341
+ * @see HHH-10341
*/
@Test
@Ignore
diff --git a/src/test/java/org/springframework/data/jpa/repository/CustomEclipseLinkJpaVendorAdapter.java b/src/test/java/org/springframework/data/jpa/repository/CustomEclipseLinkJpaVendorAdapter.java
index fc0ae6cb3..45fc5fb8e 100644
--- a/src/test/java/org/springframework/data/jpa/repository/CustomEclipseLinkJpaVendorAdapter.java
+++ b/src/test/java/org/springframework/data/jpa/repository/CustomEclipseLinkJpaVendorAdapter.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2015 the original author or authors.
+ * Copyright 2015-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -25,7 +25,7 @@ import org.springframework.orm.jpa.vendor.EclipseLinkJpaVendorAdapter;
* work around a bug in stored procedure execution on HSQLDB.
*
* @author Oliver Gierke
- * @see https://bugs.eclipse.org/bugs/show_bug.cgi?id=467072
+ * @see https://bugs.eclipse.org/bugs/show_bug.cgi?id=467072
*/
public class CustomEclipseLinkJpaVendorAdapter extends EclipseLinkJpaVendorAdapter {
@@ -47,7 +47,7 @@ public class CustomEclipseLinkJpaVendorAdapter extends EclipseLinkJpaVendorAdapt
* Workaround {@link HSQLPlatform} to make sure EclipseLink uses the right syntax to call stored procedures on HSQL.
*
* @author Oliver Gierke
- * @see https://bugs.eclipse.org/bugs/show_bug.cgi?id=467072
+ * @see https://bugs.eclipse.org/bugs/show_bug.cgi?id=467072
*/
@SuppressWarnings("serial")
public static class EclipseLinkHsqlPlatform extends HSQLPlatform {
diff --git a/src/test/java/org/springframework/data/jpa/repository/CustomHsqlHibernateJpaVendorAdaptor.java b/src/test/java/org/springframework/data/jpa/repository/CustomHsqlHibernateJpaVendorAdaptor.java
index c634d1fba..abc99d502 100644
--- a/src/test/java/org/springframework/data/jpa/repository/CustomHsqlHibernateJpaVendorAdaptor.java
+++ b/src/test/java/org/springframework/data/jpa/repository/CustomHsqlHibernateJpaVendorAdaptor.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2012 the original author or authors.
+ * Copyright 2012-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -24,7 +24,7 @@ import org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter;
/**
* Fix for missing type declarations for HSQL.
*
- * @see http://www.codesmell.org/blog/2008/12/hibernate-hsql-native-queries-and-booleans/
+ * @see http://www.codesmell.org/blog/2008/12/hibernate-hsql-native-queries-and-booleans/
* @author Oliver Gierke
*/
public class CustomHsqlHibernateJpaVendorAdaptor extends HibernateJpaVendorAdapter {
diff --git a/src/test/java/org/springframework/data/jpa/repository/RepositoryWithCompositeKeyTests.java b/src/test/java/org/springframework/data/jpa/repository/RepositoryWithCompositeKeyTests.java
index 39bad67e4..a22e07ce2 100644
--- a/src/test/java/org/springframework/data/jpa/repository/RepositoryWithCompositeKeyTests.java
+++ b/src/test/java/org/springframework/data/jpa/repository/RepositoryWithCompositeKeyTests.java
@@ -25,6 +25,7 @@ import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import org.junit.runner.RunWith;
+
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.dao.InvalidDataAccessApiUsageException;
import org.springframework.data.domain.Page;
@@ -61,7 +62,8 @@ public class RepositoryWithCompositeKeyTests {
@Autowired EmployeeRepositoryWithEmbeddedId employeeRepositoryWithEmbeddedId;
/**
- * @see Final JPA 2.0 Specification 2.4.1.3 Derived Identities Example 2
+ * @see Final JPA 2.0
+ * Specification 2.4.1.3 Derived Identities Example 2
*/
@Test // DATAJPA-269
public void shouldSupportSavingEntitiesWithCompositeKeyClassesWithIdClassAndDerivedIdentities() {
@@ -86,7 +88,8 @@ public class RepositoryWithCompositeKeyTests {
}
/**
- * @see Final JPA 2.0 Specification 2.4.1.3 Derived Identities Example 3
+ * @see Final JPA 2.0
+ * Specification 2.4.1.3 Derived Identities Example 3
*/
@Test // DATAJPA-269
public void shouldSupportSavingEntitiesWithCompositeKeyClassesWithEmbeddedIdsAndDerivedIdentities() {
@@ -162,8 +165,8 @@ public class RepositoryWithCompositeKeyTests {
emp3 = employeeRepositoryWithEmbeddedId.save(emp3);
QEmbeddedIdExampleEmployee emp = QEmbeddedIdExampleEmployee.embeddedIdExampleEmployee;
- List result = employeeRepositoryWithEmbeddedId.findAll(
- emp.employeePk.departmentId.eq(dep2.getDepartmentId()), emp.employeePk.employeeId.asc());
+ List result = employeeRepositoryWithEmbeddedId
+ .findAll(emp.employeePk.departmentId.eq(dep2.getDepartmentId()), emp.employeePk.employeeId.asc());
assertThat(result, is(notNullValue()));
assertThat(result, hasSize(2));
@@ -198,8 +201,8 @@ public class RepositoryWithCompositeKeyTests {
emp3 = employeeRepositoryWithIdClass.save(emp3);
QIdClassExampleEmployee emp = QIdClassExampleEmployee.idClassExampleEmployee;
- List result = employeeRepositoryWithIdClass.findAll(
- emp.department.departmentId.eq(dep2.getDepartmentId()), emp.empId.asc());
+ List result = employeeRepositoryWithIdClass
+ .findAll(emp.department.departmentId.eq(dep2.getDepartmentId()), emp.empId.asc());
assertThat(result, is(notNullValue()));
assertThat(result, hasSize(2));
diff --git a/src/test/java/org/springframework/data/jpa/repository/RepositoryWithIdClassKeyTests.java b/src/test/java/org/springframework/data/jpa/repository/RepositoryWithIdClassKeyTests.java
index 5af4d8326..bafc01319 100644
--- a/src/test/java/org/springframework/data/jpa/repository/RepositoryWithIdClassKeyTests.java
+++ b/src/test/java/org/springframework/data/jpa/repository/RepositoryWithIdClassKeyTests.java
@@ -22,6 +22,7 @@ import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import org.junit.runner.RunWith;
+
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;
@@ -69,7 +70,8 @@ public class RepositoryWithIdClassKeyTests {
}
/**
- * @see Final JPA 2.1 Specification 2.4.1.3 Derived Identities Example 2
+ * @see Final JPA 2.1
+ * Specification 2.4.1.3 Derived Identities Example 2
*/
@Test // DATAJPA-413
public void shouldSaveAndLoadEntitiesWithDerivedIdentities() throws Exception {
diff --git a/src/test/java/org/springframework/data/jpa/repository/UserRepositoryTests.java b/src/test/java/org/springframework/data/jpa/repository/UserRepositoryTests.java
index 5bd6fff7c..08d0ce0b6 100644
--- a/src/test/java/org/springframework/data/jpa/repository/UserRepositoryTests.java
+++ b/src/test/java/org/springframework/data/jpa/repository/UserRepositoryTests.java
@@ -1326,7 +1326,7 @@ public class UserRepositoryTests {
}
/**
- * @see https://issues.apache.org/jira/browse/OPENJPA-2484
+ * @see OPENJPA-2484
*/
@Test // DATAJPA-505
@Ignore
diff --git a/src/test/java/org/springframework/data/jpa/repository/query/StringQueryUnitTests.java b/src/test/java/org/springframework/data/jpa/repository/query/StringQueryUnitTests.java
index d4b582520..67bea150f 100644
--- a/src/test/java/org/springframework/data/jpa/repository/query/StringQueryUnitTests.java
+++ b/src/test/java/org/springframework/data/jpa/repository/query/StringQueryUnitTests.java
@@ -292,7 +292,7 @@ public class StringQueryUnitTests {
}
/**
- * @see JPA 2.1 specification, section 4.8
+ * @see JPA 2.1 specification, section 4.8
*/
@Test // DATAJPA-886
public void detectsConstructorExpressionForDefaultConstructor() {
diff --git a/src/test/java/org/springframework/data/jpa/repository/sample/ItemRepository.java b/src/test/java/org/springframework/data/jpa/repository/sample/ItemRepository.java
index 2bd9a2e7c..48e45cd4d 100755
--- a/src/test/java/org/springframework/data/jpa/repository/sample/ItemRepository.java
+++ b/src/test/java/org/springframework/data/jpa/repository/sample/ItemRepository.java
@@ -21,6 +21,7 @@ import org.springframework.data.jpa.repository.JpaRepository;
/**
* @author Mark Paluch
- * @see Final JPA 2.1 Specification 2.4.1.3 Derived Identities Example 2
+ * @see Final JPA 2.1
+ * Specification 2.4.1.3 Derived Identities Example 2
*/
public interface ItemRepository extends JpaRepository- {}
diff --git a/src/test/java/org/springframework/data/jpa/repository/sample/ItemSiteRepository.java b/src/test/java/org/springframework/data/jpa/repository/sample/ItemSiteRepository.java
index 0b333d32c..660daacc2 100755
--- a/src/test/java/org/springframework/data/jpa/repository/sample/ItemSiteRepository.java
+++ b/src/test/java/org/springframework/data/jpa/repository/sample/ItemSiteRepository.java
@@ -21,6 +21,7 @@ import org.springframework.data.jpa.repository.JpaRepository;
/**
* @author Mark Paluch
- * @see Final JPA 2.1 Specification 2.4.1.3 Derived Identities Example 2
+ * @see Final JPA 2.1
+ * Specification 2.4.1.3 Derived Identities Example 2
*/
public interface ItemSiteRepository extends JpaRepository {}
diff --git a/src/test/java/org/springframework/data/jpa/repository/sample/SiteRepository.java b/src/test/java/org/springframework/data/jpa/repository/sample/SiteRepository.java
index 2813718a1..1353a402a 100755
--- a/src/test/java/org/springframework/data/jpa/repository/sample/SiteRepository.java
+++ b/src/test/java/org/springframework/data/jpa/repository/sample/SiteRepository.java
@@ -20,6 +20,7 @@ import org.springframework.data.jpa.repository.JpaRepository;
/**
* @author Mark Paluch
- * @see Final JPA 2.1 Specification 2.4.1.3 Derived Identities Example 2
+ * @see Final JPA 2.1
+ * Specification 2.4.1.3 Derived Identities Example 2
*/
public interface SiteRepository extends JpaRepository {}
diff --git a/src/test/java/org/springframework/data/jpa/repository/sample/UserRepository.java b/src/test/java/org/springframework/data/jpa/repository/sample/UserRepository.java
index d7654d369..c05497221 100644
--- a/src/test/java/org/springframework/data/jpa/repository/sample/UserRepository.java
+++ b/src/test/java/org/springframework/data/jpa/repository/sample/UserRepository.java
@@ -109,7 +109,7 @@ public interface UserRepository
/**
* Retrieves a user by its username using the query annotated to the method.
*
- * @param username
+ * @param emailAddress
* @return
*/
@Query("select u from User u where u.emailAddress = ?1")
@@ -162,8 +162,8 @@ public interface UserRepository
/**
* Method where parameters will be applied by name. Note that the order of the parameters is then not crucial anymore.
*
- * @param firstname
- * @param lastname
+ * @param foo
+ * @param bar
* @return
*/
@Query("select u from User u where u.lastname = :lastname or u.firstname = :firstname")
@@ -298,7 +298,7 @@ public interface UserRepository
List deleteByLastname(String lastname);
/**
- * @see https://issues.apache.org/jira/browse/OPENJPA-2484
+ * @see OPENJPA-2484
*/
// DATAJPA-505
// @Query(value = "select u.binaryData from User u where u.id = :id")
diff --git a/src/test/java/org/springframework/data/jpa/repository/support/JpaMetamodelEntityInformationIntegrationTests.java b/src/test/java/org/springframework/data/jpa/repository/support/JpaMetamodelEntityInformationIntegrationTests.java
index 31989d40b..4d4fd915a 100644
--- a/src/test/java/org/springframework/data/jpa/repository/support/JpaMetamodelEntityInformationIntegrationTests.java
+++ b/src/test/java/org/springframework/data/jpa/repository/support/JpaMetamodelEntityInformationIntegrationTests.java
@@ -85,7 +85,7 @@ public class JpaMetamodelEntityInformationIntegrationTests {
* Ignored for Hibernate as it does not implement {@link Metamodel#managedType(Class)} correctly (does not consider
* {@link MappedSuperclass}es correctly).
*
- * @see https://hibernate.onjira.com/browse/HHH-6896
+ * @see HHH-6896
*/
@Test // DATAJPA-141
@Ignore