File tree 1 file changed +7
-3
lines changed
spring-data-jpa/src/test/java/org/springframework/data/jpa/repository/query
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2023 the original author or authors.
2
+ * Copyright 2024 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
23
23
import org .junit .jupiter .api .Test ;
24
24
25
25
/**
26
+ * Test to verify compliance of {@link JpqlParser} with standard SQL. Other than {@link JpqlSpecificationTests} tests in
27
+ * this class check that the parser follows a lenient approach and does not error on well known concepts like numeric
28
+ * suffix.
29
+ *
26
30
* @author Christoph Strobl
27
31
*/
28
- public class JpqlComplianceTests {
32
+ class JpqlComplianceTests {
29
33
30
34
private static String parseWithoutChanges (String query ) {
31
35
@@ -52,7 +56,7 @@ private String reduceWhitespace(String original) {
52
56
.trim ();
53
57
}
54
58
55
- @ Test
59
+ @ Test // GH-3277
56
60
void numericLiterals () {
57
61
58
62
assertQuery ("SELECT e FROM Employee e WHERE e.id = 1234" );
You can’t perform that action at this time.
0 commit comments