Commit 6e5d442
committed
For PooledConnection.resetForUse() remove the asserts
The resetForUse() is called "on borrow" just before the connection
is returned to the application. As such we can't do anything that
could throw any Exception here. All connection reset actions must
be performed when the connection is returned to the pool.1 parent b053076 commit 6e5d442
File tree
2 files changed
+3
-12
lines changed- ebean-datasource/src
- main/java/io/ebean/datasource/pool
- test/java/io/ebean/datasource/test
2 files changed
+3
-12
lines changedLines changed: 1 addition & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
388 | | - | |
| 388 | + | |
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | 394 | | |
404 | 395 | | |
405 | 396 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
0 commit comments