@@ -99,7 +99,7 @@ void before() {
99
99
new MappingR2dbcConverter (new R2dbcMappingContext (), conversions ));
100
100
}
101
101
102
- @ Test // gh -220
102
+ @ Test // GH -220
103
103
void shouldCountBy () {
104
104
105
105
MockResult result = MockResult .builder ().row (MockRow .builder ().identified (0 , Long .class , 1L ).build ()).build ();
@@ -117,8 +117,7 @@ void shouldCountBy() {
117
117
assertThat (statement .getBindings ()).hasSize (1 ).containsEntry (0 , Parameter .from ("Walter" ));
118
118
}
119
119
120
- @ Test
121
- // GH-1690
120
+ @ Test // GH-1690
122
121
void shouldApplyInterfaceProjection () {
123
122
124
123
MockRowMetadata metadata = MockRowMetadata .builder ()
@@ -165,7 +164,7 @@ void shouldProjectEntityUsingInheritedInterface() {
165
164
assertThat (statement .getSql ()).isEqualTo ("SELECT foo.* FROM foo WHERE foo.THE_NAME = $1" );
166
165
}
167
166
168
- @ Test // gh -469
167
+ @ Test // GH -469
169
168
void shouldProjectExistsResult () {
170
169
171
170
MockResult result = MockResult .builder ().row (MockRow .builder ().identified (0 , Object .class , null ).build ()).build ();
@@ -180,7 +179,7 @@ void shouldProjectExistsResult() {
180
179
.verifyComplete ();
181
180
}
182
181
183
- @ Test // gh -1310
182
+ @ Test // GH -1310
184
183
void shouldProjectExistsResultWithoutId () {
185
184
186
185
MockResult result = MockResult .builder ().row (MockRow .builder ().identified (0 , Object .class , null ).build ()).build ();
@@ -192,7 +191,7 @@ void shouldProjectExistsResultWithoutId() {
192
191
.expectNext (true ).verifyComplete ();
193
192
}
194
193
195
- @ Test // gh -1310
194
+ @ Test // GH -1310
196
195
void shouldProjectCountResultWithoutId () {
197
196
198
197
MockResult result = MockResult .builder ().row (MockRow .builder ().identified (0 , Long .class , 1L ).build ()).build ();
@@ -204,7 +203,7 @@ void shouldProjectCountResultWithoutId() {
204
203
.expectNext (1L ).verifyComplete ();
205
204
}
206
205
207
- @ Test // gh -469
206
+ @ Test // GH -469
208
207
void shouldExistsByCriteria () {
209
208
210
209
MockRowMetadata metadata = MockRowMetadata .builder ()
@@ -224,7 +223,7 @@ void shouldExistsByCriteria() {
224
223
assertThat (statement .getBindings ()).hasSize (1 ).containsEntry (0 , Parameter .from ("Walter" ));
225
224
}
226
225
227
- @ Test // gh -220
226
+ @ Test // GH -220
228
227
void shouldSelectByCriteria () {
229
228
230
229
recorder .addStubbing (s -> s .startsWith ("SELECT" ), Collections .emptyList ());
@@ -240,7 +239,7 @@ void shouldSelectByCriteria() {
240
239
assertThat (statement .getBindings ()).hasSize (1 ).containsEntry (0 , Parameter .from ("Walter" ));
241
240
}
242
241
243
- @ Test // gh -215
242
+ @ Test // GH -215
244
243
void selectShouldInvokeCallback () {
245
244
246
245
MockRowMetadata metadata = MockRowMetadata .builder ()
@@ -266,7 +265,7 @@ void selectShouldInvokeCallback() {
266
265
assertThat (callback .getValues ()).hasSize (1 );
267
266
}
268
267
269
- @ Test // gh -220
268
+ @ Test // GH -220
270
269
void shouldSelectOne () {
271
270
272
271
recorder .addStubbing (s -> s .startsWith ("SELECT" ), Collections .emptyList ());
@@ -282,7 +281,7 @@ void shouldSelectOne() {
282
281
assertThat (statement .getBindings ()).hasSize (1 ).containsEntry (0 , Parameter .from ("Walter" ));
283
282
}
284
283
285
- @ Test // gh -220, gh -758
284
+ @ Test // GH -220, GH -758
286
285
void shouldSelectOneDoNotOverrideExistingLimit () {
287
286
288
287
recorder .addStubbing (s -> s .startsWith ("SELECT" ), Collections .emptyList ());
@@ -299,7 +298,7 @@ void shouldSelectOneDoNotOverrideExistingLimit() {
299
298
assertThat (statement .getBindings ()).hasSize (1 ).containsEntry (0 , Parameter .from ("Walter" ));
300
299
}
301
300
302
- @ Test // gh -220
301
+ @ Test // GH -220
303
302
void shouldUpdateByQuery () {
304
303
305
304
MockRowMetadata metadata = MockRowMetadata .builder ()
@@ -321,7 +320,7 @@ void shouldUpdateByQuery() {
321
320
Parameter .from ("Walter" ));
322
321
}
323
322
324
- @ Test // gh -220
323
+ @ Test // GH -220
325
324
void shouldDeleteByQuery () {
326
325
327
326
MockRowMetadata metadata = MockRowMetadata .builder ()
@@ -341,7 +340,7 @@ void shouldDeleteByQuery() {
341
340
assertThat (statement .getBindings ()).hasSize (1 ).containsEntry (0 , Parameter .from ("Walter" ));
342
341
}
343
342
344
- @ Test // gh -220
343
+ @ Test // GH -220
345
344
void shouldDeleteEntity () {
346
345
347
346
Person person = Person .empty () //
@@ -358,7 +357,7 @@ void shouldDeleteEntity() {
358
357
assertThat (statement .getBindings ()).hasSize (1 ).containsEntry (0 , Parameter .from ("Walter" ));
359
358
}
360
359
361
- @ Test // gh -365
360
+ @ Test // GH -365
362
361
void shouldInsertVersioned () {
363
362
364
363
MockRowMetadata metadata = MockRowMetadata .builder ().build ();
@@ -379,7 +378,7 @@ void shouldInsertVersioned() {
379
378
Parameter .from (1L ));
380
379
}
381
380
382
- @ Test // gh -557, gh -402
381
+ @ Test // GH -557, GH -402
383
382
void shouldSkipDefaultIdValueOnInsert () {
384
383
385
384
MockRowMetadata metadata = MockRowMetadata .builder ().build ();
@@ -397,7 +396,7 @@ void shouldSkipDefaultIdValueOnInsert() {
397
396
assertThat (statement .getBindings ()).hasSize (1 ).containsEntry (0 , Parameter .from ("bar" ));
398
397
}
399
398
400
- @ Test // gh -557, gh -402
399
+ @ Test // GH -557, GH -402
401
400
void shouldSkipDefaultIdValueOnVersionedInsert () {
402
401
403
402
MockRowMetadata metadata = MockRowMetadata .builder ().build ();
@@ -419,7 +418,7 @@ void shouldSkipDefaultIdValueOnVersionedInsert() {
419
418
Parameter .from ("bar" ));
420
419
}
421
420
422
- @ Test // gh -451
421
+ @ Test // GH -451
423
422
void shouldInsertCorrectlyVersionedAndAudited () {
424
423
425
424
MockRowMetadata metadata = MockRowMetadata .builder ().build ();
@@ -447,7 +446,7 @@ void shouldInsertCorrectlyVersionedAndAudited() {
447
446
"INSERT INTO with_auditing_and_optimistic_locking (version, name, created_date, last_modified_date) VALUES ($1, $2, $3, $4)" );
448
447
}
449
448
450
- @ Test // gh -451
449
+ @ Test // GH -451
451
450
void shouldUpdateCorrectlyVersionedAndAudited () {
452
451
453
452
MockRowMetadata metadata = MockRowMetadata .builder ().build ();
@@ -476,7 +475,7 @@ void shouldUpdateCorrectlyVersionedAndAudited() {
476
475
"UPDATE with_auditing_and_optimistic_locking SET version = $1, name = $2, created_date = $3, last_modified_date = $4" );
477
476
}
478
477
479
- @ Test // gh -215
478
+ @ Test // GH -215
480
479
void insertShouldInvokeCallback () {
481
480
482
481
MockRowMetadata metadata = MockRowMetadata .builder ().build ();
@@ -504,7 +503,7 @@ void insertShouldInvokeCallback() {
504
503
Parameter .from ("before-save" ));
505
504
}
506
505
507
- @ Test // gh -365
506
+ @ Test // GH -365
508
507
void shouldUpdateVersioned () {
509
508
510
509
MockRowMetadata metadata = MockRowMetadata .builder ().build ();
@@ -526,7 +525,7 @@ void shouldUpdateVersioned() {
526
525
Parameter .from (1L ));
527
526
}
528
527
529
- @ Test // gh -215
528
+ @ Test // GH -215
530
529
void updateShouldInvokeCallback () {
531
530
532
531
MockRowMetadata metadata = MockRowMetadata .builder ().build ();
@@ -559,7 +558,7 @@ void updateShouldInvokeCallback() {
559
558
Parameter .from ("before-save" ));
560
559
}
561
560
562
- @ Test // gh -637
561
+ @ Test // GH -637
563
562
void insertIncludesInsertOnlyColumns () {
564
563
565
564
MockRowMetadata metadata = MockRowMetadata .builder ().build ();
@@ -578,7 +577,7 @@ void insertIncludesInsertOnlyColumns() {
578
577
Parameter .from ("insert this" ));
579
578
}
580
579
581
- @ Test // gh -637
580
+ @ Test // GH -637
582
581
void updateExcludesInsertOnlyColumns () {
583
582
584
583
MockRowMetadata metadata = MockRowMetadata .builder ().build ();
0 commit comments