@@ -77,7 +77,7 @@ WithDotColumnRepo withDotColumnRepo(JdbcRepositoryFactory factory) {
77
77
@ Autowired WithDotColumnRepo withDotColumnRepo ;
78
78
79
79
@ Test // DATAJDBC-111
80
- public void savesAnEntity () {
80
+ void savesAnEntity () {
81
81
82
82
DummyEntity entity = repository .save (createDummyEntity ());
83
83
@@ -86,7 +86,7 @@ public void savesAnEntity() {
86
86
}
87
87
88
88
@ Test // DATAJDBC-111
89
- public void saveAndLoadAnEntity () {
89
+ void saveAndLoadAnEntity () {
90
90
91
91
DummyEntity entity = repository .save (createDummyEntity ());
92
92
@@ -102,7 +102,7 @@ public void saveAndLoadAnEntity() {
102
102
}
103
103
104
104
@ Test // DATAJDBC-111
105
- public void findAllFindsAllEntities () {
105
+ void findAllFindsAllEntities () {
106
106
107
107
DummyEntity entity = repository .save (createDummyEntity ());
108
108
DummyEntity other = repository .save (createDummyEntity ());
@@ -115,7 +115,7 @@ public void findAllFindsAllEntities() {
115
115
}
116
116
117
117
@ Test // GH-1676
118
- public void findAllFindsAllEntitiesWithOnlyReferenceNotNull () {
118
+ void findAllFindsAllEntitiesWithOnlyReferenceNotNull () {
119
119
120
120
DummyEntity entity = createDummyEntity ();
121
121
entity .prefixedEmbeddable .test = null ;
@@ -130,14 +130,14 @@ public void findAllFindsAllEntitiesWithOnlyReferenceNotNull() {
130
130
}
131
131
132
132
@ Test // DATAJDBC-111
133
- public void findByIdReturnsEmptyWhenNoneFound () {
133
+ void findByIdReturnsEmptyWhenNoneFound () {
134
134
135
135
// NOT saving anything, so DB is empty
136
136
assertThat (repository .findById (-1L )).isEmpty ();
137
137
}
138
138
139
139
@ Test // DATAJDBC-111
140
- public void update () {
140
+ void update () {
141
141
142
142
DummyEntity entity = repository .save (createDummyEntity ());
143
143
@@ -153,7 +153,7 @@ public void update() {
153
153
}
154
154
155
155
@ Test // DATAJDBC-111
156
- public void updateMany () {
156
+ void updateMany () {
157
157
158
158
DummyEntity entity = repository .save (createDummyEntity ());
159
159
DummyEntity other = repository .save (createDummyEntity ());
@@ -177,7 +177,7 @@ public void updateMany() {
177
177
}
178
178
179
179
@ Test // DATAJDBC-111
180
- public void deleteById () {
180
+ void deleteById () {
181
181
182
182
DummyEntity one = repository .save (createDummyEntity ());
183
183
DummyEntity two = repository .save (createDummyEntity ());
@@ -191,7 +191,7 @@ public void deleteById() {
191
191
}
192
192
193
193
@ Test // DATAJDBC-111
194
- public void deleteByEntity () {
194
+ void deleteByEntity () {
195
195
DummyEntity one = repository .save (createDummyEntity ());
196
196
DummyEntity two = repository .save (createDummyEntity ());
197
197
DummyEntity three = repository .save (createDummyEntity ());
@@ -204,7 +204,7 @@ public void deleteByEntity() {
204
204
}
205
205
206
206
@ Test // DATAJDBC-111
207
- public void deleteByList () {
207
+ void deleteByList () {
208
208
209
209
DummyEntity one = repository .save (createDummyEntity ());
210
210
DummyEntity two = repository .save (createDummyEntity ());
@@ -218,7 +218,7 @@ public void deleteByList() {
218
218
}
219
219
220
220
@ Test // DATAJDBC-111
221
- public void deleteAll () {
221
+ void deleteAll () {
222
222
223
223
repository .save (createDummyEntity ());
224
224
repository .save (createDummyEntity ());
@@ -232,7 +232,7 @@ public void deleteAll() {
232
232
}
233
233
234
234
@ Test // DATAJDBC-370
235
- public void saveWithNullValueEmbeddable () {
235
+ void saveWithNullValueEmbeddable () {
236
236
237
237
DummyEntity entity = repository .save (new DummyEntity ());
238
238
@@ -241,7 +241,7 @@ public void saveWithNullValueEmbeddable() {
241
241
}
242
242
243
243
@ Test // GH-1286
244
- public void findOrderedByEmbeddedProperty () {
244
+ void findOrderedByEmbeddedProperty () {
245
245
246
246
Person first =
new Person (
null ,
"Bob" ,
"Seattle" ,
new PersonContacts (
"[email protected] " ,
"+1 111 1111 11 11" ));
247
247
Person second =
new Person (
null ,
"Alex" ,
"LA" ,
new PersonContacts (
"[email protected] " ,
"+2 222 2222 22 22" ));
@@ -256,7 +256,7 @@ public void findOrderedByEmbeddedProperty() {
256
256
}
257
257
258
258
@ Test // GH-1286
259
- public void sortingWorksCorrectlyIfColumnHasDotInItsName () {
259
+ void sortingWorksCorrectlyIfColumnHasDotInItsName () {
260
260
261
261
WithDotColumn first = new WithDotColumn (null , "Salt Lake City" );
262
262
WithDotColumn second = new WithDotColumn (null , "Istanbul" );
0 commit comments