-
Notifications
You must be signed in to change notification settings - Fork 590
/
CHANGES
6303 lines (4198 loc) · 274 KB
/
CHANGES
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
# Changelog
# https://dev.mysql.com/doc/relnotes/connector-j/8.0/en/
Version 8.0.33
- Fix for Bug#34558945, PS using setCharacterStream() fails with "Incorrect string value" if the Java program encoding is not UTF-8 after 8.0.29.
- Fix for Bug#109013 (Bug#34772608), useServerPrepStmts and useLocalTransactionState could cause rollback failure.
- Fix for bug Bug#108643 (Bug#34652568), Commit statement not effect when two params turns on.
- Fix for Bug#34918989, Pluggable classes are initialized even when they cannot be used by Connector/J.
- Fix for Bug#93415 (Bug#28992710), Documentation for getDefaultSchema() Needs Improvements.
- Fix for Bug#110168 (Bug#35110706), yum update fails upgrading Connector/J package.
- Fix for Bug#35018216, Problems with Connector/J RPM's: jar names renamed.
- Fix for Bug#107577 (Bug#34325361), rewriteBatchedStatements not work when table column name contains 'value' string.
- Fix for Bug#109377 (Bug#34900156), rewriteBatchedStatements doesn't work when parenthesis are found in values.
- Fix for Bug#109808 (Bug#35021038), DatabaseMetaData#getPrimaryKeys should ordered by COLUMN_NAME.
- Fix for Bug#109864 (Bug#35034666), Connector/J 8.0.32 hangs on MySQL 5.5 with prepared statements.
- Fix for Bug#109807 (Bug#35021014), DatabaseMetaData#getTypeInfo should ordered by DATA_TYPE.
- Fix for Bug#77368 (Bug#21321849), "LOAD DATA LOCAL INFILE" doesn't work properly with relative paths.
- Fix for Bug#109243 (Bug#34852047), Judge whether the returned result set of the sql statement is incorrect.
- WL#15490, Support OCI ephemeral key based authentication.
Version 8.0.32
- Fix for Bug#104954 (Bug#33361205), MysqlDataSource fails to URL encode database name when constructing JDBC URL.
Thanks to Jared Lundell for his contribution.
- Fix for Bug#102520 (Bug#32476663), serverSideStatementCache ignores resultSetType.
- Fix for Bug#68608 (Bug#16690898), UpdatableResultSet does not properly handle unsigned primary key.
- Fix for Bug#102678 (Bug#32536384), Connector/J 8 query with explain can not return ResultRow.
- Fix for Bug#99604 (Bug#31612628), Add support to row alias on INSERT... ON DUPLICATE KEY UPDATE on batch mode.
- Fix for Bug#105449 (Bug#33563505), connectionCollation ignored if characterEncoding is set.
- Fix for Bug#108195 (Bug#34512212), Connector/J rejects UNION with CTE.
- WL#15468, Upgrade 3rd party libraries and tools.
- WL#15411, Upgrade Protocol Buffers dependency to protobuf-java-3.21.9.
- Fix for Bug#108414 (Bug#34578541), Malformed packet generation for `COM_STMT_EXECUTE`.
Thanks to Seongman Yang for his contribution.
- Fix for Bug#106252 (Bug#33968169), Connector/J client hangs after prepare & execute process with old version server.
Thanks to Zhe Huang for his contribution.
- Fix for Bug#34725725, RPM and DEB builds broken after introducing javadoc for maven bundles.
- Fix for Bug#108814 (Bug#34717205), Contribution: Fix name of relocation POM file.
Thanks to Henning Pöttker for his contribution.
- WL#15437, Sonatype compliant POM and maven bundles.
- Fix for Bug#106981 (Bug#34059340), Contribution: [PATCH] Remove superfluous use of boxing.
Thanks to Andrey Turbanov for his contribution.
- Fix for Bug#108419 (Bug#34578010), Contribution: Recognize "ON DUPLICATE KEY UPDATE" in "INSERT SET" Statement.
Thanks to Yamasaki Tadashi for his contribution.
Version 8.0.31
- Fix for Bug#33637993, Loss of backslashes in data after modify api is used.
- Fix for Bug#34529014, JSonParser not accepting valid JSON string when converting to DbDoc.
- Fix for Bug#67828 (Bug#15967406), Crashing applets due to reading file.encoding system property.
- WL#15259, Review maven publishing process.
- Fix for Bug#107222 (Bug#34150112), ClientPreparedStatement.toString() no longer interpolates byte arrays.
- Fix for Bug#104753 (Bug#33286177), PreparedStatement.setFetchSize(0) causes ArrayIndexOutOfBoundsException.
Version 8.0.30
- Fix for Bug#107510 (Bug#34259416), Empty string given to set() from Collection.modify() replaces full document.
- Fix for Bug#106758 (33973048), DatabaseMetaData.getTypeInfo returns AUTO_INCREMENT = false for all datatypes.
- Fix for Bug#34090350, Update mappings for utf8mb3 and utf8mb4 collations.
- Fix for Bug#106880 (34022110), Outdated description in connection property 'rewriteBatchedStatements'.
- Fix for Bug#34082503, CONTRIBUTING.md contains broken links.
- Fix for Bug#106779 (33976245), Contribution: Fix typo in PropertyDefinitions.
Thanks to Weijie Wu for his contribution.
- Fix for Bug#76623 (20856749), JDBC driver misinterprets "--" as a comment, instead of "-- ".
Version 8.0.29
- Fix for Bug#21978230, COMMENT PARSING NOT PROPER IN PREPSTMT.EXECUTEBATCH().
- Fix for Bug#81468 (23312764), MySQL server fails to rewrite batch insert when column name contains word select.
- Fix for Bug#106435 (33850099), 8.0.28 Connector/J has regressive in setAutoCommit after Bug#104067 (33054827).
- Fix for Bug#106240 (33781440), StringIndexOutOfBoundsException when VALUE is at the end of the query.
- Fix for Bug#106397 (33893591), Contribution: fix: fix LocalizedErrorMessages.properties doc: less then -> ...
Thanks to Jianjian Song for his contribution.
- Fix for Bug#77924 (25710160), JDBC SOCKS SHOULD NOT PERFORM LOCAL DNS RESOLUTION.
- Fix for Bug#82084 (23743938), YEAR DATA TYPE RETURNS INCORRECT VALUE FOR JDBC GETCOLUMNTYPE().
- Fix for Bug#106441 (33850155), Add charset mapping for utf8mb3.
- WL#15048, Upgrade Protocol Buffers dependency to protobuf-java-3.19.4.
- Fix for Bug#106065 (33726184) Contribution: BigDecimal.toPlainString no need to check decimal exponent.
Thanks to Baoyi Chen for his contribution.
- Fix for Bug#106171 (33757217), Contribution: Remove unnecessary boxing in ResultSetImpl.
Thanks to Ningpp Ning for his contribution.
- Fix for Bug#25701740, STMT EXECUTION FAILS FOR REPLICATION CONNECTION WHEN USECURSORFETCH=TRUE.
- Fix for Bug#33723611, getDefaultTransactionIsolation must return repeatable read.
- Fix for Bug#38954 (11749415), DATA TRUNCATION WHILE USING BIT(1) IN STORED PROCEDURE WITH INOUT TYPE.
- Fix for Bug#85317 (25672958), EXECUTE BATCH WILL THROW NULL POINTER EXCEPTION WHERE THE COLUMN IS BLOB!
- Fix for Bug#105915 (33678490), Connector/J 8 server prepared statement precision loss in execute batch.
- Fix for Bug#104349 (33563548), com.mysql.cj NPE.
- Fix for Bug#62006 (16714956), JAVA.IO.NOTSERIALIZABLEEXCEPTION: JAVA.IO.STRINGREADER WHEN PROFILESQL=TRUE.
- WL#14750, Better unification of query bindings.
- WL#14834, Support for FIDO authentication.
- WL#14835, Align TLS option checking across connectors.
Version 8.0.28
- Fix for Bug#99260 (31189960), statement.setQueryTimeout,creates a database connection and does not close.
- Fix for Bug#103324 (32770013), X DevAPI Collection.replaceOne() missing matching _id check.
- Fix for Bug#105197 (33461744), Statement.executeQuery() may return non-navigable ResultSet.
- Fix for Bug#105323 (33507321), README.md contains broken links.
- Fix for Bug#96900 (30355150), STATEMENT.CANCEL()CREATE A DATABASE CONNECTION BUT DOES NOT CLOSE THE CONNECTION.
- Fix for Bug#104067 (33054827), No reset autoCommit after unknown issue occurs.
Thanks to Tingyu Wei for his contribution.
- Fix for Bug#85223 (25656020), MYSQLSQLXML SETSTRING CRASH.
- Fix for Bug#84365 (33425867), INSERT..VALUE with VALUES function lead to a StringIndexOutOfBoundsException.
- Fix for Bug#105211 (33468860), class java.time.LocalDate cannot be cast to class java.sql.Date.
- Fix for Bug#101389 (32089018), GETWARNINGS SHOULD CHECK WARNING COUNT BEFORE SENDING SHOW.
- Fix for Bug#33488091, Remove all references to xdevapi.useAsyncProtocol from properties and code.
- WL#14805, Remove support for TLS 1.0 and 1.1.
- WL#14650, Support for MFA (multi factor authentication) authentication.
Version 8.0.27
- Fix for Bug#103612 (32902019), Incorrectly identified WITH...SELECT as unsafe for read-only connections.
- Fix for Bug#71929 (18346501), Prefixing query with double comments cancels query DML validation.
- Fix for Bug#23204652, CURSOR POSITIONING API'S DOESNOT CHECK THE VALIDITY OF RESULTSET.
- Fix for Bug#28725534, MULTI HOST CONNECTION WOULD BLOCK IN CONNECTION POOLING.
- Fix for Bug#95139 (29807572), CACHESERVERCONFIGURATION APPEARS TO THWART CHARSET DETECTION.
- Fix for Bug#104641 (33237255), DatabaseMetaData.getImportedKeys can return duplicated foreign keys.
- Fix for Bug#33185116, Have method ResultSet.getBoolean() supporting conversion of 'T' and 'F' in a VARCHAR to True/False (boolean).
- Fix for Bug#31117686, PROTOCOL ALLOWLIST NOT COMPATIBLE WITH IBM JAVA.
- Fix for Bug#104559 (33232419), ResultSet.getObject(i, java.util.Date.class) throws NPE when the value is null.
- WL#14707, Support OCI IAM authentication.
- WL#14660, Testsuite with support for single MySQL server instance.
- Fix for Bug#103878 (32954449), CONNECTOR/J 8 : QUERY WITH 'SHOW XXX' WILL GET EXCEPTION WHEN USE CURSOR.
- Fix for Bug#103796 (32922715), CONNECTOR/J 8 STMT SETQUERYTIMEOUT CAN NOT WORK.
Thanks to Hong Wang for his contribution.
- Fix for Bug#104170 (33064455), CONTRIBUTION: CLIENTPREPAREDSTMT: LEAVE CALENDAR UNTOUCHED.
Thanks to Björn Michael for his contribution.
- Fix for Bug#95564 (29894324), createDatabaseIfNotExist is not working for databases with hyphen in name.
Thanks to Lukasz Sanek for his contribution.
Version 8.0.26
- Fix for Bug#32954396, EXECUTEQUERY HANGS WITH USECURSORFETCH=TRUE & SETFETCHSIZE.
- Fix for Bug#102372 (32459408), v8.0.23 unusable in OSGi.
- Fix for Bug#25554464, CONNECT FAILS WITH NPE WHEN THE SERVER STARTED WITH CUSTOM COLLATION.
- Fix for Bug#100606 (31818423), UNECESARY CALL TO "SET NAMES 'UTF8' COLLATE 'UTF8_GENERAL_CI'".
Thanks to Marc Fletcher for his contribution.
- Fix for Bug#102404 (32435618), CONTRIBUTION: ADD TRACK SESSION STATE CHANGE.
Thanks to William Lee for his contribution.
- Fix for Bug#95280 (29757140), DATABASEMETADATA.GETIMPORTEDKEYS RETURNS DOUBLE THE ROWS.
Thanks to Miron Balcerzak for his contribution.
- Fix for Bug#97269 (30438500), POSSIBLE BUG IN COM.MYSQL.CJ.XDEVAPI.STREAMINGDOCRESULTBUILDER.
- Fix for Bug#103303 (32766143), JAVA.LANG.CLASSCASTEXCEPTION WHEN INSERTING BLOB WITH SERVER PREPARED STATEMENT.
- WL#14205, Support query attributes.
- WL#14411, Support for authentication_kerberos_client authentication plugin.
- WL#14559, Deprecate TLS 1.0 and 1.1.
- WL#14391, Migrate QA tests to main repo.
Version 8.0.25
- This release contains no functional changes and is published to align the version number with the MySQL Server 8.0.25 release.
Version 8.0.24
- Fix for Bug#102188 (32526663), AccessControlException with AuthenticationLdapSaslClientPlugin.
- Fix for Bug#22508715, SETSESSIONMAXROWS() CALL ON CLOSED CONNECTION RESULTS IN NPE.
- Fix for Bug#102131 (32338451), UPDATABLERESULTSET NPE WHEN USING DERIVED QUERIES OR VIEWS.
- Fix for Bug#101596 (32151143), GET THE 'HOST' PROPERTY ERROR AFTER CALLING TRANSFORMPROPERTIES() METHOD.
- Fix for Bug#20391832, SETOBJECT() FOR TYPES.TIME RESULTS IN EXCEPTION WHEN VALUE HAS FRACTIONAL PART.
- Fix for Bug#97730 (31699993), xdev api: ConcurrentModificationException at Session.close.
- Fix for Bug#99708 (31510398), mysql-connector-java 8.0.20 ASSERTION FAILED: Unknown message type: 57 s.close.
- Fix for Bug#32122553, EXTRA BYTE IN COM_STMT_EXECUTE.
- Fix for Bug#101558 (32141210), NULLPOINTEREXCEPTION WHEN EXECUTING INVALID QUERY WITH USEUSAGEADVISOR ENABLED.
- Fix for Bug#102076 (32329915), CONTRIBUTION: MYSQL JDBC DRIVER RESULTSET.GETLONG() THROWS NUMBEROUTOFRANGE.
- Fix for Bug#31747910, BUG 30474158 FIX IMPROVES JDBC COMPLIANCE BUT CHANGES DEFAULT RESULTSETTYPE HANDLING.
- Fix for Bug#102321 (32405590), CALLING RESULTSETMETADATA.GETCOLUMNCLASSNAME RETURNS WRONG VALUE FOR DATETIME.
- WL#14453, Pluggable authentication: new default behavior & user-less authentications.
- WL#14392, Improve timeout error messages [classic].
- WL#14202, XProtocol: Support connection close notification.
Version 8.0.23
- Fix for Bug#21789378, FORCED TO SET SERVER TIMEZONE IN CONNECT STRING.
- Fix for Bug#95644 (30573281), JDBC GETDATE/GETTIME/GETTIMESTAMP INTERFACE BEHAVIOR CHANGE AFTER UPGRADE 8.0.
- Fix for Bug#94457 (29402209), CONNECTOR/J RESULTSET.GETOBJECT( ..., OFFSETDATETIME.CLASS ) THROWS.
- Fix for Bug#76775 (20959249), FRACTIONAL SECONDS IN TIME VALUES ARE NOT AVAILABLE VIA JDBC.
- Fix for Bug#99013 (31074051), AN EXTRA HOUR GETS ADDED TO THE TIMESTAMP WHEN SUBTRACTING INTERVAL 'N' DAYS.
- Fix for Bug#98695 (30962953), EXECUTION OF "LOAD DATA LOCAL INFILE" COMMAND THROUGH JDBC FOR DATETIME COLUMN.
- Fix for Bug#101413 (32099505), JAVA.TIME.LOCALDATETIME CANNOT BE CAST TO JAVA.SQL.TIMESTAMP.
- Fix for Bug#101242 (32046007), CANNOT USE BYTEARRAYINPUTSTREAM AS ARGUMENTS IN PREPARED STATEMENTS ANYMORE.
Thanks to Martynas Puronas for his contribution.
- WL#14274, Support for authentication_ldap_sasl_client(SCRAM-SHA-256) authentication plugin.
- WL#14206, Support for authentication_ldap_sasl_client(GSSAPI) authentication plugin.
- WL#14207, Replace language in APIs and source code/docs.
Version 8.0.22
- Fix for Bug#98667 (31711961), "All pipe instances are busy" exception on multiple connections to named Pipe.
- Fix for Bug#96309 (31699357), MultiHost in loadbalance may lead to a TPS reduction during a quick switch.
- Fix for Bug#99076 (31083755), Unclear exception/error when connecting with jdbc:mysql to a mysqlx port.
- Fix for Bug#96870 (30304764), Contribution: Allow to disable AbandonedConnectionCleanupThread completely.
Thanks to Andrey Turbanov for his contribution.
- WL#14115, Support for authentication_ldap_sasl_client(SCRAM-SHA-1) authentication plugin.
- WL#14096, Add option to specify LOAD DATA LOCAL allow list folder.
- WL#13780, Skip system-wide trust and key stores (incl. X DevAPI client certs).
- WL#14017, XProtocol -- support for configurable compression algorithms.
- Fix for Bug#92903 (28834903), MySQL Connector/j should support wildcard names or alternative names.
- Fix for Bug#99767 (31443178), Contribution: Check SubjectAlternativeName for TLS instead of commonName.
Thanks to Daniël van Eeden for his contribution.
- Fix for Bug#93444 (29015453), LOCALDATETIME PARAMETER VALUES ALTERED WHEN CLIENT AND SERVER TIMEZONES DIFFER.
Thanks to Iwao Abe for his contribution.
- WL#14052, Remove asynchronous variant of X Protocol.
- Fix for Bug#99713 (31418928), NPE DURING COM.MYSQL.CJ.SERVERPREPAREDQUERYBINDVALUE.STOREDATE().
- WL#14068, Remove legacy integration with JBoss.
Version 8.0.21
- WL#14051, Upgrade Protocol Buffers dependency to protobuf-java-3.11.4.
- WL#14042, Upgrade testsuite to JUnit 5.
- Fix for Bug#98237 (30911870), PREPAREDSTATEMENT.SETOBJECT(I, "FALSE", TYPES.BOOLEAN) ALWAYS SETS TRUE OR 1.
- WL#13008, DevAPI: Add schema validation to create collection.
Version 8.0.20
- Fix for Bug#30805426, IN CASE OF ISAUTHMETHODSWITCHREQUESTPACKET , TOSERVERS > 1 ARE IGNORED.
- Fix for Bug#97714 (30570249), Contribution: Expose elapsed time for query interceptor to avoid hacky thread local implementations.
Thanks to Matti Sillanpää and Johnathan Crawford for their contribution.
- Fix for Bug#97724 (30570721), Contribution: Allow \'3.\' formatted numbers.
Thanks to Nick Pollett for his contribution.
- Fix for Bug#98536 (30877755), SIMPLEDATEFORMAT COULD CACHE A WRONG CALENDAR.
- Fix for Bug#91112 (28125069), AGAIN WRONG JAVA.SQL.DATE.
- Fix for Bug#30474158, CONNECTOR/J 8 DOES NOT HONOR THE REQUESTED RESULTSETTYPE SCROLL_INSENSITIVE ETC.
- Fix for Bug#98445 (30832513), Connection option clientInfoProvider=ClientInfoProviderSP causes NPE.
- WL#12248, DevAPI: Connection compression.
- Fix for Bug#30636056, ResultSetUtil.resultSetToMap() can be unsafe to use.
- Fix for Bug#97757 (30584907), NULLPOINTEREXCEPTION WITH CACHERESULTSETMETADATA=TRUE AND EXECUTEQUERY OF "SET".
Version 8.0.19
- WL#13346, Support for mult-host and failover.
- Fix for Bug#97413 (30477722), DATABASEMETADATA IS BROKEN AFTER SERVER WL#13528.
- WL#13367, DNS SRV support.
- WL#12736, DevAPI: Specify TLS ciphers to be used by a client or session.
- Fix for regression tests broken by Bug#97079 fix.
- Fix for Bug#96383 (30119545) RS.GETTIMESTAMP() HAS DIFFERENT RESULTS FOR TIME FIELDS WITH USECURSORFETCH=TRUE.
- Fix for Bug#96059 (29999318), ERROR STREAMING MULTI RESULTSETS WITH MYSQL-CONNECTOR-JAVA 8.0.X.
- Fix for Bug#96442 (30151808), INCORRECT DATE ERROR WHEN CALLING GETMETADATA ON PREPARED STATEMENT.
Version 8.0.18
- WL#13347, Connectors should handle expired password sandbox without SET operations.
- Fix for Bug#84098 (25223123), endless loop in LoadBalancedAutoCommitInterceptor.
- Fix for Bug#23721537, MULTI-SELECT WITH EXECUTEASYNC() GIVES IMPROPER ERROR.
- Fix for Bug#95741 (29898567), METADATA QUERY USES UPPER() AROUND NUMERIC EXPRESSION.
- Fix for Bug#20913289, PSTMT.EXECUTEUPDATE() FAILS WHEN SQL MODE IS NO_BACKSLASH_ESCAPES.
- Fix for Bug#80441 (22850444), SYNTAX ERROR ON RESULTSET.UPDATEROW() WITH SQL_MODE NO_BACKSLASH_ESCAPES.
Version 8.0.17
- WL#13210, Generate Javadocs via ant.
- WL#12247, DevAPI: indexing array fields.
- WL#12726, DevAPI: Add overlaps and not_overlaps as operator.
- Fix for Bug#95503 (29821029), Operator IN not mapping consistently to the right X Plugin operation.
- WL#12942, Update README.md and add new CONTRIBUTING.md.
- WL#13125, Support fully qualified hostnames longer than 60 characters.
- Fix for Bug#95210 (29807741), ClassCastException in BlobFromLocator when connecting as jdbc:mysql:replication.
- Fix for Bug#29591275, THE JAR FILE NEEDS TO CONTAIN A README AND LICENSE FILE.
- WL#13124, Support new utf8mb4 bin collation.
- WL#13009, DevAPI: Deprecate methods.
- WL#11101, Remove de-cache and close of SSPSs on double call to close().
- Fix for Bug#89133 (27356869) CONTRIBUTION: UPDATE DATABASEMETADATA.JAVA.
Thanks to Harald Aamot for his contribution.
- Fix for Bug#11891000, DABATASEMETADATA.GETTABLES() IGNORES THE SCHEMA_PATTERN ARGUMENT.
- Fix for Bug#94101 (29277648), SETTING LOGSLOWQUERIES SHOULD NOT AUTOMATICALLY ENABLE PROFILESQL FOR QUERIES.
Thanks to Florian Agsteiner for the contribution.
- Fix for Bug#74690 (20010454), PROFILEREVENT HOSTNAME HAS NO GETTER().
- Fix for Bug#70677 (17640628), CONNECTOR J WITH PROFILESQL - LOG CONTAINS LOTS OF STACKTRACE DATA.
- Fix for Bug#41172 (11750577), PROFILEREVENT.PACK() THROWS ARRAYINDEXOUTOFBOUNDSEXCEPTION.
- Fix for Bug#27453692, CHARACTERS GET GARBLED IN CONCAT() IN PS WHEN USECURSORFETCH=TRUE.
- Fix for Bug#94585 (29452669), GETTABLENAME() RETURNS NULL FOR A QUERY HAVING COUNT(*) WITH JDBC DRIVER V8.0.12.
- Fix for Bug#94533 (29446100), GETOBJECT FOR BOXED PRIMITIVE TYPES DOESN'T RETURN NULL FOR NULL COLUMNS.
- Fix for Bug#94442 (29446059), RESULTSETIMPL.GETDOUBLE IS INEFFICIENT BECAUSE OF BIGDECIMAL (RE)CONSTRUCTIONS.
Version 8.0.16
- WL#12825, Remove third-party libraries from sources and bundles.
- Fix for Bug#93590 (29054329), javax.net.ssl.SSLException: closing inbound before receiving peer's close_notify.
- Fix for Bug#94414 (29384853), Connector/J RPM package have version number in path.
- Fix for Bug#27786499, REDUNDANT FILES IN DEBIAN PACKAGE FOR DEBIAN9(COMMUNITY PACKAGE) FOR CJAVA.
- WL#12246, DevAPI: Prepared statement support.
- WL#10839, Adjust c/J tests to the new "ON" default for explicit_defaults_for_timestamp.
- Fix for Bug#29329326, PLEASE AVOID SHOW PROCESSLIST IF POSSIBLE.
- WL#12460, DevAPI: Support new session reset functionality.
- WL#12459, DevAPI: Support connection-attributes.
- Fix for Bug#25650385, GETBYTE() RETURNS ERROR FOR BINARY() FLD.
- Fix for Bug#27784363, MYSQL 8.0 JDBC DRIVER THROWS NUMBERFORMATEXCEPTION FOR TEXT DATA
- Fix for Bug#93007 (28860051), LoadBalancedConnectionProxy.getGlobalBlacklist bug.
- Fix for Bug#29186870, CONNECTOR/J REGRESSION: NOT RETURNING PRECISION GETPROCEDURECOLUMNS.
- Fix for Bug#22038729, X DEVAPI: ANY API CALL AFTER A FAILED CALL PROC() RESULTS IN HANG.
- Fix for Bug#29244101, ADD MAPPING FOR UTF8MB4_ZH_0900_AS_CS COLLATION.
- Fix for Bug#92819 (28834959), EXPRPARSER THROWS WRONGARGUMENTEXCEPTION WHEN PARSING EMPTY JSON ARRAY.
- Fix for Bug#21921956, X DEVAPI: EXPRESSION PARSE ERROR WITH UNARY OPERATOR.
- Fix for Bug#94031 (29257922), WRONG JSON_UNQUOTE WORKAROUND.
- Fix for Bug#22931700, BINDINGS.GETBOOLEAN() ALWAYS RETURNS FALSE.
- Fix for Bug#25650912, ERROR MESSAGE NOT CLEAR WHEN WE PASS A CHAR DATA TO ANY TABLE API.
- Fix for Bug#25642021, CHANGEUSER() FAILS WHEN ENABLEPACKETDEBUG=TRUE.
Version 8.0.15
- Fix for Bug#94051 (29261254), Not recommended default for 'allowLoadLocalInfile'.
Version 8.0.14
- WL#12298, Connectors: Expose metadata about source and binaries in unified way.
- Fix for Bug#93111 (28894344), ConnectionUrl.java contains char U+00A7 (section sign).
- WL#12621, DevAPI: Handling of Default Schema.
- Fix for Bug#93340 (28970166), C/J BUILD SCRIPT IS TOO VERBOSE
- WL#12462, DevAPI: Be prepared for initial notice on connection.
- Fix for Bug#28924137, WL#12463:IF COLLECTION DOESN'T EXIST, COLL.COUNT() IS GIVING A WRONG ERROR MESSAGE.
- WL#12463, DevAPI: Standardize count method.
- Fix for Bug#92508 (28747636), mysql-connector in bootclasspath causing memory leak.
- Fix for Bug#25650514, UPDATEROW() CALL FAILS WITH NPE WHEN SSPS=TRUE AND TABLE HAS MULTI-FLD KEY.
- Fix for Bug#25650482, REFRESHROW() CALL AFTER UPDATEROW() API FAILS WHEN USESERVERPREPSTMTS=TRUE.
- Fix for Bug#92536 (28692243), UPDATEING SERVER SIDE PREPSTMTS RESULTSET FAIL.
- Fix for Bug#92625 (28731795), CONTRIBUTION: FIX OBSERVED NPE IN CLEARINPUTSTREAM.
Thanks to Henning Schmiedehausen for his contribution.
- Fix for Bug#23045642, ADDING NO-DOC (MYSQLCONNJ-696) RESULTS IN EXCEPTION.
- Fix for Bug#91065 (28101003), ZERODATETIMEBEHAVIOR=CONVERT_TO_NULL SHOULD NOT APPLY TO 00:00:00 TIME COLUMNS.
- Fix for Bug#92574 (28706219), WHEN CONVERTING FROM VARCHAR TO JAVA BOOLEAN, 'N' IS NOT SUPPORTED.
- Fix for Bug#25642226, CHANGEUSER() NOT SETTING THE DATABASE PROPERLY WITH SHA USER.
- Fix for Bug#28606708, NAMED PIPE CONNECTION FOR X PROTOCOL RETURNS NPE, EXPECTED PROPER ERROR MESSAGE.
Version 8.0.13
- Fix for Bug#91317 (28207422), Wrong defaults on collation mappings.
- WL#12245, DevAPI: Implement connect timeout.
- Fix for Bug#21774249, UNIT TEST FAILS WITH ERROR " 'CEST' IS UNRECOGNIZED TIME ZONE".
- WL#11857, DevAPI: Implement connection pooling for xprotocol.
- Fix for Bug#91873 (28444461), REMOVE USEOLDUTF8BEHAVIOR CONNECTION PROPERTY.
- Fix for Bug#92264 (28594434), JSONPARSER PUTS UNNECESSARY MAXIMUM LIMIT ON JSONNUMBER TO 10 DIGITS.
- WL#12110, Extend PropertyDefinitions.PropertyKey usage.
- Fix for Bug#81063 (23098159), w/ rewriteBatchedStatements, when 2 tables involved, the rewriting not correct.
- Fix for Bug#84813 (25501750), rewriteBatchedStatements fails in INSERT.
- Fix for Bug#81196 (23227334), CONNECTOR/J NOT FOLLOWING DATABASE CHARACTER SET.
- Fix for Bug#72609 (18749544), SETDATE() NOT USING A PROLEPTIC GREGORIAN CALENDAR.
- Fix for Bug#87534 (26730196), UNION ALL query fails when useServerPrepStmts=true on database connection.
Test case only. Base bug fixed in MySQL 5.7.22.
- Fix for Bug#89948 (27658489), Batched statements are not committed for useLocalTransactionState=true.
- Fix for BUG#22305979, WRONG RECORD UPDATED IF SENDFRACTIONALSECONDS=FALSE AND SMT IS SCROLLABLE.
- Fix for Bug#27102307, CHANGE USESSL AND VERIFYSERVERCERTIFICATE TO SSLMODE OPTION.
- Fix for Bug#28150662, CONNECTOR/J 8 MALFORMED DATABASE URL EXCEPTION WHIT CORRECT URL STRING.
- Fix for Bug#91421 (28246270), ALLOWED VALUES FOR ZERODATETIMEBEHAVIOR ARE INCOMPATIBLE WITH NETBEANS.
- Fix for Bug#23045604, XSESSION.GETURI() RETURNS NPE.
- Fix for Bug#21914769, NPE WHEN TRY TO EXECUTE INVALID JSON STRING.
- Fix for Bug#BUG#90887 (28034570), DATABASEMETADATAUSINGINFOSCHEMA#GETTABLES FAILS IF METHOD ARGUMENTS ARE NULL.
- Fix for Bug#28207088, C/JAVA: UPDATECLOB(INT COLUMNLABEL, JAVA.SQL.CLOB CLOB) IS FAILING.
- Fix for Bug#27629553, NPE FROM GETSESSION() FOR SSL CONNECTION WHEN NO PASSWORD PASSED.
Version 8.0.12
- Fix for Bug#28208000, MASTER : HANG IN ASYNCHRONOUS SELECT TEST.
- WL#10544, Update MySQL 8.0 keywords list.
- WL#11858, DevAPI: Core API v1 alignment.
- Fix for Bug#27652379, NPE FROM GETSESSION(PROPERTIES) WHEN HOST PARAMETER IS GIVEN IN SMALL LETTER.
- Fix for BUG#87600 (26724154), CONNECTOR THROWS 'MALFORMED DATABASE URL' ON NON MYSQL CONNECTION-URLS.
- Fix for BUG#26089880, GETCONNECTION("MYSQLX://..") RETURNS NON-X PROTOCOL CONNECTION.
- WL#11876, Improve connection properties design.
- WL#11933, Connector/J 8.0 X DevAPI reference documentation update.
- WL#11860, Ensure >= 75% code coverage.
- Fix for Bug#90753 (27977617), WAIT_TIMEOUT EXCEEDED MESSAGE NOT TRIGGERED.
- Fix for Bug#85941 (25924324), WASNULL NOT SET AFTER GETBYTES IS CALLED.
- Fix for Bug#28066709, COLLECTION.CREATEINDEX() TEST IS BROKEN AFTER WL#11808 IMPLEMENTATION.
- Fix for Bug#90872 (28027459), FILTERPARAMS CLASS IS NOT NEEDED.
- Fix for Bug#27522054, POSSIBLE ASYNC XPROTOCOL MESSAGE HANDLING PERF ISSUE.
The "xdevapi.useAsyncProtocol" connection property default value is changed to "false".
Version 8.0.11
- WL#11293, DevAPI: Support new locking modes : NOWAIT and SKIP LOCKED.
- Fix for Bug#90029 (27678308), FAILURE WHEN GETTING GEOMCOLLECTION COLUMN TYPE.
- Fix for BUG#90024 (27677574), SOME TESTS FAILED AGAINST MYSQL 8.0.5 BECAUSE OF DEPRECATED FEATURES REMOVAL.
- Fix for Bug#86741 (26314325), Multi-Host connection with autocommit=0 getAutoCommit maybe wrong.
- Fix for Bug#27231383, PROVIDE MAVEN-FRIENDLY COMMERCIAL PACKAGES WITHOUT "-BIN".
- Fix for Bug#26819691, SETTING PACKETDEBUGBUFFERSIZE=0 RESULTS IN CONNECTION FAILURE.
- Fix for Bug#88227 (27029657), Connector/J 5.1.44 cannot be used against MySQL 5.7.20 without warnings.
- Fix for Bug#27374581, CONNECTION FAILS WHEN GPL SERVER STARTED WITH TLS-VERSION=TLSV1.2.
- WL#11419, DevAPI: New document _id generation support.
- WL#11620, Change caching_sha2_password padding.
- WL#11604, DevAPI: Add SHA256_MEMORY support.
- Fix for BUG#86278 (26092824), SUPPORT CUSTOM CONSTRUCTION OF SSLSOCKET DURING CONNECTION ESTABLISHMENT.
- Fix for BUG#27226293, JSONNUMBER.GETINTEGER() & NUMBERFORMATEXCEPTION.
- WL#10527, Clean up Protocol and Session interfaces.
Version 8.0.10
- (Skipped version number to align versions between components and server)
Version 8.0.9
- WL#11469, Update license header in GPL packages.
- Fix for BUG#27247349, WL#11208 : UNIQUE DOES NOT GIVE ERROR EVEN THOUGH IT IS NOT SUPPORTED.
- WL#11208, DevAPI: Collection.createIndex.
- WL#10156, Add setters/getters for connection properties to MysqlDataSource, MysqlXADataSource and MysqlConnectionPoolDataSource.
- WL#11401, DevAPI: Remove configuration API.
Partial revert of "WL#9868, DevAPI: Configuration handling interface."
- WL#10619, Ensure compatibility with new data dictionary.
- Fix for BUG#27217264, WL#10937: NULL POINTER EXCEPTION WHEN NULL IS PASSED AS _ID IN COLL.REPLACEONE.
- WL#10937, DevAPI: ReplaceOne, AddOrReplaceOne, GetOne, RemoveOne.
- Fix for Bug#26723646, JSON_MERGE() FUNCTION IS DEPRECATED IN MYSQL 8.0.
- Fix for Bug#27185332, WL#11210:ERROR IS THROWN WHEN NESTED EMPTY DOCUMENTS ARE INSERTED TO COLLECTION.
- Fix for Bug#27151601, WL#11210: DOCUMENT PATCH EXPRESSIONS ARE NOT SUPPORTED.
- WL#11210, DevAPI: Modify/MergePatch.
- Fix for Bug#79612 (22362474), CONNECTION ATTRIBUTES LOST WHEN CONNECTING WITHOUT DEFAULT DATABASE.
- WL#10152, Enable TLSv1.2 on mysqlx.
- Fix for Bug#27131768, NULL POINTER EXCEPTION IN CONNECTION.
- Fix for Bug#88232 (27047676), c/J does not rollback transaction when autoReconnect=true.
- Fix for Bug#88242 (27040063), autoReconnect and socketTimeout JDBC option makes wrong order of client packet.
- Fix for Bug#88021 (26939943), High GC pressure when driver configured with serversideprepared statements.
Thanks to Johnathan Crawford for his contribution.
- Fix for Bug#26724085, CHARSET MAPPING TO BE UPDATED FOR MYSQL 8.0.3.
- Fix for Bug#87704 (26771560), THE STREAM GETS THE RESULT SET ?THE DRIVER SIDE GET WRONG ABOUT GETLONG().
- Fix for Bug#24924097, SERVER GREETING ERROR ISN'T RECOGNIZED DURING HANDSHAKE.
- Fix for Bug#26748909, MASTER : ERROR - NO OPERATIONS ALLOWED AFTER STATEMENT CLOSED FOR TOSTRING().
- Fix for Bug#26266731, CONCUR_UPDATABLE RESULTSET OPERATIONS FAIL AGAINST 8.0 FOR BOOLEAN COLUMN.
- WL#11239, DevAPI: Remove create table implementation.
- Fix for Bug#27131100, WL#11212 : SAVEPOINT CREATING WITH EMPTY STRING AND SPACE AS NAME.
- WL#11212, DevAPI: transaction save-points.
- WL#11060, Support new SHA-256 authentication system.
- Fix for Bug#87826 (26846249), MYSQL JDBC CONNECTOR/J DATABASEMETADATA NULL PATTERN HANDLING IS NON-COMPLIANT.
- WL#11163, Extract parameter setters, serverPrepare() and serverExecute() to core classes.
- Fix for BUG#26995710, WL#11161 : NULL POINTER EXCEPTION IN EXECUTEBATCH() AND CLOSE().
- WL#11161, Unify query bindings.
- WL#8469, Don't extract query text from packets when possible.
Version 8.0.8
- Fix for BUG#26722030, TEST FAILING DUE TO BINARY LOGGING ENABLED BY DEFAULT IN MYSQL 8.0.3.
- Fix for BUG#26722018, TESTS FAILING DUE TO CHANGE IN INFORMATION_SCHEMA.INNODB_SYS_* NAMING.
- Fix for BUG#26750807, MASTER : NULL POINTER EXCEPTION IN SCHEMA.DROPVIEW(NULL).
- Fix for BUG#26750705, MASTER : ERROR - UNSUPPORTED CONVERSION FROM TIME TO JAVA.SQL.DATE.
- WL#10620, DevAPI: SHA256 Authentication support.
- WL#10936, DevAPI: Row locking for Crud.Find.
- WL#9868, DevAPI: Configuration handling interface.
- WL#10935, DevAPI: Array or Object "contains" operator.
- WL#9875, Prepare c/J 8.0 for DEB and RPM builds.
- Fix for BUG#26259384, CALLABLE STATEMENT GIVES ERROR IN C/JAVA WHEN RUN AGAINST MYSQL 8.0.
- Fix for Bug#26393132, NULLPOINTEREXCEPTION IS THROWN WHEN TRIED TO DROP A NULL COLLECTION.
- WL#10532, DevAPI: Cleanup Drop APIs.
- Fix for Bug#87429 (26633984), repeated close of ServerPreparedStatement causes memory leak.
Thanks to Eduard Gurskiy for his contribution.
- Fix for Bug#87379 (26646676), Perform actual TLS capabilities check when restricting TLSv1.2.
Thanks to Todd Farmer for his contribution.
- Fix for Bug#85601 (25777822), Unit notation is missing in the description of the property involved in the time.
- Fix for Bug#87153 (26501245), INCORRECT RESULT OF DBMD.GETVERSIONCOLUMNS() AGAINST MYSQL 8.0.2+.
- Fix for Bug#78313 (21931572), proxies not handling Object.equals(Object) calls correctly.
- Fix for Bug#85885 (25874048), resultSetConcurrency and resultSetType are swapped in call to prepareStatement.
- Fix for Bug#74932 (20066806), ConnectionImp Doesn't Close Server Prepared Statement (PreparedStatement Leak).
- WL#10536, Deprecating COM_SHUTDOWN.
- Fix for Bug#25946965, UPDATE THE TIME ZONE MAPPINGS WITH LATEST TZ DATABASES.
- Fix for Bug#20182108, INCLUDE CUSTOM LOAD BALANCING STRATEGY USING PLUGIN API.
New load-balancing strategy "serverAffinity" and new connection property "serverAffinityOrder" added.
- Fix for Bug#26440544, CONNECTOR/J SHOULD NOT USE TX_{READ_ONLY,ISOLATION} WHICH IS PLANNED FOR REMOVAL.
- Fix for Bug#26399958, UNABLE TO CONNECT TO MYSQL 8.0.3.
- Fix for Bug#25650305, GETDATE(),GETTIME() AND GETTIMESTAMP() CALL WITH NULL CALENDAR RETURNS NPE.
Version 8.0.7
- Fix for Bug#26227653, WL#10528 DIFF BEHAVIOUR WHEN SYSTEM PROP JAVAX.NET.SSL.TRUSTSTORETYPE IS SET.
- WL#10528, DevAPI: Ensure all connectors are secure by default.
- WL#8305, Remove internal dependency on connection objects.
- Fix for Bug#22972057, X DEVAPI: CLIENT HANGS AFTER CONNECTION FAILURE.
- Fix for Bug#26140577, GIS TESTS ARE FAILING WITH MYSQL 8.0.1.
- WL#10765, DevAPI: Forbid modify() and remove() with no condition.
- Fix for Bug#26090721, CONNECTION FAILING WHEN SERVER STARTED WITH COLLATION UTF8MB4_DE_PB_0900_AI_CI.
- WL#10781, enum-based connection properties.
- Fix for Bug#73775 (19531384), DBMD.getProcedureColumns()/.getFunctionColumns() fail to filter by columnPattern.
- Fix for Bug#84324 (25321524), CallableStatement.extractProcedureName() not work when catalog name with dash.
- Fix for Bug#79561 (22333996), NullPointerException when calling a fully qualified stored procedure.
- Fix for Bug#84783 (25490163), query timeout is not working(thread hang).
- Fix for Bug#70704 (17653733), Deadlock using UpdatableResultSet.
- Fix for Bug#66430 (16714868), setCatalog on connection leaves ServerPreparedStatement cache for old catalog.
- Fix for Bug#70808 (17757070), Set sessionVariables in a single query.
- Fix for Bug#77192 (21170603), Description for the Property replicationConnetionGroup Missing from the Manual.
- Fix for Bug#83834 (25101890), Typo in Connector/J error message.
- WL#10531, Support utf8mb4 as default charset.
- Fix for Bug#85555 (25757019), useConfigs Can't find configuration template named, in mysql-connector-java 6.x
- WL#10529, Move version number to 8.0.
- WL#10530, DevAPI: Remove XSession, rename NodeSession to Session.
- Fix for Bug#23510958, CONCURRENT ASYNC OPERATIONS RESULT IN HANG.
- Fix for Bug#23597281, GETNODESESSION() CALL WITH SSL PARAMETERS RETURNS CJCOMMUNICATIONSEXCEPTION.
- Fix for Bug#25207784, C/J DOESN'T FOLLOW THE FINAL X DEVAPI MY-193 SPECIFICATION.
- Fix for Bug#25494338, ENABLEDSSLCIPHERSUITES PARAMETER NOT WORKING AS EXPECTED WITH X-PLUGIN.
- Fix for Bug#84084 (25215008), JAVA.LANG.ARRAYINDEXOUTOFBOUNDSEXCEPTION ON ATTEMPT TO GET VALUE FROM RESULTSET.
- WL#10553, Add mapping for Japanese utf8mb4 collation.
- Fix for Bug#25575103, NPE FROM CREATETABLE() WHEN SOME OF THE INPUTS ARE NULL.
- Fix for Bug#25575156, NPE FROM CREATEVIEW() WHEN SOME OF THE INPUTS ARE NULL.
- Fix for Bug#25636947, CONNECTION USING MYSQL CLIENT FAILS IF WE USE THE SSL CERTIFICATES FROM C/J SRC.
- Fix for Bug#25687718, INCORRECT TIME ZONE IDENTIFIER IN STATEMENTREGRESSIONTEST.
- Fix for Bug#25556597, RESULTSETTEST.TESTPADDING UNIT TEST IS FAILING IN 5.1.41 RELEASE PACKAGE.
- Fix for Bug#25517837, CONNECT PERFORMNACE DEGRADED BY 10% IN 5.1.41.
- Fix for Bug#25504578, CONNECT FAILS WHEN CONNECTIONCOLLATION=ISO-8859-13.
- Fix for Bug#25438355, Improper automatic deserialization of binary data.
- Fix for Bug#70785 (17756825), MySQL Connector/J inconsistent init state for autocommit.
Property 'elideSetAutoCommits' is temporarily disabled due to Bug#66884. Defaults to 'false' until this bug is fixed.
- Fix for Bug#75615 (21181249), Incorrect implementation of Connection.setNetworkTimeout().
- Fix for Bug#81706 (23535001), NullPointerException in driver.
- Fix for Bug#83052 (25048543), static method in com.mysql.jdbc.Util relies on null object.
- Fix for Bug#69526 (17035755), 'Abandoned connection cleanup thread' at mysql-connector-java-5.1.25.
- Fix for Bug#82826 (24942672), Unneeded version requirement for javax.net.ssl Import-Package on OSGi MANIFEST.MF.
Version 6.0.6
- Added Core TLS/SSL options for the mysqlx URI scheme.
- Updated collations map.
- Fix for Bug#24350526, UNEXPECTED BEHAVIOUR OF IS_NUMBER_SIGNED API IN C/JAVA.
- Fix for Bug#82707 (24512766), WRONG MILLI SECOND VALUE RETURNED FROM TIMESTAMP COLUMN.
- Fix for Bug#82005 (23702040), JDBCDATEVALUEFACTORY FAILS TO PARSE SOME DATES.
- Fix for Bug#83725 (25056803), NPE IN XPROTOCOL.GETPLUGINVERSION() WITH MYSQL 5.7.17.
- Fix for Bug#24525461, UPDATABLE RESULTSET FEATURE FAILS WHEN USESERVERPREPSTMTS=TRUE.
- Fix for Bug#24527173, QUERY EXECUTION USING PREPARED STMT FAILS WHEN USECURSORFETCH=TRUE.
- Fix for Bug#82964 (24658016), JSR-310 DATA TYPES CREATED THROUGH JAVA.SQL TYPES.
- Fix for Bug#81202 (23188159), RESULTSETIMPL.GETOBJECT THROWS NULLPOINTEREXCEPTION WHEN FIELD IS NULL.
- Fix for Bug#22931277, COLUMN.GETTYPE() RETURNS ERROR FOR VALID DATATYPES.
- Fix for BUG#24471057, UPDATE FAILS WHEN THE NEW VALUE IS OF TYPE DBDOC WHICH HAS ARRAY IN IT.
- Fix for Bug#81691 (23519211), GETLASTDOCUMENTIDS() DOESN'T REPORT IDS PROVIDED BY USER.
- Fix for Bug#82826 (24942672), Unneeded version requirement for javax.net.ssl Import-Package on OSGi MANIFEST.MF.
10-21-16 - Version 6.0.5
- Fix for BUG#82896 (24613062), Unexpected behavior on attempt to connect to JDBC driver with unsupported URL.
- Added client-side failover during XSession initialization for multi-router configuration.
- Removed Extension interface. All extension classes now implement their specific interfaces.
- Fix for Bug#22988922, GETLENGTH() RETURNS -1 FOR LONGBLOB AND LONGTEXT FIELDS.
- Fix for Bug#24619829, NEW FAILURES IN C/JAVA UNITTESTS AGAINST MYSQL 8.0.
- Fix for Bug#75209 (20212882), Set useLocalTransactionState may result in partially committed transaction.
- Fix for Bug#48346 (11756431), Communications link failure when reading compressed data with compressed=true.
Thanks to Ryosuke Yamazaki for his contribution.
- Fix for Bug#80631 (22891845), ResultSet.getString return garbled result with json type data.
Thanks to Dong SongLing for his contribution.
- Fix for Bug#64188 (13702433), MysqlXAConnection.MYSQL_ERROR_CODES_TO_XA_ERROR_CODES is missing XA error codes.
- Fix for Bug#72632 (18759269), NullPointerException for invalid JDBC URL.
- Fix for Bug#82115 (23743956), Some exceptions are intercepted twice or fail to set the init cause.
- Fix for Bug#78685 (21938551), Wrong results when retrieving the value of a BIT column as an integer.
- Fix for Bug#80615 (22954007), prepared statement leak when rewriteBatchedStatements=true and useServerPrepStmt.
- Extended X DevAPI with flexible parameter lists.
- Added a virtual NodeSession to X DevAPI.
09-05-16 - Version 6.0.4
- X DevAPI URL prefix changed from "mysql:x:" to "mysqlx:".
- Fix for Bug#24301468 X DEVAPI SSL CONNECTION FAILS ON WINDOWS
- The X DevAPI Table object now represents both database tables and views.
- Added support for matching against pattern for X DevAPI list_objects calls.
Added Schema.getCollections(String pattern) and Schema.getTables(String pattern) interface methods.
- Switched to "mysqlx" namespace for X DevAPI StmtExecute messages. This change is incompatible to MySQL server versions < 5.7.14.
- Fix for Bug#82046 (23743947), MYSQL CONNECTOR JAVA OSGI METADATA BROKEN.
- Fix for Bug#21690043, CONNECT FAILS WHEN PASSWORD IS BLANK.
- Fix for Bug#22931433, GETTING VALUE OF BIT COLUMN RESULTS IN EXCEPTION.
06-17-16 - Version 6.0.3
- Fix for Bug#23535571, EXCESSIVE MEMORY USAGE WHEN ENABLEPACKETDEBUG=TRUE.
- Fix for Bug#23212347, ALL API CALLS ON RESULTSET METADATA RESULTS IN NPE WHEN USESERVERPREPSTMTS=TRUE.
- Fix for Bug#23201930, CLIENT HANG WHEN RSLT CUNCURRENCY=CONCUR_UPDATABLE AND RSLTSET TYPE=FORWARD_ONLY.
- Fix for Bug#23188498, CLIENT HANG WHILE USING SERVERPREPSTMT WHEN PROFILESQL=TRUE AND USEIS=TRUE.
- Fix for Bug#22678872, NPE DURING UPDATE WITH FABRIC.
New property 'loadBalanceHostRemovalGracePeriod' sets the grace period when removing hosts from a load-balanced connection.
- Fix for Bug#71131 (18068303), Poor error message in CallableStatement.java.
- Fix for Bug#59462 (16736619), ConcurrentModificationException inside ConnectionImpl.closeAllOpenStatements().
- Fix for Bug#22848249, LOADBALANCECONNECTIONGROUPMANAGER.REMOVEHOST() NOT WORKING AS EXPECTED.
- Fix for Bug#22730682, ARRAYINDEXOUTOFBOUNDSEXCEPTION FROM CONNECTIONGROUPMANAGER.REMOVEHOST().
- Fix for Bug#77171 (21181466), On every connect getting sql_mode from server creates unnecessary exception.
- Fix for Bug#79343 (22353759), NPE in TimeUtil.loadTimeZoneMappings causing server time zone value unrecognized.
- Fix for Bug#22038729, X DevAPI: Any API call after a failed CALL PROC() results in hang
- Remove Schema.drop(), Collection.drop() and replaced with X DevAPI's session.dropSchema() and session.dropCollection().
Also added session.dropTable().
- Fix for Bug#22932078, GETTIMESTAMP() RETURNS WRONG VALUE FOR FRACTIONAL PART
- Extracted packet readers from MysqlaProtocol.
- Fix for Bug#22972057, X protocol CLIENT HANGS AFTER CONNECTION FAILURE
- Fix for Bug#23044312, NullPointerException in X protocol AsyncMessageReader due to race condition
- Returned support for MySQL 5.5 and 5.6.
04-05-16 - Version 6.0.2
- Deprecate the EOF packet.
- Fix for Bug#75956, Inserting timestamps using a server PreparedStatement and useLegacyDatetimeCode=false
- Fix for Bug#22385172, CONNECTOR/J MANIFEST DOES NOT EXPOSE FABRIC (OSGi).
- Fix for Bug#22598938, FABRICMYSQLDATASOURCE.GETCONNECTION() NPE AFTER SWITCHOVER.
- Merged version 5.1.38.
- Fix for Bug#21286268, CONNECTOR/J REPLICATION USE MASTER IF SLAVE IS UNAVAILABLE.
- Fix for Bug#21296840 & Bug#17910835, Server information in a group from Fabric is not refreshed after expired TTL.
- Fix for Bug#56122 (11763419), JDBC4 functionality failure when using replication connections.
- Added support for TLSv1.1 and TLSv1.2