|
1 | 1 | /*
|
2 |
| - * Copyright 2010-2022 the original author or authors. |
| 2 | + * Copyright 2010-2024 the original author or authors. |
3 | 3 | *
|
4 | 4 | * Licensed under the Apache License, Version 2.0 (the "License");
|
5 | 5 | * you may not use this file except in compliance with the License.
|
@@ -144,243 +144,151 @@ public PersistenceExceptionTranslator getPersistenceExceptionTranslator() {
|
144 | 144 | return this.exceptionTranslator;
|
145 | 145 | }
|
146 | 146 |
|
147 |
| - /** |
148 |
| - * {@inheritDoc} |
149 |
| - */ |
150 | 147 | @Override
|
151 | 148 | public <T> T selectOne(String statement) {
|
152 | 149 | return this.sqlSessionProxy.selectOne(statement);
|
153 | 150 | }
|
154 | 151 |
|
155 |
| - /** |
156 |
| - * {@inheritDoc} |
157 |
| - */ |
158 | 152 | @Override
|
159 | 153 | public <T> T selectOne(String statement, Object parameter) {
|
160 | 154 | return this.sqlSessionProxy.selectOne(statement, parameter);
|
161 | 155 | }
|
162 | 156 |
|
163 |
| - /** |
164 |
| - * {@inheritDoc} |
165 |
| - */ |
166 | 157 | @Override
|
167 | 158 | public <K, V> Map<K, V> selectMap(String statement, String mapKey) {
|
168 | 159 | return this.sqlSessionProxy.selectMap(statement, mapKey);
|
169 | 160 | }
|
170 | 161 |
|
171 |
| - /** |
172 |
| - * {@inheritDoc} |
173 |
| - */ |
174 | 162 | @Override
|
175 | 163 | public <K, V> Map<K, V> selectMap(String statement, Object parameter, String mapKey) {
|
176 | 164 | return this.sqlSessionProxy.selectMap(statement, parameter, mapKey);
|
177 | 165 | }
|
178 | 166 |
|
179 |
| - /** |
180 |
| - * {@inheritDoc} |
181 |
| - */ |
182 | 167 | @Override
|
183 | 168 | public <K, V> Map<K, V> selectMap(String statement, Object parameter, String mapKey, RowBounds rowBounds) {
|
184 | 169 | return this.sqlSessionProxy.selectMap(statement, parameter, mapKey, rowBounds);
|
185 | 170 | }
|
186 | 171 |
|
187 |
| - /** |
188 |
| - * {@inheritDoc} |
189 |
| - */ |
190 | 172 | @Override
|
191 | 173 | public <T> Cursor<T> selectCursor(String statement) {
|
192 | 174 | return this.sqlSessionProxy.selectCursor(statement);
|
193 | 175 | }
|
194 | 176 |
|
195 |
| - /** |
196 |
| - * {@inheritDoc} |
197 |
| - */ |
198 | 177 | @Override
|
199 | 178 | public <T> Cursor<T> selectCursor(String statement, Object parameter) {
|
200 | 179 | return this.sqlSessionProxy.selectCursor(statement, parameter);
|
201 | 180 | }
|
202 | 181 |
|
203 |
| - /** |
204 |
| - * {@inheritDoc} |
205 |
| - */ |
206 | 182 | @Override
|
207 | 183 | public <T> Cursor<T> selectCursor(String statement, Object parameter, RowBounds rowBounds) {
|
208 | 184 | return this.sqlSessionProxy.selectCursor(statement, parameter, rowBounds);
|
209 | 185 | }
|
210 | 186 |
|
211 |
| - /** |
212 |
| - * {@inheritDoc} |
213 |
| - */ |
214 | 187 | @Override
|
215 | 188 | public <E> List<E> selectList(String statement) {
|
216 | 189 | return this.sqlSessionProxy.selectList(statement);
|
217 | 190 | }
|
218 | 191 |
|
219 |
| - /** |
220 |
| - * {@inheritDoc} |
221 |
| - */ |
222 | 192 | @Override
|
223 | 193 | public <E> List<E> selectList(String statement, Object parameter) {
|
224 | 194 | return this.sqlSessionProxy.selectList(statement, parameter);
|
225 | 195 | }
|
226 | 196 |
|
227 |
| - /** |
228 |
| - * {@inheritDoc} |
229 |
| - */ |
230 | 197 | @Override
|
231 | 198 | public <E> List<E> selectList(String statement, Object parameter, RowBounds rowBounds) {
|
232 | 199 | return this.sqlSessionProxy.selectList(statement, parameter, rowBounds);
|
233 | 200 | }
|
234 | 201 |
|
235 |
| - /** |
236 |
| - * {@inheritDoc} |
237 |
| - */ |
238 | 202 | @Override
|
239 | 203 | public void select(String statement, ResultHandler handler) {
|
240 | 204 | this.sqlSessionProxy.select(statement, handler);
|
241 | 205 | }
|
242 | 206 |
|
243 |
| - /** |
244 |
| - * {@inheritDoc} |
245 |
| - */ |
246 | 207 | @Override
|
247 | 208 | public void select(String statement, Object parameter, ResultHandler handler) {
|
248 | 209 | this.sqlSessionProxy.select(statement, parameter, handler);
|
249 | 210 | }
|
250 | 211 |
|
251 |
| - /** |
252 |
| - * {@inheritDoc} |
253 |
| - */ |
254 | 212 | @Override
|
255 | 213 | public void select(String statement, Object parameter, RowBounds rowBounds, ResultHandler handler) {
|
256 | 214 | this.sqlSessionProxy.select(statement, parameter, rowBounds, handler);
|
257 | 215 | }
|
258 | 216 |
|
259 |
| - /** |
260 |
| - * {@inheritDoc} |
261 |
| - */ |
262 | 217 | @Override
|
263 | 218 | public int insert(String statement) {
|
264 | 219 | return this.sqlSessionProxy.insert(statement);
|
265 | 220 | }
|
266 | 221 |
|
267 |
| - /** |
268 |
| - * {@inheritDoc} |
269 |
| - */ |
270 | 222 | @Override
|
271 | 223 | public int insert(String statement, Object parameter) {
|
272 | 224 | return this.sqlSessionProxy.insert(statement, parameter);
|
273 | 225 | }
|
274 | 226 |
|
275 |
| - /** |
276 |
| - * {@inheritDoc} |
277 |
| - */ |
278 | 227 | @Override
|
279 | 228 | public int update(String statement) {
|
280 | 229 | return this.sqlSessionProxy.update(statement);
|
281 | 230 | }
|
282 | 231 |
|
283 |
| - /** |
284 |
| - * {@inheritDoc} |
285 |
| - */ |
286 | 232 | @Override
|
287 | 233 | public int update(String statement, Object parameter) {
|
288 | 234 | return this.sqlSessionProxy.update(statement, parameter);
|
289 | 235 | }
|
290 | 236 |
|
291 |
| - /** |
292 |
| - * {@inheritDoc} |
293 |
| - */ |
294 | 237 | @Override
|
295 | 238 | public int delete(String statement) {
|
296 | 239 | return this.sqlSessionProxy.delete(statement);
|
297 | 240 | }
|
298 | 241 |
|
299 |
| - /** |
300 |
| - * {@inheritDoc} |
301 |
| - */ |
302 | 242 | @Override
|
303 | 243 | public int delete(String statement, Object parameter) {
|
304 | 244 | return this.sqlSessionProxy.delete(statement, parameter);
|
305 | 245 | }
|
306 | 246 |
|
307 |
| - /** |
308 |
| - * {@inheritDoc} |
309 |
| - */ |
310 | 247 | @Override
|
311 | 248 | public <T> T getMapper(Class<T> type) {
|
312 | 249 | return getConfiguration().getMapper(type, this);
|
313 | 250 | }
|
314 | 251 |
|
315 |
| - /** |
316 |
| - * {@inheritDoc} |
317 |
| - */ |
318 | 252 | @Override
|
319 | 253 | public void commit() {
|
320 | 254 | throw new UnsupportedOperationException("Manual commit is not allowed over a Spring managed SqlSession");
|
321 | 255 | }
|
322 | 256 |
|
323 |
| - /** |
324 |
| - * {@inheritDoc} |
325 |
| - */ |
326 | 257 | @Override
|
327 | 258 | public void commit(boolean force) {
|
328 | 259 | throw new UnsupportedOperationException("Manual commit is not allowed over a Spring managed SqlSession");
|
329 | 260 | }
|
330 | 261 |
|
331 |
| - /** |
332 |
| - * {@inheritDoc} |
333 |
| - */ |
334 | 262 | @Override
|
335 | 263 | public void rollback() {
|
336 | 264 | throw new UnsupportedOperationException("Manual rollback is not allowed over a Spring managed SqlSession");
|
337 | 265 | }
|
338 | 266 |
|
339 |
| - /** |
340 |
| - * {@inheritDoc} |
341 |
| - */ |
342 | 267 | @Override
|
343 | 268 | public void rollback(boolean force) {
|
344 | 269 | throw new UnsupportedOperationException("Manual rollback is not allowed over a Spring managed SqlSession");
|
345 | 270 | }
|
346 | 271 |
|
347 |
| - /** |
348 |
| - * {@inheritDoc} |
349 |
| - */ |
350 | 272 | @Override
|
351 | 273 | public void close() {
|
352 | 274 | throw new UnsupportedOperationException("Manual close is not allowed over a Spring managed SqlSession");
|
353 | 275 | }
|
354 | 276 |
|
355 |
| - /** |
356 |
| - * {@inheritDoc} |
357 |
| - */ |
358 | 277 | @Override
|
359 | 278 | public void clearCache() {
|
360 | 279 | this.sqlSessionProxy.clearCache();
|
361 | 280 | }
|
362 | 281 |
|
363 |
| - /** |
364 |
| - * {@inheritDoc} |
365 |
| - */ |
366 | 282 | @Override
|
367 | 283 | public Configuration getConfiguration() {
|
368 | 284 | return this.sqlSessionFactory.getConfiguration();
|
369 | 285 | }
|
370 | 286 |
|
371 |
| - /** |
372 |
| - * {@inheritDoc} |
373 |
| - */ |
374 | 287 | @Override
|
375 | 288 | public Connection getConnection() {
|
376 | 289 | return this.sqlSessionProxy.getConnection();
|
377 | 290 | }
|
378 | 291 |
|
379 |
| - /** |
380 |
| - * {@inheritDoc} |
381 |
| - * |
382 |
| - * @since 1.0.2 |
383 |
| - */ |
384 | 292 | @Override
|
385 | 293 | public List<BatchResult> flushStatements() {
|
386 | 294 | return this.sqlSessionProxy.flushStatements();
|
|
0 commit comments