Skip to content

Commit d430c7d

Browse files
committed
polish unit test for spring-integration-jpa
Signed-off-by: Jiandong Ma <[email protected]>
1 parent dd9db17 commit d430c7d

File tree

5 files changed

+239
-672
lines changed

5 files changed

+239
-672
lines changed

spring-integration-jpa/src/main/java/org/springframework/integration/jpa/core/JpaExecutor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2023 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -569,7 +569,7 @@ else if (this.entityClass != null) {
569569
else {
570570
throw new IllegalStateException("For the polling operation, one of "
571571
+ "the following properties must be specified: "
572-
+ "query, namedQuery or entityClass.");
572+
+ "jpaQuery, nativeQuery, namedQuery or entityClass.");
573573
}
574574
return payload;
575575
}

0 commit comments

Comments
 (0)