File tree 1 file changed +3
-7
lines changed
spring-data-jdbc/src/test/java/org/springframework/data/jdbc/core 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 37
37
import java .util .function .Function ;
38
38
import java .util .stream .IntStream ;
39
39
40
- import net .bytebuddy .asm .Advice ;
41
40
import org .assertj .core .api .SoftAssertions ;
42
-
43
41
import org .junit .jupiter .api .Test ;
44
42
import org .junit .jupiter .api .extension .ExtendWith ;
45
43
import org .springframework .beans .factory .annotation .Autowired ;
@@ -312,7 +310,7 @@ public void saveAndDeleteAllWithReferencedEntity() {
312
310
}
313
311
314
312
@ Test // DATAJDBC-112
315
- @ EnabledOnFeature ({SUPPORTS_QUOTED_IDS , SUPPORTS_GENERATED_IDS_IN_REFERENCED_ENTITIES })
313
+ @ EnabledOnFeature ({ SUPPORTS_QUOTED_IDS , SUPPORTS_GENERATED_IDS_IN_REFERENCED_ENTITIES })
316
314
public void updateReferencedEntityFromNull () {
317
315
318
316
legoSet .setManual (null );
@@ -851,7 +849,6 @@ public void saveAndLoadDateTimeWithMicrosecondPrecision() {
851
849
assertThat (loaded .testTime ).isEqualTo (entity .testTime );
852
850
}
853
851
854
-
855
852
private <T extends Number > void saveAndUpdateAggregateWithVersion (VersionedAggregate aggregate ,
856
853
Function <Number , T > toConcreteNumber ) {
857
854
saveAndUpdateAggregateWithVersion (aggregate , toConcreteNumber , 0 );
@@ -1199,10 +1196,9 @@ void setVersion(Number newVersion) {
1199
1196
}
1200
1197
1201
1198
@ Table
1202
- static class WithLocalDateTime {
1199
+ static class WithLocalDateTime {
1203
1200
1204
- @ Id
1205
- Long id ;
1201
+ @ Id Long id ;
1206
1202
LocalDateTime testTime ;
1207
1203
}
1208
1204
You can’t perform that action at this time.
0 commit comments