-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCHANGES.txt
51 lines (42 loc) · 1.94 KB
/
CHANGES.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
MiniConnectionPoolManager Changes
---------------------------------
2022-01-18 chdh
- getValidConnection() improved.
- When a timeout occurs and an SQLException was received from the JDBC
driver, it is now passed as a nested exception in
TimeoutException.getCause().
Thanks to Amram Vaknin for the suggestion.
- System.nanoTime() is now used instead of System.currentTimeMillis(),
because currentTimeMillis() may have leaps when the system time is
adjusted.
2016-10-13 chdh
- Extended recycleConnection() to ignore duplicate call to
ConnectionEventListener.connectionClosed(), caused by faulty JDBC
driver (SQLite JDBC Driver, Xerial-sqlite-jdbc).
2012-01-24 chdh
- Error corrected which can occur when using the MySQL JDBC driver.
The JDBC driver may call ConnectionEventListener.connectionErrorOccurred()
from within PooledConnection.getConnection().
This led to an AssertionError in disposeConnection().
Thanks to Gilles Duboscq for reporting and analyzing this error.
2011-05-26 chdh
- New directory structure (Maven compatible).
- The ConnectionEventListener is now kept registered when a PooledConnection
is put into the recycledConnections list. This enables us to get
PoolConnectionEventListener.connectionErrorOccurred() events for
inactive connections.
- New methods added:
getValidConnection()
getInactiveConnections()
2009-08-21 chdh
- ArrayDeque (which was introduced with change 2009-06-26) replaced
by LinkedList, because ArrayDeque is only available since Java 1.6 and we want
to keep MiniConnectionPoolManager compatible with Java 1.5.
2009-06-26 chdh
- Variable recycledConnections changed from Stack to Queue, so that
the unused connections are reused in a circular manner.
Thanks to Daniel Jurado for the tip.
2008-05-03 chdh
- Additional licenses added (EPL/MPL).
2007-06-21 chdh (Christian d'Heureuse)
- Constructor with a timeout parameter added.