File tree Expand file tree Collapse file tree 2 files changed +2
-13
lines changed
test/java/org/hibernate/test/hql Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Original file line number Diff line number Diff line change 74
74
SOME= " some" ;
75
75
SUM= " sum" ;
76
76
TRUE= " true" ;
77
- UNION= " union" ;
78
77
UPDATE= " update" ;
79
78
VERSIONED= " versioned" ;
80
79
WHERE= " where" ;
@@ -298,10 +297,6 @@ insertablePropertySpec
298
297
}
299
298
;
300
299
301
- union
302
- : queryRule (UNION queryRule)*
303
- ;
304
-
305
300
//## query:
306
301
//## [selectClause] fromClause [whereClause] [groupByClause] [havingClause] [orderByClause];
307
302
@@ -805,7 +800,7 @@ compoundExpr
805
800
;
806
801
807
802
subQuery
808
- : union
803
+ : queryRule
809
804
{ # subQuery = #([QUERY,"query"], #subQuery); }
810
805
;
811
806
Original file line number Diff line number Diff line change 33
33
* works properly (i.e. no unexpected syntax errors).
34
34
* todo this should be a unit test.
35
35
*/
36
- public class HqlParserTest {
37
-
38
-
39
- @ Test
40
- public void testUnion () throws Exception {
41
- parse ("from Animal a where a in (from Cat union from Dog) " );
42
- }
36
+ public class HqlParserTest {
43
37
44
38
/**
45
39
* Section 9.2 - from *
You can’t perform that action at this time.
0 commit comments