File tree 3 files changed +12
-1
lines changed
main/antlr4/org/springframework/data/jpa/repository/query
test/java/org/springframework/data/jpa/repository/query
3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -603,7 +603,8 @@ identification_variable
603
603
| ORDER
604
604
| OUTER
605
605
| FLOOR
606
- | SIGN )
606
+ | SIGN
607
+ | VALUE )
607
608
;
608
609
609
610
constructor_name
Original file line number Diff line number Diff line change @@ -1522,6 +1522,11 @@ void queryWithSignShouldWork() {
1522
1522
assertQuery ("select t.sign from TestEntity t" );
1523
1523
}
1524
1524
1525
+ @ Test // GH-3028
1526
+ void queryWithValueShouldWork () {
1527
+ assertQuery ("select t.value from TestEntity t" );
1528
+ }
1529
+
1525
1530
@ Test // GH-3024
1526
1531
void castFunctionWithFqdnShouldWork () {
1527
1532
assertQuery ("SELECT o FROM Order o WHERE CAST(:userId AS java.util.UUID) IS NULL OR o.user.id = :userId" );
Original file line number Diff line number Diff line change @@ -936,4 +936,9 @@ void floorShouldBeValidEntityName() {
936
936
void queryWithSignShouldWork () {
937
937
assertQuery ("select t.sign from TestEntity t" );
938
938
}
939
+
940
+ @ Test // GH-3028
941
+ void queryWithValueShouldWork () {
942
+ assertQuery ("select t.value from TestEntity t" );
943
+ }
939
944
}
You can’t perform that action at this time.
0 commit comments