-
Notifications
You must be signed in to change notification settings - Fork 250
Expand file tree
/
Copy pathchanges.xml
More file actions
1625 lines (1604 loc) · 103 KB
/
Copy pathchanges.xml
File metadata and controls
1625 lines (1604 loc) · 103 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!--
This file is used by the maven-changes-plugin to generate the release notes.
Useful ways of finding items to add to this file are:
1. Add items when you fix a bug or add a feature (this makes the
release process easy :-).
2. Do a bugzilla search for tickets closed since the previous release.
3. Use the report generated by the maven-changelog-plugin to see all
SVN commits. Set the project.properties' maven.changelog.range
property to the number of days since the last release.
To generate the release notes from this file:
mvn changes:announcement-generate -Prelease-notes [-Dchanges.version=nnn]
then tweak the formatting if necessary
and commit
The <action> type attribute can be add,update,fix,remove.
-->
<document xmlns="http://maven.apache.org/changes/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/changes/2.0.0 https://maven.apache.org/xsd/changes-2.0.0.xsd">
<properties>
<title>Apache Commons DBCP Release Notes</title>
</properties>
<!-- NOTE:
The description below is specially formatted so as to improve the layout of the generated release notes:
The parsing process removes all line feeds, replacing them with a single space.
The Velocity template in src/changes has been enhanced to replace pairs of adjacent spaces
with a new-line in the release notes. (These spaces are ignored when displaying HTML).
If the output is not quite correct, check for invisible trailing spaces!
The release notes template groups actions by type, and only extracts data for the current release.
The changes report outputs actions in the order they appear in this file.
To regenerate the release notes:
mvn changes:announcement-generate -Prelease-notes [-Dchanges.version=nnn]
Defining changes.version allows one to create the RN without first removing the SNAPSHOT suffix.
EvictionTimer
-->
<body>
<release version="2.14.0" date="YYYY-MM-DD" description="This is a minor release, including bug fixes and enhancements.">
<!-- FIX -->
<action type="fix" issue="DBCP-597" dev="ggregory" due-to="Xiaotian Bai, Raju Gupta, Gary Gregory">Validation query not timing out on connections managed by SharedPoolDataSource.</action>
<action type="fix" issue="DBCP-597" dev="ggregory" due-to="Gary Gregory">Validation query not timing out on connections managed by PerUserPoolDataSource.</action>
<action type="fix" issue="DBCP-597" dev="ggregory" due-to="Gary Gregory">KeyedCPDSConnectionFactory.validateObject(UserPassKey, PooledObject) ignores timeouts less than 1 second when there is no validation query.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Modernize tests to use JUnit 5 features.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Javadoc is missing its Overview page.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Deprecate org.apache.commons.dbcp2.Jdbc41Bridge.Jdbc41Bridge(), constructor will be private in the next major release.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Deprecate org.apache.commons.dbcp2.Constants.Constants(), constructor will be private in the next major release.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix Javadoc warnings on Java 17.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix Javadoc warnings on Java 21.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Remove -nouses directive from maven-bundle-plugin. OSGi package imports now state 'uses' definitions for package imports, this doesn't affect JPMS (from org.apache.commons:commons-parent:80).</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">XAException thrown by LocalXAResource now all include a message.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "isSharedConnection" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.managed.ManagedConnection] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "closed" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.cpdsadapter.PooledConnectionImpl] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "closed" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.DelegatingStatement] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "cacheState" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.DelegatingConnection] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Operation on the "fatalSqlExceptionThrown" shared variable in "PoolableConnection" class is not atomic [org.apache.commons.dbcp2.PoolableConnection] AT_NONATOMIC_OPERATIONS_ON_SHARED_VARIABLE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "clearStatementPoolOnReturn" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.PoolingConnection] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "maxTotal" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.datasources.SharedPoolDataSource] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "defaultBlockWhenExhausted" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.datasources.InstanceKeyDataSource] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "defaultLifo" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.datasources.InstanceKeyDataSource] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "defaultMaxIdle" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.datasources.InstanceKeyDataSource] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "defaultMaxTotal" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.datasources.InstanceKeyDataSource] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "defaultMinIdle" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.datasources.InstanceKeyDataSource] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "defaultNumTestsPerEvictionRun" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.datasources.InstanceKeyDataSource] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "defaultTestOnBorrow" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.datasources.InstanceKeyDataSource] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "defaultTestOnCreate" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.datasources.InstanceKeyDataSource] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "defaultTestOnReturn" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.datasources.InstanceKeyDataSource] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "defaultTestWhileIdle" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.datasources.InstanceKeyDataSource] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "defaultTransactionIsolation" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.datasources.InstanceKeyDataSource] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "rollbackAfterValidation" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.datasources.InstanceKeyDataSource] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "loginTimeout" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS] At DriverAdapterCPDS.java:[line 644] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "maxIdle" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS] At DriverAdapterCPDS.java:[line 664] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "maxPreparedStatements" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS] At DriverAdapterCPDS.java:[line 673] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "numTestsPerEvictionRun" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS] At DriverAdapterCPDS.java:[line 722] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "poolPreparedStatements" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS] At DriverAdapterCPDS.java:[line 757] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "autoCommitOnReturn" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.PoolableConnectionFactory-] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "cacheState" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.PoolableConnectionFactory] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "clearStatementPoolOnReturn" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.PoolableConnectionFactory] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "defaultTransactionIsolation" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.PoolableConnectionFactory] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "autoCommitOnReturn" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.PoolableConnectionFactory] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "fastFailValidation" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.PoolableConnectionFactory] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "maxOpenPreparedStatements" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.PoolableConnectionFactory] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "poolStatements" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.PoolableConnectionFactory] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "rollbackOnReturn" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.PoolableConnectionFactory] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "autoCommitOnReturn" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbc-p2.BasicDataSource] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "cacheState" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.BasicDataSource] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "clearStatementPoolOnReturn" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.BasicDataSource] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "autoCommitOnReturn" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.BasicDataSource] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "fastFailValidation" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.BasicDataSource] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "logExpiredConnections" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.BasicDataSource] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "registerConnectionMBean" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.BasicDataSource] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs [ERROR] Medium: Shared primitive variable "rollbackOnReturn" in one thread may not yield the value of the most recent write from another thread [org.apache.commons.dbcp2.BasicDataSource] AT_STALE_THREAD_WRITE_OF_PRIMITIVE.</action>
<action type="fix" dev="markt" due-to="Coverity Scan">Fix a potential resource leak if an SQLException occurs during an attempt to obtain an XAConnection.</action>
<action type="fix" dev="markt" due-to="Coverity Scan">Minor optimisations to the processing of the "connectionProperties" string.</action>
<!-- ADD -->
<action type="add" dev="ggregory" due-to="Gary Gregory">Add org.apache.commons.dbcp2.datasources.PooledConnectionManager.setPassword(char[]).</action>
<!-- UPDATE -->
<action type="update" dev="psteitz">Update tests and CPDSConnectionFactory#invalidate to accomodate changed behavior in the fix for POOL-424.</action>
<action type="update" dev="ggregory" due-to="Gary Gregory">Bump org.apache.commons:commons-parent from 78 to 93 #521, #537, #538.</action>
<action type="update" dev="ggregory" due-to="Gary Gregory">Bump org.apache.commons:commons-pool2 from 2.12.0 to 2.12.1 #474.</action>
<action type="update" dev="ggregory" due-to="Gary Gregory">Port site from Doxia 1 to 2.</action>
<action type="update" dev="ggregory" due-to="Gary Gregory">Bump commons-logging:commons-logging from 1.3.4 to 1.3.5.</action>
<action type="update" dev="ggregory" due-to="Gary Gregory">Bump org.slf4j:slf4j-simple from 2.0.16 to 2.0.17 #481.</action>
<action type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">Bump org.apache.commons:commons-lang3 from 3.17.0 to 3.20.0 #506.</action>
<!-- REMOVE -->
<action type="remove" dev="ggregory" due-to="Gary Gregory">Removed internal constructors and methods from the package-private class CPDSConnectionFactory; this is binary compatible.</action>
<action type="remove" dev="ggregory" due-to="Gary Gregory">Removed an internal constructor and methods from the package-private class KeyedCPDSConnectionFactory; this is binary compatible.</action>
</release>
<release version="2.13.0" date="2024-11-23" description="This is a minor release, including bug fixes and enhancements.">
<!-- FIX -->
<action type="fix" dev="ggregory" due-to="Johno Crawford">Avoid object creation when invoking isDisconnectionSqlException #422.</action>
<action type="fix" issue="DBCP-599" dev="ggregory" due-to="denixx baykin, Phil Steitz, Gary Gregory">PoolableConnectionFactory.destroyObject() method behaves incorrectly on ABANDONED connection, issue with unhandled AbstractMethodError. DelegatingConnection.abort(Executor) should delegate to Jdbc41Bridge</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">DelegatingConnection.setSchema(String) should delegate to Jdbc41Bridge.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix possible NullPointerException in PoolingConnection.close().</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">PerUserPoolDataSource.registerPool() incorrectly replacing a CPDSConnectionFactory into managers map before throwing an IllegalStateException.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix PMD UnnecessaryFullyQualifiedName in AbandonedTrace.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix PMD UnnecessaryFullyQualifiedName in PoolableCallableStatement.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix PMD UnnecessaryFullyQualifiedName in PoolablePreparedStatement.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix PMD UnnecessaryFullyQualifiedName in Utils.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix PMD UnnecessaryFullyQualifiedName in LocalXAConnectionFactory.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs MC_OVERRIDABLE_METHOD_CALL_IN_READ_OBJECT in PerUserPoolDataSource.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix SpotBugs MC_OVERRIDABLE_METHOD_CALL_IN_READ_OBJECT in SharedPoolDataSource.</action>
<!-- ADD -->
<action type="add" dev="ggregory" due-to="Johno Crawford, Gary Gregory">Add support for ignoring non-fatal SQL state codes #421.</action>
<action type="add" dev="ggregory" due-to="Johno Crawford, Gary Gregory">Add @FunctionalInterface to SwallowedExceptionListener.</action>
<action type="add" dev="ggregory" due-to="Gary Gregory">Add missing Javadoc comments and descriptions.</action>
<action type="add" dev="ggregory" due-to="Gary Gregory">Add tests, raise the bar for JaCoCo checks.</action>
<!-- UPDATE -->
<action type="update" dev="ggregory" due-to="Gary Gregory">Bump org.apache.commons:commons-parent from 66 to 78 #360, #371, #395, #420, #426, #436, #441, #449.</action>
<action type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">Bump commons-logging:commons-logging from 1.3.0 to 1.3.4 #368, #399, #423.</action>
<action type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">Bump org.apache.commons:commons-lang3 from 3.14.0 to 3.17.0 #404, #412, #427.</action>
<action type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">Bump org.hamcrest:hamcrest from 2.2 to 3.0 #410.</action>
<action type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">Bump org.slf4j:slf4j-simple from 2.0.13 to 2.0.16 #413, #418.</action>
</release>
<release version="2.12.0" date="2024-02-29" description="This is a minor release, including bug fixes and enhancements.">
<!-- FIX -->
<action type="fix" issue="DBCP-590" dev="psteitz" due-to=" Réda Housni Alaoui">BasicDataSource#setAbandonedUsageTracking has no effect.</action>
<action type="fix" issue="DBCP-596" dev="ggregory" due-to="Aapo Haapanen, Gary Gregory">PoolingConnection.toString() causes StackOverflowError.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory, Rémy Maucherat">PooledConnectionImpl.destroyObject(PStmtKey, PooledObject) can throw NullPointerException #312.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory, Rémy Maucherat">PoolingConnection.destroyObject(PStmtKey, PooledObject) can throw NullPointerException #312.</action>
<action type="fix" issue="DBCP-477" dev="ggregory" due-to="Mubasher Usman, Gary Gregory">Fix examples in src/main/java/org/apache/commons/dbcp2/package-info.java.</action>
<!-- ADD -->
<action type="add" dev="ggregory" due-to="Gary Gregory">Add property project.build.outputTimestamp for build reproducibility.</action>
<action type="add" dev="ggregory" due-to="Heewon Lee">Add null guards in DelegatingDatabaseMetaData constructor #352.</action>
<action type="add" issue="DBCP-473" dev="ggregory" due-to="Steve Cohen, Gary Gregory">Data source bean creation failed due to mismatched return type of setter and getter for connectionInitSqls in BasicDataSource: Add BasicDataSource.setConnectionInitSqls(List).</action>
<!-- UPDATE -->
<action type="update" dev="psteitz" due-to="cortlepp-intershop">Use ReentrantLock in PoolableConnection.close, #591</action>
<action type="update" dev="ggregory" due-to="Gary Gregory">Bump commons-lang3 from 3.13.0 to 3.14.0.</action>
<action type="update" dev="ggregory" due-to="Gary Gregory">Bump commons-parent from 64 to 66.</action>
<action type="update" dev="ggregory" due-to="Dependabot">Bump org.slf4j:slf4j-simple from 2.0.9 to 2.0.12 #349.</action>
</release>
<release version="2.11.0" date="2023-10-23" description="This is a minor release, including bug fixes and enhancements.">
<!-- FIX -->
<action type="update" dev="ggregory" due-to="Gary Gregory">Update call sites of deprecated APIs from Apache Commons Pool.</action>
<!-- ADD -->
<action type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">Add DataSourceMXBean.getUserName() and deprecate getUsername().</action>
<!-- UPDATE -->
<action type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">Bump h2 from 2.2.220 to 2.2.224, #308.</action>
<action type="update" dev="ggregory" due-to="Gary Gregory">Bump commons-parent from 60 to 64.</action>
<action type="update" dev="ggregory" due-to="Dependabot">Bump org.slf4j:slf4j-simple from 2.0.7 to 2.0.9 #301.</action>
<action type="update" dev="ggregory" due-to="Gary Gregory">Bump org.apache.commons:commons-pool2 from 2.11.1 to 2.12.0.</action>
<action type="update" dev="ggregory" due-to="Gary Gregory">Bump jakarta.transaction:jakarta.transaction-api from 1.3.1 to 1.3.3.</action>
<action type="update" dev="pkarwasz" due-to="Piotr P. Karwasz">Bump commons-logging:commons-logging from 1.2 to 1.3.0.</action>
</release>
<release version="2.10.0" date="2023-08-28" description="This is a minor release, including bug fixes and enhancements.">
<!-- FIX -->
<action dev="ggregory" type="fix" due-to="newnewcoder, Gary Gregory">
Fix StackOverflowError in PoolableConnection.isDisconnectionSqlException #123.
</action>
<action dev="ggregory" type="fix" due-to="Gary Gregory">
PerUserPoolDataSourceFactory.getNewInstance(Reference) parsed defaultMaxWaitMillis as an int instead of a long.
</action>
<action dev="ggregory" type="fix" due-to="Gary Gregory">
Reimplement time tracking in AbandonedTrace with an Instant instead of a long.
</action>
<action dev="ggregory" type="fix" due-to="Gary Gregory">
Migrate away from deprecated APIs in Apache Commons Pool.
</action>
<action dev="ggregory" type="fix" due-to="Gary Gregory">
Fix possible NullPointerException in BasicDataSourceFactory.validatePropertyNames().
</action>
<action dev="ggregory" type="fix" due-to="Gary Gregory">
Fix possible NullPointerException in BasicDataSourceFactory.getObjectInstance().
</action>
<action dev="ggregory" type="fix" due-to="Kurtcebe Eroglu, Gary Gregory, Phil Steitz" issue="DBCP-585">
Connection level JMX queries result in concurrent access to connection objects, causing errors #179.
</action>
<action dev="ggregory" type="fix" due-to="Gary Gregory">
UserPassKey should be Serializable.
</action>
<action dev="ggregory" type="fix" due-to="Gary Gregory">
LifetimeExceededException should extend SQLException.
</action>
<action dev="ggregory" type="fix" due-to="Gary Gregory">
Replace Exception with SQLException in some method signatures (preserves binary compatibility, not source).
</action>
<action dev="ggregory" type="fix" due-to="Gary Gregory">
Don't leak Connections when PoolableConnectionFactory.makeObject() fails to create a JMX ObjectName.
</action>
<action dev="ggregory" type="fix" due-to="SpotBugs, Gary Gregory">
Performance: No need for map lookups if we traverse map entries instead of keys.
</action>
<action dev="ggregory" type="fix" due-to="SpotBugs, Gary Gregory">
Performance: Refactor to use a static inner class in DataSourceXAConnectionFactory.
</action>
<action dev="ggregory" type="fix" due-to="SpotBugs, Gary Gregory">
Reuse pattern of throwing XAException instead of NullPointerException in LocalXAConnectionFactory.LocalXAResource.
</action>
<action dev="ggregory" type="fix" due-to="SpotBugs, Gary Gregory">
SpotBugs: An overridable method is called from constructors in PoolableCallableStatement.
</action>
<action dev="ggregory" type="fix" due-to="SpotBugs, Gary Gregory">
SpotBugs: An overridable method is called from constructors in PoolablePreparedStatement.
</action>
<action dev="ggregory" type="fix" due-to="Gary Gregory">
Wrong property name logged in ConnectionFactoryFactory.createConnectionFactory(BasicDataSource, Driver).
</action>
<action dev="ggregory" type="fix" due-to="Gary Gregory">
Throw SQLException instead of NullPointerException when the connection is already closed.
</action>
<action dev="ggregory" type="fix" due-to="Gary Gregory">
CPDSConnectionFactory.makeObject() does not need to wrap and rethrow SQLException.
</action>
<action dev="ggregory" type="fix" due-to="Gary Gregory">
PoolingDataSource.close() now always throws SQLException.
</action>
<action dev="ggregory" type="fix" due-to="step-security-bot, Gary Gregory">
[StepSecurity] ci: Harden GitHub Actions #282.
</action>
<action dev="ggregory" type="fix" due-to="Martin Wiesner">
Fixes typos, missing or misplaced characters, and grammar issues #299.
</action>
<!-- ADD -->
<action dev="ggregory" type="add" due-to="Gary Gregory">
Add and use AbandonedTrace#setLastUsed(Instant).
</action>
<action dev="ggregory" type="add" due-to="Gary Gregory">
Add and use Duration versions of now deprecated APIs that use ints and longs.
Internally track durations with Duration objects instead of ints and longs.
See the JApiCmp report for the complete list.
</action>
<action dev="ggregory" type="add" due-to="Gary Gregory">
Add PMD check to default Maven goal.
</action>
<action dev="ggregory" type="add" due-to="Gary Gregory">
Add Utils.getDisconnectionSqlCodes() and Utils.DISCONNECTION_SQL_CODES.
</action>
<action dev="ggregory" type="add" due-to="Gary Gregory">
Make BasicDataSource.getConnectionPool() public.
</action>
<action dev="ggregory" type="add" due-to="Gary Gregory">
Add github/codeql-action.
</action>
<!-- UPDATE -->
<action dev="ggregory" type="update" due-to="Dependabot, Gary Gregory">
Bump actions/cache from 2.1.6 to 3.0.8 #147, #176.
</action>
<action dev="ggregory" type="update" due-to="Dependabot, Gary Gregory">
Bump actions/checkout from 2.3.4 to 3.0.2 #139, #143, #173.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory, Dependabot">
Bump actions/setup-java from 2 to 3.6.0 #229.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Bump actions/upload-artifact from 3.1.0 to 3.1.1 #231.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Bump checkstyle from 8.44 to 9.3 #121, #130, #149, #158, #190.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Bump maven-checkstyle-plugin from 3.1.2 to 3.2.0 #210.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory, Dependabot">
Bump commons-pool2 2.10.0 to 2.11.1.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Bump junit-jupiter from 5.8.0-M1 to 5.9.1 #125, #136, #157, #203, #218.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Bump spotbugs-maven-plugin from 4.3.0 to 4.7.3.0 #140, #154, #161, #178, #192, #200, #204, #213, #234.
</action>
<action dev="ggregory" type="update" due-to="Dependabot, Gary Gregory">
Bump spotbugs from 4.3.0 to 4.7.3 #124, #133, #151, #164, #177, #189, #214, #230.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory, Dependabot">
Bump org.mockito:mockito-core from 3.11.2 to 4.11.0, #128, #138, #152, #175, #188. #193, #208, #215, #232, #235, #246, #252.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Bump maven-javadoc-plugin from 3.3.0 to 3.4.1 #131, #184.
</action>
<action dev="ggregory" type="update" due-to="Dependabot, Gary Gregory">
Bump maven-pmd-plugin from 3.14.0 to 3.19.0 #132, #172, #195.
</action>
<action dev="ggregory" type="update" due-to="Dependabot, Gary Gregory">
Bump pmd from 6.44.0 to 6.52.0.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Bump narayana-jta from 5.12.0.Final to 5.12.7.Final #134, #156, #163, #185, #197.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Bump japicmp-maven-plugin from 0.15.3 to 0.17.1 #137, #166, #174, #211, #238.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory, Dependabot">
Bump h2 from 1.4.200 to 2.2.220 #153, #183, #196, #287.
Update SQL for migration from H2 1.4.200 to 2.0.204 where "KEY" and "VALUE" are now reserved keywords.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Bump jboss-logging from 3.4.2.Final to 3.4.3.Final #162.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Bump slf4j-simple from 1.7.30 to 1.7.36 #169.
</action>
<action dev="ggregory" type="update" due-to="Dependabot, Gary Gregory">
Bump commons-parent from 52 to 60 #180, #219, #254, #278.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
Bump JaCoCo from 0.8.7 to 0.8.8.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
Bump maven-surefire-plugin 2.22.2 to 3.0.0-M7.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
Bump apache-rat-plugin 0.13 to 0.14.
</action>
<action type="update" dev="ggregory" due-to="Gary Gregory">
Bump commons-lang3 from 3.12 to 3.13.0.
</action>
</release>
<release version="2.9.0" date="2021-07-30" description="This is a minor release, including bug fixes and enhancements.">
<!-- ADD -->
<action dev="ggregory" type="add" due-to="Gary Gregory">
Add and reuse Constants.KEY_USER and Constants.KEY_PASSWORD.
</action>
<action dev="ggregory" type="add" due-to="Frank Gasdorf, Gary Gregory">
Add and reuse DataSourceMXBean.
</action>
<action dev="ggregory" type="add" due-to="Gary Gregory">
Add and reuse DriverAdapterCPDS.{get|set}DurationBetweenEvictionRuns(), deprecate {get|set}TimeBetweenEvictionRunsMillis(long).
</action>
<action dev="ggregory" type="add" due-to="Gary Gregory">
Add and reuse DriverAdapterCPDS.{get|set}MinEvictableIdleDuration(), deprecate {get|set}MinEvictableIdleTimeMillis(int).
</action>
<action dev="ggregory" type="add" due-to="Gary Gregory">
Add and reuse CPDSConnectionFactory.setMaxConnLifetime(Duration), deprecate setMaxConnLifetimeMillis(long).
</action>
<action dev="ggregory" type="add" due-to="Gary Gregory">
Add and reuse KeyedCPDSConnectionFactory.setMaxConnLifetime(Duration), deprecate setMaxConnLifetimeMillis(long).
</action>
<action dev="ggregory" type="add" due-to="Gary Gregory">
Add and reuse KeyedCPDSConnectionFactory.setMaxConnLifetime(Duration), deprecate setMaxConnLifetimeMillis(long).
</action>
<action dev="ggregory" type="add" due-to="Gary Gregory">
Add and reuse InstanceKeyDataSource.{get|set}DefaultMaxWait(Duration), deprecate {get|set}DefaultMaxWaitMillis(long).
</action>
<!-- FIXES -->
<action dev="ggregory" type="fix" issue="DBCP-569" due-to="Florent Guillaume">
Fix test random failure on TestSynchronizationOrder.testInterposedSynchronization, #84.
</action>
<action dev="ggregory" type="fix" issue="DBCP-568" due-to="Florent Guillaume">
ManagedConnection must clear its cached state after transaction completes, #75.
</action>
<action dev="ggregory" type="fix" due-to="Arturo Bernal">
Minor Improvements #78.
</action>
<action issue="DBCP-567" dev="ggregory" type="fix" due-to="Phil Steitz, Gary Gregory, Phil Steitz, Romain Manni-Bucau">
Use abort rather than close to clean up abandoned connections.
</action>
<action dev="ggregory" type="fix" due-to="Gary Gregory, DaGeRe">
Performance Enhancement: Call toArray with Zero Array Size #20.
</action>
<action issue="DBCP-562" dev="ggregory" type="fix" due-to="Frank Gasdorf, Gary Gregory">
Avoid exposing password via JMX #38.
</action>
<action issue="DBCP-575" dev="ggregory" type="fix" due-to="Arturo Bernal">
Remove redundant initializers #98.
</action>
<action issue="DBCP-577" dev="ggregory" type="fix" due-to="Arturo Bernal">
Simplify test assertions #100, #113.
</action>
<action issue="DBCP-573" dev="ggregory" type="fix" due-to="Réda Housni Alaoui, Gary Gregory">
DataSource implementations do not implement Wrapper interface correctly #93.
</action>
<action dev="ggregory" type="fix">
Replace FindBugs with SpotBugs.
</action>
<action dev="ggregory" type="fix">
DataSourceConnectionFactory.getUserPassword() may expose internal representation by returning DataSourceConnectionFactory.userPassword.
</action>
<action dev="ggregory" type="fix">
DataSourceXAConnectionFactory.getUserPassword() may expose internal representation by returning DataSourceXAConnectionFactory.userPassword.
</action>
<action dev="ggregory" type="fix">
DriverAdapterCPDS.getPasswordCharArray() may expose internal representation by returning DriverAdapterCPDS.userPassword.
</action>
<action dev="ggregory" type="fix">
new org.apache.commons.dbcp2.managed.DataSourceXAConnectionFactory(TransactionManager, XADataSource, String, char[], TransactionSynchronizationRegistry) may expose internal representation by storing an externally mutable object into DataSourceXAConnectionFactory.userPassword.
</action>
<action dev="ggregory" type="fix">
org.apache.commons.dbcp2.managed.DataSourceXAConnectionFactory.setPassword(char[]) may expose internal representation by storing an externally mutable object into DataSourceXAConnectionFactory.userPassword.
</action>
<action dev="ggregory" type="fix">
org.apache.commons.dbcp2.PStmtKey.getColumnIndexes() may expose internal representation by returning PStmtKey.columnIndexes.
</action>
<action dev="ggregory" type="fix">
org.apache.commons.dbcp2.PStmtKey.getColumnNames() may expose internal representation by returning PStmtKey.columnNames.
</action>
<action issue="DBCP-578" dev="ggregory" type="fix" due-to="Arturo Bernal">
Use Collections.synchronizedList() Instead Of Vector #101.
</action>
<action issue="DBCP-576" dev="ggregory" type="fix" due-to="Arturo Bernal">
Simplify and inline variables #99.
</action>
<action dev="ggregory" type="fix" due-to="Gary Gregory">
Update PoolKey#toString() to avoid revealing a user name is here.
</action>
<action dev="ggregory" type="fix" due-to="Gary Gregory">
Internal package private UserPassKey class stores its user name as a char[] as it already does the password.
</action>
<action issue="DBCP-579" dev="ggregory" type="fix" due-to="Shaktisinh Jhala, Gary Gregory">
Performance of DelegatingConnection.prepareStatement(String) regressed enormously in 2.8.0 compared to 1.4.
DelegatingConnection should also cache connection schema string to avoid calling the Connection#getSchema() for each key creation.
DelegatingConnection should also cache connection catalog string to avoid calling the Connection#getCatalog() for each key creation.
</action>
<action dev="ggregory" type="fix" due-to="Gary Gregory">
BasicDataSource should test for the presence of a security manager dynamically, not once on initialization.
</action>
<!-- UPDATES -->
<action dev="ggregory" type="update" due-to="Dependabot">
Bump mockito-core from 3.5.11 to 3.11.2 #66, #72, #77, #85, #91, #105, #110, #116.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Bump actions/checkout from v2.3.2 to v2.3.4 #65, #74.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Bump actions/cache from v2 to v2.1.6 #90, #108.
</action>
<action type="update" dev="ggregory" due-to="Gary Gregory">
Bump commons-pool2 from 2.8.1 to 2.9.0.
</action>
<action dev="ggregory" type="update" due-to="Dependabot, Gary Gregory">
Bump actions/setup-java from v1.4.2 to v2 #69.
</action>
<action dev="ggregory" type="update" due-to="Dependabot, Gary Gregory">
Bump japicmp-maven-plugin from 0.14.3 to 0.15.2 #71, #82.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Bump maven-pmd-plugin from 3.13.0 to 3.14.0 #76.
</action>
<action dev="ggregory" type="update" due-to="Dependabot, Gary Gregory">
Bump japicmp-maven-plugin from 0.14.4 to 0.15.3, #83.
</action>
<action dev="ggregory" type="update" due-to="John Patrick">
Bump Hamcrest 1.3 -> 2.2 #70.
</action>
<action type="update" dev="ggregory" due-to="Gary Gregory">
Bump maven-checkstyle-plugin from 3.1.1 to 3.1.2 #88.
</action>
<action type="update" dev="ggregory" due-to="Gary Gregory">
Bump junit-jupiter from 5.7.0 to 5.8.0-M1, #89, #106.
</action>
<action type="update" dev="ggregory" due-to="Dependabot">
Bump narayana-jta from 5.10.6.Final to 5.12.0.Final #103, #111.
</action>
<action type="update" dev="ggregory" due-to="Dependabot">
Bump maven-javadoc-plugin from 3.2.0 to 3.3.0 #107.
</action>
<action type="update" dev="ggregory" due-to="Gary Gregory">
Bump commons.jacoco.version 0.8.6 -> 0.8.7.
</action>
<action type="update" dev="ggregory" due-to="Dependabot">
Bump jboss-logging from 3.4.1.Final to 3.4.2.Final #109.
</action>
<action type="update" dev="ggregory" due-to="Gary Gregory">
Bump org.jboss:jboss-transaction-spi from 7.6.0.Final to 7.6.1.Final.
</action>
<action type="update" dev="ggregory" due-to="Gary Gregory">
Bump commons-pool2 from 2.9.0 to 2.10.0.
</action>
<action type="update" dev="ggregory" due-to="Gary Gregory">
Bump checkstyle to 8.44.
</action>
<action type="update" dev="ggregory" due-to="Dependabot">
Bump spotbugs from 4.2.3 to 4.3.0 #117.
</action>
<action type="update" dev="ggregory" due-to="Dependabot">
Bump spotbugs-maven-plugin from 4.2.3 to 4.3.0 #118.
</action>
</release>
<release version="2.8.0" date="2020-09-21" description="This is a minor release, including bug fixes and enhancements.">
<!-- add -->
<action dev="ggregory" type="add" issue="DBCP-564" due-to="Florent Guillaume">
Fix BasicManagedDataSource leak of connections opened after transaction is rollback-only #39.
</action>
<action dev="ggregory" type="add" issue="DBCP-566" due-to="Robert Paschek, Gary Gregory, Phil Steitz">
Add clearStatementPoolOnReturn #42.
</action>
<action dev="ggregory" type="add" issue="DBCP-559" due-to="Phil Steitz">
Add start, restart methods to BasicDataSource. #50.
</action>
<!-- fix -->
<action dev="ggregory" type="fix" issue="DBCP-555" due-to="Gary Gregory">
NPE when creating a SQLExceptionList with a null list.
</action>
<action dev="ggregory" type="fix" issue="DBCP-558" due-to="louislatreille">
Fix DelegatingConnection readOnly and autoCommit caching mechanism #35.
</action>
<action dev="markt" type="fix" due-to="Sebastian Haas">
Fix regression introduced by unreleased code clean-up #63.
</action>
<action dev="ggregory" type="update" due-to="DoiMasayuki, Alexander Norz, Gary Gregory">
Update to PR#36 - PrepareStatement and prepareCall methods are extracted #37.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
Do not display credentials in DriverAdapterCPDS.toString().
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
Do not display credentials in DelegatingConnection.toString().
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
Do not display credentials in DriverConnectionFactory.toString().
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
Do not display credentials in PoolKey.toString().
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
Do not display credentials in UserPassKey.toString().
</action>
<!-- UPDATES -->
<action dev="ggregory" type="update" issue="DBCP-650" due-to="Gary Gregory, Dependabot">
Update Apache Commons Pool from 2.7.0 to 2.8.1, #48.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
Update tests from H2 1.4.199 to 1.4.200.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory, Dependabot">
Update tests from Mockito 3.0.0 to 3.5.11 #47, #60, #64.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
Update tests from jboss-logging 3.4.0.Final to 3.4.1.Final.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
Update tests from narayana-jta 5.9.5.Final to 5.10.6.Final, #61.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
Update tests from junit-jupiter 5.5.1 to 5.7.0 #62.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
Update tests from org.slf4j:slf4j-simple 1.7.26 to 1.7.30.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
Update build from com.github.siom79.japicmp:japicmp-maven-plugin 0.13.1 to 0.14.3.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
Update build from maven-javadoc-plugin 3.1.1 to 3.2.0.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
Update build from maven-pmd-plugin 3.12.0 to 3.13.0.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
Update org.apache.commons:commons-parent from 48 to 51.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
Update jacoco-maven-plugin from 0.8.4 to 0.8.6.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
Update maven-checkstyle-plugin from 3.0.0 to 3.1.1.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Update actions/checkout from v1 to v2.3.2, #44, #51.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Update actions/setup-java from v1.4.0 to v1.4.2 #58.
</action>
</release>
<release version="2.7.0" date="2019-07-31" description="This is a minor release, including bug fixes and enhancements.">
<!-- add -->
<action dev="jleroux" type="add" issue="DBCP-539" due-to="Jacques Le Roux">
ManagedDataSource#close() should declare used exceptions.
</action>
<action dev="ggregory" type="add" issue="DBCP-547" due-to="leechoongyon, Gary Gregory">
Add a ConnectionFactory class name setting for BasicDataSource.createConnectionFactory() #33.
</action>
<action dev="ggregory" type="add" due-to="Gary Gregory">
Add missing Javadocs.
</action>
<!-- fix -->
<action dev="ggregory" type="fix" issue="DBCP-538" due-to="Ragnar Haugan, Gary Gregory">
Wrong JMX base name derived in BasicDataSource#updateJmxName.
</action>
<action dev="ggregory" type="fix" issue="DBCP-546" due-to="Sergey Chupov">
Avoid NPE when calling DriverAdapterCPDS.toString().
</action>
<action dev="ggregory" type="fix" issue="DBCP-550" due-to="Gary Gregory">
java.util.IllegalFormatException while building a message for a SQLFeatureNotSupportedException in Jdbc41Bridge.getObject(ResultSet,String,Class).
</action>
<action dev="ggregory" type="fix" due-to="LichKing-lee">
Fix Javadoc link in README.md #21.
</action>
<!-- update -->
<action dev="ggregory" type="update" issue="DBCP-540" due-to="emopers">
Close ObjectOutputStream before calling toByteArray() on underlying ByteArrayOutputStream #28.
</action>
<action dev="ggregory" type="update" issue="DBCP-541" due-to="Allon Murienik">
Upgrade to JUnit Jupiter #19.
</action>
<action dev="ggregory" type="update" issue="DBCP-542" due-to="Zheng Feng, Gary Gregory">
Fix tests on Java 11.
</action>
<action dev="ggregory" type="update" issue="DBCP-543" due-to="Gary Gregory">
Update Apache Commons Pool from 2.6.1 to 2.6.2.
</action>
<action dev="ggregory" type="update" issue="DBCP-529" due-to="Yuri">
Add 'jmxName' property to web configuration parameters listing.
</action>
<action dev="ggregory" type="update" issue="DBCP-548" due-to="Gary Gregory">
Update Apache Commons Pool from 2.6.2 to 2.7.0.
</action>
<action dev="ggregory" type="update" issue="DBCP-549" due-to="Gary Gregory">
Make org.apache.commons.dbcp2.AbandonedTrace.removeTrace(AbandonedTrace) null-safe.
</action>
<action dev="ggregory" type="update" issue="DBCP-551" due-to="Gary Gregory">
org.apache.commons.dbcp2.DelegatingStatement.close() should try to close ALL of its result sets even when an exception occurs.
</action>
<action dev="ggregory" type="update" issue="DBCP-552" due-to="Gary Gregory">
org.apache.commons.dbcp2.DelegatingConnection.passivate() should close ALL of its resources even when an exception occurs.
</action>
<action dev="ggregory" type="update" issue="DBCP-553" due-to="Gary Gregory">
org.apache.commons.dbcp2.PoolablePreparedStatement.passivate() should close ALL of its resources even when an exception occurs.
</action>
<action dev="ggregory" type="update" issue="DBCP-554" due-to="Gary Gregory">
org.apache.commons.dbcp2.PoolableCallableStatement.passivate() should close ALL of its resources even when an exception occurs.
</action>
<!-- update, no Jira -->
<action dev="ggregory" type="update" due-to="Gary Gregory">
Update tests from org.mockito:mockito-core 2.28.2 to 3.0.0.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
Update tests from H2 1.4.198 to 1.4.199.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
Update tests from com.h2database:h2 1.4.197 to 1.4.199.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
Update tests from org.jboss.narayana.jta:narayana-jta 5.9.2.Final to 5.9.5.Final.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
Update tests from org.jboss.logging:jboss-logging 3.3.2.Final to 3.4.0.Final.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
Update tests from org.mockito:mockito-core 2.24.0 to 2.28.2.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
Update tests from org.mockito:mockito-core 2.28.2 to 3.0.0.
</action>
</release>
<release version="2.6.0" date="2019-02-14" description="This is a minor release, including bug fixes and enhancements.">
<action dev="chtompki" type="add" issue="DBCP-534" due-to="Peter Wicks">
Allow for manual connection eviction.
</action>
<action dev="ggregory" type="add" issue="DBCP-514" due-to="Tom Jenkinson, Gary Gregory">
Allow DBCP to register with a TransactionSynchronizationRegistry for XA cases.
</action>
<action dev="ggregory" type="update" issue="DBCP-517" due-to="Gary Gregory">
Make defensive copies of char[] passwords.
</action>
<action dev="ggregory" type="update" issue="DBCP-515" due-to="Tom Jenkinson, Gary Gregory">
Do not try to register synchronization when the transaction is no longer active.
</action>
<action dev="ggregory" type="update" issue="DBCP-516" due-to="Tom Jenkinson, Gary Gregory">
Do not double returnObject back to the pool if there is a transaction context with a shared connection.
</action>
<action dev="ggregory" type="fix" issue="DBCP-518" due-to="Gary Gregory">
Allow DBCP to work with old Java 6/JDBC drivers without throwing AbstractMethodError.
</action>
<action dev="ggregory" type="add" issue="DBCP-519" due-to="Gary Gregory">
Add some toString() methods for debugging (never printing passwords.)
</action>
<action dev="ggregory" type="update" issue="DBCP-520" due-to="Zheng Feng">
BasicManagedDataSource needs to pass the TSR with creating DataSourceXAConnectionFactory.
</action>
<action dev="ggregory" type="add" issue="DBCP-527" due-to="Gary Gregory">
Add getters to some classes.
</action>
<action dev="ggregory" type="add" issue="DBCP-528" due-to="Gary Gregory">
org.apache.commons.dbcp2.DriverManagerConnectionFactory should use a char[] instead of a String to store passwords.
</action>
<action dev="ggregory" type="update" issue="DBCP-537" due-to="Gary Gregory">
Update Apache Commons Pool from 2.6.0 to 2.6.1.
</action>
</release>
<release version="2.5.0" date="2018-07-15" description="This is a minor release, including bug fixes and enhancements.">
<action dev="ggregory" type="update" issue="DBCP-505" due-to="Gary Gregory">
Update Java requirement from version 7 to 8.
</action>
<action dev="ggregory" type="add" issue="DBCP-506" due-to="Gary Gregory">
Support JDBC 4.2.
</action>
<action dev="ggregory" type="add" issue="DBCP-479" due-to="Guillaume Husta, Gary Gregory">
Support default schema in configuration.
</action>
<action dev="ggregory" type="update" issue="DBCP-427" due-to="Vladimir Konkov, Phil Steitz, Gary Gregory">
Examines 'SQLException's thrown by underlying connections or statements for fatal (disconnection) errors.
</action>
<action dev="ggregory" type="update" issue="DBCP-507" due-to="Vladimir Konkov, Phil Steitz, Gary Gregory">
Change default for fail-fast connections from false to true.
</action>
<action dev="ggregory" type="fix" issue="DBCP-508" due-to="Gary Gregory">
Prepared statement keys should take a Connection's schema into account.
</action>
<action dev="ggregory" type="update" issue="DBCP-504" due-to="Bruno P. Kinoshita">
Increase test coverage.
</action>
<action dev="ggregory" type="update" issue="DBCP-510" due-to="Gary Gregory">
Update Apache Commons Pool from 2.5.0 to 2.6.0.
</action>
<action dev="ggregory" type="fix" issue="DBCP-512" due-to="Gary Gregory">
Avoid exceptions when closing a connection in mutli-threaded use case.
</action>
</release>
<release version="2.4.0" date="2018-06-12" description="This is a minor release, including bug fixes and enhancements.">
<action dev="ggregory" type="fix" issue="DBCP-484" due-to="Emanuel Freitas">
Connection leak during XATransaction in high load.
</action>
<action dev="ggregory" type="update" issue="DBCP-492" due-to="Gary Gregory">
Drop Ant build.
</action>
<action dev="ggregory" type="update" issue="DBCP-491" due-to="Zheng Feng, Gary Gregory">
Ensure DBCP ConnectionListener can deal with transaction managers which invoke rollback in a separate thread.
</action>
<action dev="ggregory" type="update" issue="DBCP-494" due-to="Gary Gregory">
org.apache.commons.dbcp2.PStmtKey should make copies of given arrays in constructors.
</action>
<action dev="ggregory" type="update" issue="DBCP-495" due-to="Gary Gregory">
Remove duplicate code in org.apache.commons.dbcp2.cpdsadapter.PStmtKeyCPDS.
</action>
<action dev="ggregory" type="fix" issue="DBCP-496" due-to="Gary Gregory">
Add support for pooling CallableStatements to the org.apache.commons.dbcp2.cpdsadapter package.
</action>
<action dev="ggregory" type="update" issue="DBCP-497" due-to="Gary Gregory">
Deprecate use of PStmtKeyCPDS in favor of PStmtKey.
</action>
<action dev="ggregory" type="update" issue="DBCP-498" due-to="Gary Gregory">
org.apache.commons.dbcp2.DataSourceConnectionFactory should use a char[] instead of a String to store passwords.
</action>
<action dev="ggregory" type="update" issue="DBCP-499" due-to="Gary Gregory">
org.apache.commons.dbcp2.managed.DataSourceXAConnectionFactory should use a char[] instead of a String to store passwords.
</action>
<action dev="ggregory" type="update" issue="DBCP-500" due-to="Gary Gregory">
org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS should use a char[] instead of a String to store passwords.
</action>
<action dev="ggregory" type="update" issue="DBCP-501" due-to="Gary Gregory">
org.apache.commons.dbcp2.datasources.CPDSConnectionFactory should use a char[] instead of a String to store passwords.
</action>
<action dev="ggregory" type="update" issue="DBCP-502" due-to="Gary Gregory">
org.apache.commons.dbcp2.datasources internals should use a char[] instead of a String to store passwords.
</action>
<action dev="ggregory" type="update" issue="DBCP-503" due-to="Gary Gregory">
org.apache.commons.dbcp2.datasources.InstanceKeyDataSourceFactory.closeAll() does not close all.
</action>
</release>
<release version="2.3.0" date="2018-05-12" description="This is a minor release, including bug fixes and enhancements.">
<action dev="pschumacher" type="fix" issue="DBCP-476" due-to="Gary Evesson, Richard Cordova">
AbandonedTrace.getTrace() contains race condition.
</action>
<action dev="ggregory" type="fix" issue="DBCP-482" due-to="Dennis Lloyd, Gary Gregory">
Avoid javax.management.InstanceNotFoundException on shutdown when a bean is not registered. Closes #9.
</action>
<action dev="ggregory" type="update" issue="DBCP-483" due-to="Gary Gregory">
Make constant public: org.apache.commons.dbcp2.PoolingDriver.URL_PREFIX.
</action>
<action dev="ggregory" type="update" issue="DBCP-486" due-to="Gary Gregory">
DriverAdapterCPDS.setUser(), setPassword(), and getPooledConnection() with null arguments throw NullPointerExceptions when connection properties are set.
</action>
<action dev="ggregory" type="update" issue="DBCP-487" due-to="Gary Gregory">
Add API org.apache.commons.dbcp2.datasources.PerUserPoolDataSource.clear().
</action>
<action dev="ggregory" type="update" issue="DBCP-488" due-to="Gary Gregory">
NPE for org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS.setConnectionProperties(null).
</action>
<action dev="ggregory" type="update" issue="DBCP-490" due-to="Gary Gregory">
The method org.apache.commons.dbcp2.PoolingDriver.getConnectionPool(String) does not tell you which pool name is not registered when it throws an exception.
</action>
</release>
<release version="2.2.0" date="2017-12-27" description="This is a minor release, including bug fixes and enhancements.">
<action dev="ggregory" type="fix" issue="DBCP-481" due-to="Gary Gregory">
Update Apache Commons Pool from 2.4.2 to 2.5.0.
</action>
<action dev="mattsicker" type="fix" issue="DBCP-454" due-to="Philipp Marx, Matt Sicker">
OSGi declarations contain multiple import headers for javax.transaction.
</action>
<action dev="ggregory" type="fix" issue="DBCP-478" due-to="nicola mele">
Wrong parameter name in site documentation for BasicDataSource Configuration Parameters.
</action>
<action dev="psteitz" type="fix" issue="DBCP-452">
Add jmxName to properties set by BasicDataSourceFactory. This
enables container-managed pools created from JNDI Resource
definitions to enable JMX by supplying a valid root JMX name.
</action>
<action dev="ggregory" type="fix" issue="DBCP-446" due-to="Gary Gregory, feng yang, Euclides M, Phil Steitz">
NullPointerException thrown when calling ManagedConnection.isClosed().
</action>
<action dev="psteitz" type="fix" issue="DBCP-444">
InvalidateConnection can result in closed connection returned by getConnection.
</action>
<action dev="ggregory" type="fix" issue="DBCP-449" due-to="Grzegorz D.">
Complete the fix for DBCP-418, enabling PoolableConnection class to load in environments
(such as GAE) where the JMX ManagementFactory is not available.
</action>
<action dev="ggregory" type="add" issue="DBCP-451">
Add constructor DriverManagerConnectionFactory(String).
</action>
<action dev="markt" type="fix" issue="DBCP-455" due-to="Kyohei Nakamura">
Ensure that the cacheState setting is used when statement pooling is
disabled.
</action>
<action dev="markt" type="fix" issue="DBCP-453" due-to="Philipp Marx">
Ensure that setSoftMinEvictableIdleTimeMillis is used when working with
BasicDataSource.
</action>
<action dev="markt" type="fix" issue="DBCP-456" due-to="Kyohei Nakamura">
Correct the name of the configuration attribute
softMinEvictableIdleTimeMillis.
</action>
<action dev="markt" type="fix" issue="DBCP-472">
Avoid potential infinite loops when checking if an SQLException is fatal
for a connection or not.
</action>
<action dev="markt" type="fix" issue="DBCP-468">
Expand the fail-fast for fatal connection errors feature to include
managed connections.
</action>
<action dev="markt" type="fix" issue="DBCP-463">
Correct a typo in the method name
PoolableConnectionFactory#setMaxOpenPreparedStatements. The old method
remains but is deprecated so not to break clients currently using the
incorrect name.
</action>
<action dev="markt" type="add" issue="DBCP-462" due-to="Keiichi Fujino">
Refactoring to prepare for a future patch to enable pooling of all
prepared and callable statements in PoolingConnection.
</action>
<action dev="markt" type="fix" issue="DBCP-459">
Ensure that a thread's interrupt status is visible to the caller if the
thread is interrupted during a call to
PoolingDataSource.getConnection().
</action>
<action dev="markt" type="add" issue="DBCP-458" due-to="Adrian Tarau">
Make it simpler to extend BasicDataSource to allow sub-classes to
provide custom GenericObjectPool implementations.
</action>
<action dev="markt" type="fix" issue="DBCP-457">
When using a BasicDataSource, pass changes related to the handling of
abandoned connections to the underlying pool so that the pool
configuration may be updated dynamically.
</action>
<action dev="markt" type="add" issue="DBCP-474" due-to="Keiichi Fujino">
Enable pooling of all prepared and callable statements
inPoolingConnection.
</action>
</release>
<release version="2.1.1" date="6 Aug 2015" description=
"This is a patch release, including bug fixes only.">
<action dev="psteitz" type="update">
Updated pool version to 2.4.2. The fix for POOL-300 may cause DBCP
users to see more reports of abandoned connections (if removal and logging
are configured). Prior to the fix for POOL-300, the PrintWriter used to log
abandoned connection stack traces was not being flushed on each log event.
</action>
<action issue="DBCP-441" dev="psteitz" type="fix">
Added BasicDataSource abandonedUsageTracking property missing from BasicDataSourceFactory.
</action>
<action issue="DBCP-442" dev="psteitz" type="fix">
SharedPoolDataSource getConnection fails when testOnBorrow is set with
a null validation query.
</action>
<action issue="DBCP-438" dev="psteitz" type="fix" due-to="Raihan Kibria">
Nested connections in a transaction (local) throws null pointer.
</action>
<action issue="DBCP-437" dev="psteitz" type="fix">
BasicDataSource does not set disconnectionSql properties on its PoolableConnectionFactory.
</action>
</release>
<release version="2.1" date="23 Feb 2015" description=
"This is minor release, including bug fixes and enhancements. Note that
one of the enhancements (DBCP-423) is to implement AutoCloseable in
BasicDataSource, PoolingDataSource and the InstanceKeyDataSource
implementations.
">
<action issue="DBCP-420" dev="sebb" type="fix">
InstanceKeyDataSource discards native SQLException when given password does not match
password used to create the connection.
</action>
<action issue="DBCP-422" dev="ggregory" type="update">
Update Apache Commons Logging to 1.2 from 1.1.3.
</action>
<action dev="markt" type="fix">
Correct some Javadoc references to Apache Commons Pool 2 classes that
have changed names since Pool 1.x.
</action>
<action dev="markt" type="fix">
Do not ignore the configured custom eviction policy when creating a
BasicDataSource.
</action>
<action dev="psteitz" type="add" issue="DBCP-426" due-to="Kasper Sørensen">
Added invalidateConnection method to BasicDataSource.
</action>
<action issue="DBCP-428" dev="psteitz" type="fix" due-to="Vladimir Konkov">
Unsuccessful Connection enlistment in XA Transaction ignored by TransactionContext.
</action>
<action issue="DBCP-424" dev="psteitz" type="update">
Made expired connection logging configurable in BasicDataSource. Setting
logExpiredConnections to false suppresses expired connection log messages.
</action>
<action issue="DBCP-423" dev="psteitz" type="update">
Made Datasources implement AutoCloseable.
</action>
<action issue="DBCP-427" dev="psteitz" type="add" due-to="Vladimir Konkov">
Added fastFailValidation property to PoolableConnection, configurable in
BasicDataSource. When set to true, connections that have previously thrown
fatal disconnection errors will fail validation immediately (no driver calls).
</action>
<action issue="DBCP-432" dev="psteitz" type="fix">
Changed BasicDataSource createDataSource method to ensure that initialization
completes before clients get reference to newly created instances.
</action>
<action issue="DBCP-433" dev="psteitz" type="fix" due-to="Vladimir Konkov">
Fixed connection leak when SQLException is thrown while enlisting an XA
transaction.
</action>
<action issue="DBCP-434" dev="psteitz" type="fix">
Setting jmxName to null should suppress JMX registration of connection
and statement pools.
</action>
<action dev="psteitz" type="update">
Eliminated synchronization in BasicDataSource getNumActive, getNumIdle methods.
</action>
<action issue="DBCP-435" type="update" due-to="Denixx Baykin">
Added property name verification to BasicDataSourceFactory. References including
obsolete or unrecognized properties now generate log messages.
</action>
</release>
<release version="2.0.1" date="24 May 2014" description="This is a bug fix release.">
<action dev="markt" type="fix">
Small performance improvements when returning connections to the pool.
</action>
<action issue="DBCP-414" dev="markt" type="fix" due-to="Pasi Eronen">
Fixed DelegatingStatement close to ensure closed statements do not retain references
to pooled prepared statements. Due to finalization code added in 2.0, this was causing
pooled prepared statements to be closed by GC while in use by clients.
</action>
<action issue="DBCP-412" dev="psteitz" type="update">
Added check in PoolingDataSource constructor to ensure that the connection factory
and pool are properly linked.
</action>
<action issue="DBCP-417" dev="psteitz" type="fix">
Fixed connection leak when managed connections are closed during transactions.
</action>
<action issue="DBCP-418" dev="psteitz" type="fix">
Enable PoolableConnection class to load without JMX.
</action>
</release>
<release version="2.0" date="3 March 2014" description=
"This release includes new features as well as bug fixes and enhancements.
Version 2.0.x supports JDBC 4.1, so requires Java 7.
The Java package name has been changed from 'org.apache.commons.dbcp' to 'org.apache.commons.dbcp2'.
Also the Maven groupId is now 'org.apache.commons' and the artifactId is 'commons-dbcp2'
These changes are necessary because the API is not strictly binary compatible with the 1.x releases.
To convert from the earlier releases, update the package name in imports, update the dependencies and recompile.
There may be a few other changes to be made.
Applications running under Java 7 should use DBCP 2.0.x.
Java 6 users should use DBCP 1.4.x which supports JDBC 4.
Java 1.4 and Java 5 users should use DBCP 1.3.x which supports JDBC 3.