@@ -30,7 +30,7 @@ public static BinaryOperatorTest getSimpleGreaterThanTest() {
30
30
BinaryOperatorTest theTest = new BinaryOperatorTest ();
31
31
32
32
theTest .setName ("Simple Greater Than test" );
33
- theTest .setEjbqlString ("SELECT OBJECT(emp ) FROM Employee emp WHERE emp .id > 12" );
33
+ theTest .setEjbqlString ("SELECT OBJECT(e ) FROM Employee e WHERE e .id > 12" );
34
34
theTest .setReferenceClass (Employee .class );
35
35
36
36
ExpressionBuilder builder = new ExpressionBuilder ();
@@ -44,7 +44,7 @@ public static BinaryOperatorTest getSimpleGreaterThanEqualTest() {
44
44
BinaryOperatorTest theTest = new BinaryOperatorTest ();
45
45
46
46
theTest .setName ("Simple Greater Than Equal test" );
47
- theTest .setEjbqlString ("SELECT OBJECT(emp ) FROM Employee emp WHERE emp .id >= 12" );
47
+ theTest .setEjbqlString ("SELECT OBJECT(e ) FROM Employee e WHERE e .id >= 12" );
48
48
theTest .setReferenceClass (Employee .class );
49
49
50
50
ExpressionBuilder builder = new ExpressionBuilder ();
@@ -58,7 +58,7 @@ public static BinaryOperatorTest getSimpleLessThanEqualTest() {
58
58
BinaryOperatorTest theTest = new BinaryOperatorTest ();
59
59
60
60
theTest .setName ("Simple Less Than Equal test" );
61
- theTest .setEjbqlString ("SELECT OBJECT(emp ) FROM Employee emp WHERE emp .id <= 1000000" );
61
+ theTest .setEjbqlString ("SELECT OBJECT(e ) FROM Employee e WHERE e .id <= 1000000" );
62
62
theTest .setReferenceClass (Employee .class );
63
63
64
64
ExpressionBuilder builder = new ExpressionBuilder ();
@@ -72,7 +72,7 @@ public static BinaryOperatorTest getSimpleLessThanTest() {
72
72
BinaryOperatorTest theTest = new BinaryOperatorTest ();
73
73
74
74
theTest .setName ("Simple Less Than test" );
75
- theTest .setEjbqlString ("SELECT OBJECT(emp ) FROM Employee emp WHERE emp .id < 1000000" );
75
+ theTest .setEjbqlString ("SELECT OBJECT(e ) FROM Employee e WHERE e .id < 1000000" );
76
76
theTest .setReferenceClass (Employee .class );
77
77
78
78
ExpressionBuilder builder = new ExpressionBuilder ();
@@ -86,7 +86,7 @@ public static BinaryOperatorTest getSimplePlusTest() {
86
86
BinaryOperatorTest theTest = new BinaryOperatorTest ();
87
87
88
88
theTest .setName ("Simple Plus test" );
89
- theTest .setEjbqlString ("SELECT OBJECT(emp ) FROM Employee emp WHERE emp .salary + 1000 <= 50000" );
89
+ theTest .setEjbqlString ("SELECT OBJECT(e ) FROM Employee e WHERE e .salary + 1000 <= 50000" );
90
90
theTest .setReferenceClass (Employee .class );
91
91
92
92
ExpressionBuilder builder = new ExpressionBuilder ();
@@ -100,7 +100,7 @@ public static BinaryOperatorTest getSimplePlusTestWithBracketsBeforeComparison()
100
100
BinaryOperatorTest theTest = new BinaryOperatorTest ();
101
101
102
102
theTest .setName ("Simple Plus test with brackets before comparison" );
103
- theTest .setEjbqlString ("SELECT OBJECT(emp ) FROM Employee emp WHERE (emp .salary + 1000) <= 50000" );
103
+ theTest .setEjbqlString ("SELECT OBJECT(e ) FROM Employee e WHERE (e .salary + 1000) <= 50000" );
104
104
theTest .setReferenceClass (Employee .class );
105
105
106
106
ExpressionBuilder builder = new ExpressionBuilder ();
@@ -114,7 +114,7 @@ public static BinaryOperatorTest getSimplePlusTestWithBracketsAfterComparison()
114
114
BinaryOperatorTest theTest = new BinaryOperatorTest ();
115
115
116
116
theTest .setName ("Simple Plus test with brackets after comparison" );
117
- theTest .setEjbqlString ("SELECT OBJECT(emp ) FROM Employee emp WHERE 50000 > (emp .salary + 1000)" );
117
+ theTest .setEjbqlString ("SELECT OBJECT(e ) FROM Employee e WHERE 50000 > (e .salary + 1000)" );
118
118
theTest .setReferenceClass (Employee .class );
119
119
120
120
ExpressionBuilder builder = new ExpressionBuilder ();
@@ -128,7 +128,7 @@ public static BinaryOperatorTest getSimpleMinusTest() {
128
128
BinaryOperatorTest theTest = new BinaryOperatorTest ();
129
129
130
130
theTest .setName ("Simple Minus test" );
131
- theTest .setEjbqlString ("SELECT OBJECT(emp ) FROM Employee emp WHERE emp .salary - 1000 <= 50000" );
131
+ theTest .setEjbqlString ("SELECT OBJECT(e ) FROM Employee e WHERE e .salary - 1000 <= 50000" );
132
132
theTest .setReferenceClass (Employee .class );
133
133
134
134
ExpressionBuilder builder = new ExpressionBuilder ();
@@ -142,7 +142,7 @@ public static BinaryOperatorTest getSimpleMinusTestWithBracketsBeforeComparison(
142
142
BinaryOperatorTest theTest = new BinaryOperatorTest ();
143
143
144
144
theTest .setName ("Simple Minus test with Brackets Before Comparison" );
145
- theTest .setEjbqlString ("SELECT OBJECT(emp ) FROM Employee emp WHERE (emp .salary - 1000) <= 50000" );
145
+ theTest .setEjbqlString ("SELECT OBJECT(e ) FROM Employee e WHERE (e .salary - 1000) <= 50000" );
146
146
theTest .setReferenceClass (Employee .class );
147
147
148
148
ExpressionBuilder builder = new ExpressionBuilder ();
@@ -156,7 +156,7 @@ public static BinaryOperatorTest getSimpleMinusTestWithBracketsAfterComparison()
156
156
BinaryOperatorTest theTest = new BinaryOperatorTest ();
157
157
158
158
theTest .setName ("Simple Minus test with Brackets After Comparison" );
159
- theTest .setEjbqlString ("SELECT OBJECT(emp ) FROM Employee emp WHERE 50000 > (emp .salary - 1000)" );
159
+ theTest .setEjbqlString ("SELECT OBJECT(e ) FROM Employee e WHERE 50000 > (e .salary - 1000)" );
160
160
theTest .setReferenceClass (Employee .class );
161
161
162
162
ExpressionBuilder builder = new ExpressionBuilder ();
@@ -170,7 +170,7 @@ public static BinaryOperatorTest getSimpleMultiplyTest() {
170
170
BinaryOperatorTest theTest = new BinaryOperatorTest ();
171
171
172
172
theTest .setName ("Simple Multiply test" );
173
- theTest .setEjbqlString ("SELECT OBJECT(emp ) FROM Employee emp WHERE emp .salary * 2 <= 100000" );
173
+ theTest .setEjbqlString ("SELECT OBJECT(e ) FROM Employee e WHERE e .salary * 2 <= 100000" );
174
174
theTest .setReferenceClass (Employee .class );
175
175
176
176
ExpressionBuilder builder = new ExpressionBuilder ();
@@ -184,7 +184,7 @@ public static BinaryOperatorTest getSimpleMultiplyTestWithBracketsBeforeComparis
184
184
BinaryOperatorTest theTest = new BinaryOperatorTest ();
185
185
186
186
theTest .setName ("Simple Multiply test with brackets before comparison" );
187
- theTest .setEjbqlString ("SELECT OBJECT(emp ) FROM Employee emp WHERE (emp .salary * 2) <= 100000" );
187
+ theTest .setEjbqlString ("SELECT OBJECT(e ) FROM Employee e WHERE (e .salary * 2) <= 100000" );
188
188
theTest .setReferenceClass (Employee .class );
189
189
190
190
ExpressionBuilder builder = new ExpressionBuilder ();
@@ -198,7 +198,7 @@ public static BinaryOperatorTest getSimpleMultiplyTestWithBracketsAfterCompariso
198
198
BinaryOperatorTest theTest = new BinaryOperatorTest ();
199
199
200
200
theTest .setName ("Simple Multiply test with brackets after comparison" );
201
- theTest .setEjbqlString ("SELECT OBJECT(emp ) FROM Employee emp WHERE 100000 > (emp .salary * 2)" );
201
+ theTest .setEjbqlString ("SELECT OBJECT(e ) FROM Employee e WHERE 100000 > (e .salary * 2)" );
202
202
theTest .setReferenceClass (Employee .class );
203
203
204
204
ExpressionBuilder builder = new ExpressionBuilder ();
@@ -212,7 +212,7 @@ public static BinaryOperatorTest getSimpleDivideTest() {
212
212
BinaryOperatorTest theTest = new BinaryOperatorTest ();
213
213
214
214
theTest .setName ("Simple Divide test" );
215
- theTest .setEjbqlString ("SELECT OBJECT(emp ) FROM Employee emp WHERE emp .salary / 2 <= 20000" );
215
+ theTest .setEjbqlString ("SELECT OBJECT(e ) FROM Employee e WHERE e .salary / 2 <= 20000" );
216
216
theTest .setReferenceClass (Employee .class );
217
217
218
218
ExpressionBuilder builder = new ExpressionBuilder ();
@@ -226,7 +226,7 @@ public static BinaryOperatorTest getSimpleDivideTestWithBracketsBeforeComparison
226
226
BinaryOperatorTest theTest = new BinaryOperatorTest ();
227
227
228
228
theTest .setName ("Simple Divide test with brackets before comparison" );
229
- theTest .setEjbqlString ("SELECT OBJECT(emp ) FROM Employee emp WHERE (emp .salary / 2) <= 20000" );
229
+ theTest .setEjbqlString ("SELECT OBJECT(e ) FROM Employee e WHERE (e .salary / 2) <= 20000" );
230
230
theTest .setReferenceClass (Employee .class );
231
231
232
232
ExpressionBuilder builder = new ExpressionBuilder ();
@@ -240,7 +240,7 @@ public static BinaryOperatorTest getSimpleDivideTestWithBracketsAfterComparison(
240
240
BinaryOperatorTest theTest = new BinaryOperatorTest ();
241
241
242
242
theTest .setName ("Simple Divide test with brackets after comparison" );
243
- theTest .setEjbqlString ("SELECT OBJECT(emp ) FROM Employee emp WHERE 20000 > (emp .salary / 2)" );
243
+ theTest .setEjbqlString ("SELECT OBJECT(e ) FROM Employee e WHERE 20000 > (e .salary / 2)" );
244
244
theTest .setReferenceClass (Employee .class );
245
245
246
246
ExpressionBuilder builder = new ExpressionBuilder ();
0 commit comments