Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mysql/mysql-connector-j
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8.4.0
Choose a base ref
...
head repository: mysql/mysql-connector-j
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9.0.0
Choose a head ref

Commits on Mar 14, 2024

  1. Post-release version bump.

    Change-Id: I9034e5d8de3cf16137f78f7e245ba212a5e44e13
    fjssilva committed Mar 14, 2024
    Copy the full SHA
    569cc33 View commit details

Commits on Mar 20, 2024

  1. Copy the full SHA
    773edea View commit details

Commits on Mar 28, 2024

  1. Update for project clean up rules.

    Change-Id: Iecef69f4941b6f2c7be9817316a37123e41fb847
    fjssilva committed Mar 28, 2024
    Copy the full SHA
    28c0123 View commit details
  2. Clean up code.

    Change-Id: I004da0cea235401fe7324d3384969c2a1c88a8eb
    fjssilva committed Mar 28, 2024
    Copy the full SHA
    f2727b0 View commit details
  3. Update for project clean up rules.

    Change-Id: Id05efed8fc51bc13db678309f46863bb08a16c30
    fjssilva committed Mar 28, 2024
    1
    Copy the full SHA
    e0b8c56 View commit details
  4. Clean up and format code.

    Change-Id: I750ad584a43004218222e4dd6ae5bb3ad45e862e
    fjssilva committed Mar 28, 2024
    Copy the full SHA
    088c14b View commit details

Commits on Apr 1, 2024

  1. Fix for Bug#108830 (Bug#34721173), LIMIT clause, setMaxRows and curso…

    …r combined returns wrong number or rows.
    
    Change-Id: I9487e450fa463aef0e0ff6376997e8ec714579b9
    Axyoan Marcelo committed Apr 1, 2024
    Copy the full SHA
    d72d204 View commit details

Commits on Apr 3, 2024

  1. Fix for Bug#110512 (Bug#35223851), Contribution: Replace synchronized…

    … with ReentrantLock.
    
    Change-Id: I77b4a6e50b8e4343c944d58dbd3dbc93d381cd1e
    fjssilva committed Apr 3, 2024
    Copy the full SHA
    00d43c5 View commit details

Commits on Apr 9, 2024

  1. WL#16324, Update static MySQL keywords list.

    Change-Id: I13e7e460cabc5a957c19fb6b9a321648000ffd2e
    fjssilva committed Apr 9, 2024
    Copy the full SHA
    cc89dad View commit details

Commits on Apr 12, 2024

  1. WL#16319, Remove deprecated insensitive terminology based methods.

    Change-Id: Iefd7ebe56b796cb5cf703792b16509c7a06b6c41
    fjssilva committed Apr 12, 2024
    Copy the full SHA
    9901917 View commit details

Commits on Apr 17, 2024

  1. Fix for openTelemetry connection property since version.

    Change-Id: I5cd332221cb494b665f590bbd6e38c0f5ae0435f
    fjssilva committed Apr 17, 2024
    Copy the full SHA
    10f56ae View commit details

Commits on Apr 18, 2024

  1. Fix for Bug#114687 (Bug#36529541), Tests fail after mysql_native_pass…

    …word has been made optional in server.
    
    Change-Id: Icb3ef2af3d457d07aa693813bb8a912eb552e80b
    fjssilva committed Apr 18, 2024
    Copy the full SHA
    22b061b View commit details

Commits on Apr 19, 2024

  1. WL#16353, Refresh the list of acceptable TLS ciphers.

    Change-Id: I90420e6a18205e6791915d2a9d0902e1d3cfd266
    fjssilva committed Apr 19, 2024
    Copy the full SHA
    9533a6b View commit details

Commits on Apr 23, 2024

  1. Merge remote-tracking branch 'origin/documentation/8.x' into 'version…

    …/9.x'.
    
    Change-Id: I08003cf202c8eafcfc450ccb45db716343b1dcc6
    fjssilva committed Apr 23, 2024
    Copy the full SHA
    bac0ea3 View commit details

Commits on May 3, 2024

  1. WL#16342, Update MySQL error codes mapping.

    Change-Id: Ic7305709d2f048d35769c014ce7c9549629ac396
    fjssilva committed May 3, 2024
    Copy the full SHA
    78451c4 View commit details

Commits on May 9, 2024

  1. WL#16376, Set 'caching_sha2_password' as default fallback authenticat…

    …ion plugin.
    
    Change-Id: I7bb3bb934588f7bda3f1c484deb5c6cfbdd803a0
    fjssilva committed May 9, 2024
    Copy the full SHA
    39206fb View commit details

Commits on May 13, 2024

  1. Fix for Bug#114989 (Bug#36612566), Setting null value in setClientInf…

    …o throws an NPE.
    
    Change-Id: Ie1a2be98cc2079ecb7572e9c1bb3548583ce9444
    fjssilva committed May 13, 2024
    Copy the full SHA
    223dfaf View commit details

Commits on May 15, 2024

  1. Fix for Bug#114846 (Bug#36574322), Auto-closeable X dev session.

    Change-Id: Iae79e3ddf89daaa68a58d58bfe2a08c801ab377a
    fjssilva committed May 15, 2024
    Copy the full SHA
    a9ec867 View commit details

Commits on May 16, 2024

  1. Fix for Bug#114800 (Bug#36576596), Wrong code by an old patch.

    Change-Id: Icaca71d10d591c837c87dee5f909954c1158e340
    fjssilva committed May 16, 2024
    Copy the full SHA
    ce34ec8 View commit details

Commits on May 20, 2024

  1. WL#16391, Upgrade 3rd party libraries and tools.

    Change-Id: Ie336a04f3ad0309e478bc6d4bc05e84d4d75b421
    fjssilva committed May 20, 2024
    Copy the full SHA
    d3102b1 View commit details

Commits on May 23, 2024

  1. Update for GPL license book.

    Change-Id: Ibc43c9dc4e1f03036024ee00d2e4e37470522c99
    fjssilva committed May 23, 2024
    Copy the full SHA
    dd8a023 View commit details

Commits on Jun 6, 2024

  1. Update fix for Bug#114687 (Bug#36529541), Tests fail after mysql_nati…

    …ve_password has been made optional in server.
    
    Change-Id: I4df9985d802ec4bd31f9b103a045926226df537d
    fjssilva committed Jun 6, 2024
    Copy the full SHA
    e0e8e34 View commit details
Showing with 18,291 additions and 13,949 deletions.
  1. +1 −1 .classpath
  2. +1 −1 .project
  3. +8 −4 .settings/org.eclipse.jdt.ui.prefs
  4. +28 −0 CHANGES
  5. +240 −5 LICENSE
  6. +4 −4 README.md
  7. +4 −4 build.xml
  8. +14 −31 src/build/java/documentation/ErrorMappingsDocGenerator.java
  9. +41 −41 src/build/misc/Product.wxs
  10. +2 −2 src/build/misc/pom.xml
  11. +209 −341 src/generated/java/com/mysql/cj/x/protobuf/Mysqlx.java
  12. +218 −461 src/generated/java/com/mysql/cj/x/protobuf/MysqlxConnection.java
  13. +1,993 −2,543 src/generated/java/com/mysql/cj/x/protobuf/MysqlxCrud.java
  14. +262 −412 src/generated/java/com/mysql/cj/x/protobuf/MysqlxCursor.java
  15. +255 −522 src/generated/java/com/mysql/cj/x/protobuf/MysqlxDatatypes.java
  16. +155 −245 src/generated/java/com/mysql/cj/x/protobuf/MysqlxExpect.java
  17. +696 −1,047 src/generated/java/com/mysql/cj/x/protobuf/MysqlxExpr.java
  18. +454 −653 src/generated/java/com/mysql/cj/x/protobuf/MysqlxNotice.java
  19. +323 −474 src/generated/java/com/mysql/cj/x/protobuf/MysqlxPrepare.java
  20. +1,112 −1,328 src/generated/java/com/mysql/cj/x/protobuf/MysqlxResultset.java
  21. +231 −432 src/generated/java/com/mysql/cj/x/protobuf/MysqlxSession.java
  22. +158 −234 src/generated/java/com/mysql/cj/x/protobuf/MysqlxSql.java
  23. +3 −1 src/main/core-api/java/com/mysql/cj/CacheAdapterFactory.java
  24. +2 −1 src/main/core-api/java/com/mysql/cj/MysqlConnection.java
  25. +26 −10 src/main/core-api/java/com/mysql/cj/PerConnectionLRUFactory.java
  26. +2 −1 src/main/core-api/java/com/mysql/cj/Query.java
  27. +1 −1 src/main/core-api/java/com/mysql/cj/ServerVersion.java
  28. +3 −0 src/main/core-api/java/com/mysql/cj/Session.java
  29. +2 −2 src/main/core-api/java/com/mysql/cj/conf/PropertyDefinitions.java
  30. +6 −6 src/main/core-api/java/com/mysql/cj/conf/PropertyKey.java
  31. +5 −5 src/main/core-api/java/com/mysql/cj/exceptions/DataTruncationException.java
  32. +6,460 −1,385 src/main/core-api/java/com/mysql/cj/exceptions/MysqlErrorNumbers.java
  33. +5 −5 src/main/core-api/java/com/mysql/cj/exceptions/UnsupportedConnectionStringException.java
  34. +3 −1 src/main/core-api/java/com/mysql/cj/protocol/ResultsetRowsOwner.java
  35. +5 −5 src/main/core-api/java/com/mysql/cj/result/Field.java
  36. +113 −99 src/main/core-api/java/com/mysql/cj/util/EscapeTokenizer.java
  37. +2 −1 src/main/core-api/java/com/mysql/cj/util/PerVmServerConfigCacheFactory.java
  38. +7 −1 src/main/core-api/java/com/mysql/cj/util/TimeUtil.java
  39. +16 −7 src/main/core-impl/java/com/mysql/cj/AbstractQuery.java
  40. +4 −1 src/main/core-impl/java/com/mysql/cj/CancelQueryTaskImpl.java
  41. +13 −1 src/main/core-impl/java/com/mysql/cj/CoreSession.java
  42. +4 −3 src/main/core-impl/java/com/mysql/cj/NativeQueryBindings.java
  43. +35 −23 src/main/core-impl/java/com/mysql/cj/NativeSession.java
  44. +19 −7 src/main/core-impl/java/com/mysql/cj/ServerPreparedQuery.java
  45. +5 −5 src/main/core-impl/java/com/mysql/cj/ServerPreparedQueryTestcaseGenerator.java
  46. +2 −8 src/main/core-impl/java/com/mysql/cj/conf/url/ReplicationConnectionUrl.java
  47. +2 −8 src/main/core-impl/java/com/mysql/cj/conf/url/ReplicationDnsSrvConnectionUrl.java
  48. +1 −1 src/main/core-impl/java/com/mysql/cj/log/ProfilerEventImpl.java
  49. +1 −2 src/main/core-impl/java/com/mysql/cj/otel/OpenTelemetryHandler.java
  50. +1 −1 src/main/core-impl/java/com/mysql/cj/protocol/AbstractSocketConnection.java
  51. +11 −3 src/main/core-impl/java/com/mysql/cj/protocol/NamedPipeSocketFactory.java
  52. +31 −47 src/main/core-impl/java/com/mysql/cj/protocol/ReadAheadInputStream.java
  53. +8 −2 src/main/core-impl/java/com/mysql/cj/result/SqlDateValueFactory.java
  54. +12 −3 src/main/core-impl/java/com/mysql/cj/result/SqlTimeValueFactory.java
  55. +22 −7 src/main/core-impl/java/com/mysql/cj/result/SqlTimestampValueFactory.java
  56. +6 −7 src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeAuthenticationProvider.java
  57. +0 −1 src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeConstants.java
  58. +54 −58 src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeProtocol.java
  59. +1 −1 src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeServerSession.java
  60. +1 −1 src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/AuthenticationKerberosClient.java
  61. +1 −1 ...protocol-impl/java/com/mysql/cj/protocol/a/authentication/AuthenticationLdapSaslClientPlugin.java
  62. +1 −1 src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/BinaryBufferRow.java
  63. +26 −8 src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/NativeResultset.java
  64. +1 −1 src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/OkPacket.java
  65. +12 −4 src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/ResultsetRowsCursor.java
  66. +9 −3 src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/ResultsetRowsStreaming.java
  67. +10 −10 src/main/protocol-impl/java/com/mysql/cj/protocol/x/MessageConstants.java
  68. +2 −2 src/main/protocol-impl/java/com/mysql/cj/protocol/x/Notice.java
  69. +4 −5 src/main/protocol-impl/java/com/mysql/cj/protocol/x/ResultMessageListener.java
  70. +37 −19 src/main/protocol-impl/java/com/mysql/cj/protocol/x/SyncMessageReader.java
  71. +11 −3 src/main/protocol-impl/java/com/mysql/cj/protocol/x/SyncMessageSender.java
  72. +3 −5 src/main/protocol-impl/java/com/mysql/cj/protocol/x/XProtocol.java
  73. +1 −1 src/main/protocol-impl/java/com/mysql/cj/protocol/x/XServerCapabilities.java
  74. +289 −35 src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties
  75. +6 −7 src/main/resources/com/mysql/cj/TlsSettings.properties
  76. +6 −5 src/main/user-api/java/com/mysql/cj/jdbc/ClientInfoProvider.java
  77. +5 −27 src/main/user-api/java/com/mysql/cj/jdbc/JdbcConnection.java
  78. +0 −136 src/main/user-api/java/com/mysql/cj/jdbc/ha/ReplicationConnection.java
  79. +2 −1 src/main/user-api/java/com/mysql/cj/xdevapi/Client.java
  80. +2 −1 src/main/user-api/java/com/mysql/cj/xdevapi/Session.java
  81. +183 −101 src/main/user-impl/java/com/mysql/cj/jdbc/Blob.java
  82. +8 −8 src/main/user-impl/java/com/mysql/cj/jdbc/BlobFromLocator.java
  83. +384 −103 src/main/user-impl/java/com/mysql/cj/jdbc/CallableStatement.java
  84. +130 −125 src/main/user-impl/java/com/mysql/cj/jdbc/CallableStatementWrapper.java
  85. +85 −54 src/main/user-impl/java/com/mysql/cj/jdbc/ClientInfoProviderSP.java
  86. +365 −80 src/main/user-impl/java/com/mysql/cj/jdbc/ClientPreparedStatement.java
  87. +11 −11 src/main/user-impl/java/com/mysql/cj/jdbc/Clob.java
  88. +24 −33 src/main/user-impl/java/com/mysql/cj/jdbc/CommentClientInfoProvider.java
  89. +57 −27 src/main/user-impl/java/com/mysql/cj/jdbc/ConnectionGroup.java
  90. +300 −154 src/main/user-impl/java/com/mysql/cj/jdbc/ConnectionImpl.java
  91. +44 −36 src/main/user-impl/java/com/mysql/cj/jdbc/ConnectionWrapper.java
  92. +61 −46 src/main/user-impl/java/com/mysql/cj/jdbc/DatabaseMetaData.java
  93. +15 −8 src/main/user-impl/java/com/mysql/cj/jdbc/DatabaseMetaDataUsingInfoSchema.java
  94. +12 −12 src/main/user-impl/java/com/mysql/cj/jdbc/EscapeProcessor.java
  95. +22 −8 src/main/user-impl/java/com/mysql/cj/jdbc/MysqlConnectionPoolDataSource.java
  96. +4 −4 src/main/user-impl/java/com/mysql/cj/jdbc/MysqlParameterMetadata.java
  97. +99 −52 src/main/user-impl/java/com/mysql/cj/jdbc/MysqlPooledConnection.java
  98. +290 −199 src/main/user-impl/java/com/mysql/cj/jdbc/MysqlSQLXML.java
  99. +3 −2 src/main/user-impl/java/com/mysql/cj/jdbc/MysqlSavepoint.java
  100. +8 −3 src/main/user-impl/java/com/mysql/cj/jdbc/MysqlXAConnection.java
  101. +1 −1 src/main/user-impl/java/com/mysql/cj/jdbc/ParameterBindingsImpl.java
  102. +80 −72 src/main/user-impl/java/com/mysql/cj/jdbc/PreparedStatementWrapper.java
  103. +90 −39 src/main/user-impl/java/com/mysql/cj/jdbc/ServerPreparedStatement.java
  104. +280 −73 src/main/user-impl/java/com/mysql/cj/jdbc/StatementImpl.java
  105. +58 −52 src/main/user-impl/java/com/mysql/cj/jdbc/StatementWrapper.java
  106. +54 −28 src/main/user-impl/java/com/mysql/cj/jdbc/SuspendableXAConnection.java
  107. +1 −1 src/main/user-impl/java/com/mysql/cj/jdbc/WrapperBase.java
  108. +2 −2 src/main/user-impl/java/com/mysql/cj/jdbc/admin/MiniAdmin.java
  109. +1 −1 src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/CommunicationsException.java
  110. +1 −1 src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/ConnectionFeatureNotAvailableException.java
  111. +1 −1 src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/NotUpdatable.java
  112. +2 −2 src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/OperationNotSupportedException.java
  113. +2 −2 src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/PacketTooBigException.java
  114. +1 −1 src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/SQLError.java
  115. +12 −11 src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/SQLExceptionsMapping.java
  116. +192 −99 src/main/user-impl/java/com/mysql/cj/jdbc/ha/FailoverConnectionProxy.java
  117. +380 −330 src/main/user-impl/java/com/mysql/cj/jdbc/ha/LoadBalancedConnectionProxy.java
  118. +1 −1 src/main/user-impl/java/com/mysql/cj/jdbc/ha/LoadBalancedMySQLConnection.java
  119. +39 −23 src/main/user-impl/java/com/mysql/cj/jdbc/ha/MultiHostConnectionProxy.java
  120. +20 −18 src/main/user-impl/java/com/mysql/cj/jdbc/ha/MultiHostMySQLConnection.java
  121. +3 −3 src/main/user-impl/java/com/mysql/cj/jdbc/ha/RandomBalanceStrategy.java
  122. +4 −155 src/main/user-impl/java/com/mysql/cj/jdbc/ha/ReplicationConnectionGroup.java
  123. +0 −177 src/main/user-impl/java/com/mysql/cj/jdbc/ha/ReplicationConnectionGroupManager.java
  124. +226 −317 src/main/user-impl/java/com/mysql/cj/jdbc/ha/ReplicationConnectionProxy.java
  125. +67 −44 src/main/user-impl/java/com/mysql/cj/jdbc/ha/ReplicationMySQLConnection.java
  126. +0 −125 src/main/user-impl/java/com/mysql/cj/jdbc/jmx/ReplicationGroupManagerMBean.java
  127. +234 −82 src/main/user-impl/java/com/mysql/cj/jdbc/result/ResultSetImpl.java
  128. +2 −2 src/main/user-impl/java/com/mysql/cj/jdbc/result/ResultSetMetaData.java
  129. +197 −74 src/main/user-impl/java/com/mysql/cj/jdbc/result/UpdatableResultSet.java
  130. +36 −14 src/main/user-impl/java/com/mysql/cj/jdbc/util/BaseBugReport.java
  131. +2 −2 src/main/user-impl/java/com/mysql/cj/xdevapi/SelectStatementImpl.java
  132. +2 −2 src/main/user-impl/java/com/mysql/cj/xdevapi/StreamingDocResultBuilder.java
  133. +2 −2 src/main/user-impl/java/com/mysql/cj/xdevapi/StreamingRowResultBuilder.java
  134. +2 −2 src/main/user-impl/java/com/mysql/cj/xdevapi/StreamingSqlResultBuilder.java
  135. +0 −44 src/test/java/com/mysql/cj/ConnectionUrlTest.java
  136. +6 −6 src/test/java/com/mysql/cj/protocol/x/SyncMessageReaderTest.java
  137. +10 −0 src/test/java/testsuite/BaseTestCase.java
  138. +1 −1 src/test/java/testsuite/regression/CallableStatementRegressionTest.java
  139. +15 −31 src/test/java/testsuite/regression/CharsetRegressionTest.java
  140. +160 −102 src/test/java/testsuite/regression/ConnectionRegressionTest.java
  141. +1 −1 src/test/java/testsuite/regression/DataSourceRegressionTest.java
  142. +4 −4 src/test/java/testsuite/regression/MetaDataRegressionTest.java
  143. +2 −9 src/test/java/testsuite/regression/PooledConnectionRegressionTest.java
  144. +74 −29 src/test/java/testsuite/regression/ResultSetRegressionTest.java
  145. +15 −14 src/test/java/testsuite/regression/StatementRegressionTest.java
  146. +1 −6 src/test/java/testsuite/regression/SyntaxRegressionTest.java
  147. +1 −3 src/test/java/testsuite/simple/AuthenticationTest.java
  148. +3 −3 src/test/java/testsuite/simple/CallableStatementTest.java
  149. +1 −1 src/test/java/testsuite/simple/ConnectionTest.java
  150. +5 −5 src/test/java/testsuite/simple/DateTest.java
  151. +3 −3 src/test/java/testsuite/simple/MetadataTest.java
  152. +2 −2 src/test/java/testsuite/simple/ResultSetTest.java
  153. +14 −14 src/test/java/testsuite/simple/StatementsTest.java
  154. +6 −0 src/test/java/testsuite/x/devapi/DevApiBaseTestCase.java
  155. +1 −1 src/test/java/testsuite/x/devapi/Ipv6SupportTest.java
  156. +81 −62 src/test/java/testsuite/x/devapi/SecureSessionTest.java
  157. +44 −1 src/test/java/testsuite/x/devapi/SessionTest.java
  158. +7 −0 src/test/java/testsuite/x/internal/InternalXBaseTestCase.java
  159. +2 −0 src/test/java/testsuite/x/internal/XProtocolAuthTest.java
  160. +1 −1 src/test/java/testsuite/x/internal/XProtocolTest.java
2 changes: 1 addition & 1 deletion .classpath
Original file line number Diff line number Diff line change
@@ -16,6 +16,6 @@
<classpathentry kind="src" path="src/main/resources"/>
<classpathentry kind="src" path="src/test/java"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/MySQL ConnectorJ 8.x Extra Libraries"/>
<classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/MySQL ConnectorJ 9.x Extra Libraries"/>
<classpathentry kind="output" path="bin"/>
</classpath>
2 changes: 1 addition & 1 deletion .project
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>ConnectorJ 8x</name>
<name>ConnectorJ 9x</name>
<comment></comment>
<projects>
</projects>
12 changes: 8 additions & 4 deletions .settings/org.eclipse.jdt.ui.prefs
Original file line number Diff line number Diff line change
@@ -8,6 +8,7 @@ cleanup.add_missing_nls_tags=false
cleanup.add_missing_override_annotations=true
cleanup.add_missing_override_annotations_interface_methods=true
cleanup.add_serial_version_id=false
cleanup.also_simplify_lambda=true
cleanup.always_use_blocks=true
cleanup.always_use_parentheses_in_expressions=false
cleanup.always_use_this_for_non_static_field_access=true
@@ -96,8 +97,9 @@ cleanup.remove_unused_private_fields=true
cleanup.remove_unused_private_members=false
cleanup.remove_unused_private_methods=true
cleanup.remove_unused_private_types=true
cleanup.replace_deprecated_calls=false
cleanup.return_expression=false
cleanup.simplify_lambda_expression_and_method_ref=false
cleanup.simplify_lambda_expression_and_method_ref=true
cleanup.single_used_field=false
cleanup.sort_members=false
cleanup.sort_members_all=false
@@ -131,7 +133,7 @@ cleanup.use_parentheses_in_expressions=true
cleanup.use_string_is_blank=false
cleanup.use_this_for_non_static_field_access=true
cleanup.use_this_for_non_static_field_access_only_if_necessary=false
cleanup.use_this_for_non_static_method_access=false
cleanup.use_this_for_non_static_method_access=true
cleanup.use_this_for_non_static_method_access_only_if_necessary=true
cleanup.use_type_arguments=false
cleanup.use_unboxing=false
@@ -161,6 +163,7 @@ sp_cleanup.add_missing_nls_tags=false
sp_cleanup.add_missing_override_annotations=true
sp_cleanup.add_missing_override_annotations_interface_methods=true
sp_cleanup.add_serial_version_id=false
sp_cleanup.also_simplify_lambda=false
sp_cleanup.always_use_blocks=true
sp_cleanup.always_use_parentheses_in_expressions=false
sp_cleanup.always_use_this_for_non_static_field_access=true
@@ -250,8 +253,9 @@ sp_cleanup.remove_unused_private_fields=true
sp_cleanup.remove_unused_private_members=false
sp_cleanup.remove_unused_private_methods=true
sp_cleanup.remove_unused_private_types=true
sp_cleanup.replace_deprecated_calls=false
sp_cleanup.return_expression=false
sp_cleanup.simplify_lambda_expression_and_method_ref=false
sp_cleanup.simplify_lambda_expression_and_method_ref=true
sp_cleanup.single_used_field=false
sp_cleanup.sort_members=false
sp_cleanup.sort_members_all=false
@@ -285,7 +289,7 @@ sp_cleanup.use_parentheses_in_expressions=true
sp_cleanup.use_string_is_blank=false
sp_cleanup.use_this_for_non_static_field_access=true
sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=false
sp_cleanup.use_this_for_non_static_method_access=false
sp_cleanup.use_this_for_non_static_method_access=true
sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true
sp_cleanup.use_type_arguments=false
sp_cleanup.use_unboxing=false
28 changes: 28 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,6 +1,34 @@
# Changelog
# https://dev.mysql.com/doc/relnotes/connector-j/en/

Version 9.0.0

- WL#16391, Upgrade 3rd party libraries and tools.

- Fix for Bug#114800 (Bug#36576596), Wrong code by an old patch.

- Fix for Bug#114846 (Bug#36574322), Auto-closeable X dev session.
Thanks to Daniel Kec for his contribution.

- Fix for Bug#114989 (Bug#36612566), Setting null value in setClientInfo throws an NPE.

- WL#16376, Set 'caching_sha2_password' as default fallback authentication plugin.

- WL#16342, Update MySQL error codes mapping.

- WL#16353, Refresh the list of acceptable TLS ciphers.

- Fix for Bug#114687 (Bug#36529541), Tests fail after mysql_native_password has been made optional in server.

- WL#16319, Remove deprecated insensitive terminology based methods.

- WL#16324, Update static MySQL keywords list.

- Fix for Bug#110512 (Bug#35223851), Contribution: Replace synchronized with ReentrantLock.
Thanks to Bart De Neuter and Janick Reynders for their contributions.

- Fix for Bug#108830 (Bug#34721173), LIMIT clause, setMaxRows and cursor combined returns wrong number or rows.

Version 8.4.0

- WL#15706, Add OpenTelemetry tracing.
245 changes: 240 additions & 5 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
Licensing Information User Manual

MySQL Connector/J 8.4.0 Community
MySQL Connector/J 9.0.0 Community
__________________________________________________________________

Introduction

This License Information User Manual contains Oracle's product license
and other licensing information, including licensing information for
third-party software which may be included in this distribution of
MySQL Connector/J 8.4.0 Community.
MySQL Connector/J 9.0.0 Community.

Last updated: February 2024
Last updated: May 2024

Licensing Information

This release of MySQL Connector/J 8.4.0 Community is brought to you by
This release of MySQL Connector/J 9.0.0 Community is brought to you by
the MySQL team at Oracle. This software is released under version 2 of
the GNU General Public License (GPLv2), as set forth below, with the
following additional permissions:

This distribution of MySQL Connector/J 8.4.0 Community is designed to
This distribution of MySQL Connector/J 9.0.0 Community is designed to
work with certain software that is licensed under separate terms, as
designated in a particular file or component or in the license
documentation. Without limiting your rights under the GPLv2, the
@@ -772,6 +772,28 @@ support library is itself covered by the above license.
======================================================================
======================================================================

opentelemetry-java

You may be receiving a copy of the opentelemetry-java library with this
MySQL product.

The terms of the Oracle license do NOT apply to the opentelemetry-java library;
it is licensed under the following license, separately from the Oracle programs
you receive.

If you do not wish to install this program, you may delete its files but the
Oracle program might not operate properly or at all without it.

/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/

See Apache License v2.0, January 2004 in the 'Standard Licenses' section.

======================================================================
======================================================================

Unicode Data Files

COPYRIGHT AND PERMISSION NOTICE
@@ -1338,6 +1360,219 @@ That's all there is to it!
======================================================================
======================================================================

Apache License v2.0, January 2004

The following applies to all products licensed under the Apache 2.0
License: You may not use the identified files except in compliance
with the Apache License, Version 2.0 (the "License.") You may obtain a
copy of the License at http://www.apache.org/licenses/LICENSE-2.0. A
copy of the license is also reproduced below. 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.

Apache License Version 2.0, January 2004 http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.

"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by the
copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all other
entities that control, are controlled by, or are under common control
with that entity. For the purposes of this definition, "control" means
(i) the power, direct or indirect, to cause the direction or
management of such entity, whether by contract or otherwise, or (ii)
ownership of fifty percent (50%) or more of the outstanding shares, or
(iii) beneficial ownership of such entity.

"You" (or "Your") shall mean an individual or Legal Entity exercising
permissions granted by this License.

"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.

"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but not
limited to compiled object code, generated documentation, and
conversions to other media types.

"Work" shall mean the work of authorship, whether in Source or Object
form, made available under the License, as indicated by a copyright
notice that is included in or attached to the work (an example is
provided in the Appendix below).

"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the
purposes of this License, Derivative Works shall not include works
that remain separable from, or merely link (or bind by name) to the
interfaces of, the Work and Derivative Works thereof.

"Contribution" shall mean any work of authorship, including the
original version of the Work and any modifications or additions to
that Work or Derivative Works thereof, that is intentionally submitted
to Licensor for inclusion in the Work by the copyright owner or by an
individual or Legal Entity authorized to submit on behalf of the
copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent to
the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control
systems, and issue tracking systems that are managed by, or on behalf
of, the Licensor for the purpose of discussing and improving the Work,
but excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."

"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.

2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of, publicly
display, publicly perform, sublicense, and distribute the Work and
such Derivative Works in Source or Object form.

3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except
as stated in this section) patent license to make, have made, use,
offer to sell, sell, import, and otherwise transfer the Work, where
such license applies only to those patent claims licensable by such
Contributor that are necessarily infringed by their Contribution(s)
alone or by combination of their Contribution(s) with the Work to
which such Contribution(s) was submitted. If You institute patent
litigation against any entity (including a cross-claim or counterclaim
in a lawsuit) alleging that the Work or a Contribution incorporated
within the Work constitutes direct or contributory patent
infringement, then any patent licenses granted to You under this
License for that Work shall terminate as of the date such litigation
is filed.

4. Redistribution. You may reproduce and distribute copies of the Work
or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You meet
the following conditions:

(a) You must give any other recipients of the Work or Derivative Works
a copy of this License; and

(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and

(c) You must retain, in the Source form of any Derivative Works that
You distribute, all copyright, patent, trademark, and attribution
notices from the Source form of the Work, excluding those notices that
do not pertain to any part of the Derivative Works; and

(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained

within such NOTICE file, excluding those notices that do not pertain
to any part of the Derivative Works, in at least one of the following
places: within a NOTICE text file distributed as part of the
Derivative Works; within the Source form or documentation, if provided
along with the Derivative Works; or, within a display generated by the
Derivative Works, if and wherever such third-party notices normally
appear. The contents of the NOTICE file are for informational purposes
only and do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside or as
an addendum to the NOTICE text from the Work, provided that such
additional attribution notices cannot be construed as modifying the
License.

You may add Your own copyright statement to Your modifications and may
provide additional or different license terms and conditions for use,
reproduction, or distribution of Your modifications, or for any such
Derivative Works as a whole, provided Your use, reproduction, and
distribution of the Work otherwise complies with the conditions stated
in this License.

5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work by
You to the Licensor shall be under the terms and conditions of this
License, without any additional terms or conditions. Notwithstanding
the above, nothing herein shall supersede or modify the terms of any
separate license agreement you may have executed with Licensor
regarding such Contributions.

6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty. Unless required by applicable law or agreed
to in writing, Licensor provides the Work (and each Contributor
provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied, including, without
limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT,
MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely
responsible for determining the appropriateness of using or
redistributing the Work and assume any risks associated with Your
exercise of permissions under this License.

8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise, unless
required by applicable law (such as deliberate and grossly negligent
acts) or agreed to in writing, shall any Contributor be liable to You
for damages, including any direct, indirect, special, incidental, or
consequential damages of any character arising as a result of this
License or out of the use or inability to use the Work (including but
not limited to damages for loss of goodwill, work stoppage, computer
failure or malfunction, or any and all other commercial damages or
losses), even if such Contributor has been advised of the possibility
of such damages.

9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer, and
charge a fee for, acceptance of support, warranty, indemnity, or other
liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only on
Your own behalf and on Your sole responsibility, not on behalf of any
other Contributor, and only if You agree to indemnify, defend, and
hold each Contributor harmless for any liability incurred by, or
claims asserted against, such Contributor by reason of your accepting
any such warranty or additional liability.

END OF TERMS AND CONDITIONS

APPENDIX: How to apply the Apache License to your work

To apply the Apache License to your work, attach the following boilerplate
notice, with the fields enclosed by brackets "[]" replaced with your own
identifying information. (Don't include the brackets!) The text should be
enclosed in the appropriate comment syntax for the file format. We also
recommend that a file or class name and description of purpose be included
on the same "printed page" as the copyright notice for easier identification
within third-party archives.

Copyright [yyyy] [name of copyright owner]

Licensed 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
http://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.

======================================================================
======================================================================

Written Offer for Source Code

For any software that you receive from Oracle in binary form which is
Loading