mysql-connector-java/mysql-connector-java-remove-oci-support.patch

44 lines
4.0 KiB
Diff
Raw Normal View History

Accepting request 1082648 from home:david.anes:branches:Java:packages - Update to 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. OBS-URL: https://build.opensuse.org/request/show/1082648 OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=76
2023-04-25 13:19:58 +02:00
Index: mysql-connector-j-8.0.33/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeAuthenticationProvider.java
Accepting request 957902 from home:david.anes:branches:Java:packages - Build now from GitHub official repo: * Updated source package to build from gihub official repository. * Remove utility generate-tarball.sh which is not needed anymore. - Add patch to temporarily remove OCI IAM support while it's packaged: * Add mysql-connector-java-remove-oci-support.patch - Update to 8.0.28 (CVE-2021-2471, bsc#1195557): Changes in 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. * 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. Changesd in 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. OBS-URL: https://build.opensuse.org/request/show/957902 OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=64
2022-02-28 09:08:26 +01:00
===================================================================
Accepting request 1082648 from home:david.anes:branches:Java:packages - Update to 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. OBS-URL: https://build.opensuse.org/request/show/1082648 OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=76
2023-04-25 13:19:58 +02:00
--- mysql-connector-j-8.0.33.orig/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeAuthenticationProvider.java
+++ mysql-connector-j-8.0.33/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeAuthenticationProvider.java
Accepting request 973641 from home:david.anes:branches:Java:packages - Update to 8.0.29: Functionality added or changed: * Historically, MySQL has used utf8 as an alias for utf8mb3. Since release 8.0.29, utf8mb3 has become a recognized (though deprecated) character set on its own for MySQL Server. Therefore, Connector/J has added utf8mb3 to its character set mapping, and users are encouraged to update to Connector/J 8.0.29 to avoid potential issues when working with MySQL Server 8.0.29 or later. (Bug #33850155) * A new connection property socksProxyRemoteDns has been added, which, when set to true, makes the SocksProxySocketFactory execute its own connect() implementation that passes the unresolved InetSocketAddress of a MySQL Server host to the created proxy socket, instead of having the address resolved locally. (Bug #77924, Bug #25710160) * The code for prepared statements has been refactored to make the code simpler and the logic for binding more consistent between ServerPreparedStatement and ClientPreparedStatement. * Connector/J now supports Fast Identity Online (FIDO) Authentication. See Connecting Using Fast Identity Online (FIDO) Authentication for details. Bugs fixed: * X DevAPI: If the connection property xdevapi.ssl-mode was set to DISABLED (or xdevapi.ssl-mode was not set, but the value was picked up from the sslMode setting), specifying some of the security properties caused Connector/J to throw an error. With this fix, even when encryption is turned off and irrelevant security properties are set, Connector/J does not throw an error. * DatabaseMetaData.getDefaultTransactionIsolation() returned a OBS-URL: https://build.opensuse.org/request/show/973641 OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=65
2022-04-28 12:29:44 +02:00
@@ -58,7 +58,6 @@ import com.mysql.cj.protocol.a.NativeCon
import com.mysql.cj.protocol.a.authentication.AuthenticationFidoClient;
Accepting request 957902 from home:david.anes:branches:Java:packages - Build now from GitHub official repo: * Updated source package to build from gihub official repository. * Remove utility generate-tarball.sh which is not needed anymore. - Add patch to temporarily remove OCI IAM support while it's packaged: * Add mysql-connector-java-remove-oci-support.patch - Update to 8.0.28 (CVE-2021-2471, bsc#1195557): Changes in 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. * 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. Changesd in 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. OBS-URL: https://build.opensuse.org/request/show/957902 OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=64
2022-02-28 09:08:26 +01:00
import com.mysql.cj.protocol.a.authentication.AuthenticationKerberosClient;
import com.mysql.cj.protocol.a.authentication.AuthenticationLdapSaslClientPlugin;
-import com.mysql.cj.protocol.a.authentication.AuthenticationOciClient;
import com.mysql.cj.protocol.a.authentication.CachingSha2PasswordPlugin;
import com.mysql.cj.protocol.a.authentication.MysqlClearPasswordPlugin;
import com.mysql.cj.protocol.a.authentication.MysqlNativePasswordPlugin;
Accepting request 1082648 from home:david.anes:branches:Java:packages - Update to 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. OBS-URL: https://build.opensuse.org/request/show/1082648 OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=76
2023-04-25 13:19:58 +02:00
@@ -257,7 +256,6 @@ public class NativeAuthenticationProvide
Accepting request 957902 from home:david.anes:branches:Java:packages - Build now from GitHub official repo: * Updated source package to build from gihub official repository. * Remove utility generate-tarball.sh which is not needed anymore. - Add patch to temporarily remove OCI IAM support while it's packaged: * Add mysql-connector-java-remove-oci-support.patch - Update to 8.0.28 (CVE-2021-2471, bsc#1195557): Changes in 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. * 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. Changesd in 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. OBS-URL: https://build.opensuse.org/request/show/957902 OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=64
2022-02-28 09:08:26 +01:00
pluginsToInit.add(new MysqlOldPasswordPlugin());
pluginsToInit.add(new AuthenticationLdapSaslClientPlugin());
pluginsToInit.add(new AuthenticationKerberosClient());
- pluginsToInit.add(new AuthenticationOciClient());
Accepting request 973641 from home:david.anes:branches:Java:packages - Update to 8.0.29: Functionality added or changed: * Historically, MySQL has used utf8 as an alias for utf8mb3. Since release 8.0.29, utf8mb3 has become a recognized (though deprecated) character set on its own for MySQL Server. Therefore, Connector/J has added utf8mb3 to its character set mapping, and users are encouraged to update to Connector/J 8.0.29 to avoid potential issues when working with MySQL Server 8.0.29 or later. (Bug #33850155) * A new connection property socksProxyRemoteDns has been added, which, when set to true, makes the SocksProxySocketFactory execute its own connect() implementation that passes the unresolved InetSocketAddress of a MySQL Server host to the created proxy socket, instead of having the address resolved locally. (Bug #77924, Bug #25710160) * The code for prepared statements has been refactored to make the code simpler and the logic for binding more consistent between ServerPreparedStatement and ClientPreparedStatement. * Connector/J now supports Fast Identity Online (FIDO) Authentication. See Connecting Using Fast Identity Online (FIDO) Authentication for details. Bugs fixed: * X DevAPI: If the connection property xdevapi.ssl-mode was set to DISABLED (or xdevapi.ssl-mode was not set, but the value was picked up from the sslMode setting), specifying some of the security properties caused Connector/J to throw an error. With this fix, even when encryption is turned off and irrelevant security properties are set, Connector/J does not throw an error. * DatabaseMetaData.getDefaultTransactionIsolation() returned a OBS-URL: https://build.opensuse.org/request/show/973641 OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=65
2022-04-28 12:29:44 +02:00
pluginsToInit.add(new AuthenticationFidoClient());
Accepting request 957902 from home:david.anes:branches:Java:packages - Build now from GitHub official repo: * Updated source package to build from gihub official repository. * Remove utility generate-tarball.sh which is not needed anymore. - Add patch to temporarily remove OCI IAM support while it's packaged: * Add mysql-connector-java-remove-oci-support.patch - Update to 8.0.28 (CVE-2021-2471, bsc#1195557): Changes in 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. * 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. Changesd in 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. OBS-URL: https://build.opensuse.org/request/show/957902 OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=64
2022-02-28 09:08:26 +01:00
// plugins from authenticationPluginClasses connection parameter
Accepting request 1082648 from home:david.anes:branches:Java:packages - Update to 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. OBS-URL: https://build.opensuse.org/request/show/1082648 OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=76
2023-04-25 13:19:58 +02:00
Index: mysql-connector-j-8.0.33/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties
Accepting request 957902 from home:david.anes:branches:Java:packages - Build now from GitHub official repo: * Updated source package to build from gihub official repository. * Remove utility generate-tarball.sh which is not needed anymore. - Add patch to temporarily remove OCI IAM support while it's packaged: * Add mysql-connector-java-remove-oci-support.patch - Update to 8.0.28 (CVE-2021-2471, bsc#1195557): Changes in 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. * 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. Changesd in 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. OBS-URL: https://build.opensuse.org/request/show/957902 OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=64
2022-02-28 09:08:26 +01:00
===================================================================
Accepting request 1082648 from home:david.anes:branches:Java:packages - Update to 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. OBS-URL: https://build.opensuse.org/request/show/1082648 OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=76
2023-04-25 13:19:58 +02:00
--- mysql-connector-j-8.0.33.orig/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties
+++ mysql-connector-j-8.0.33/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties
@@ -49,18 +49,6 @@ AuthenticationLdapSaslClientPlugin.Missi
Accepting request 957902 from home:david.anes:branches:Java:packages - Build now from GitHub official repo: * Updated source package to build from gihub official repository. * Remove utility generate-tarball.sh which is not needed anymore. - Add patch to temporarily remove OCI IAM support while it's packaged: * Add mysql-connector-java-remove-oci-support.patch - Update to 8.0.28 (CVE-2021-2471, bsc#1195557): Changes in 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. * 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. Changesd in 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. OBS-URL: https://build.opensuse.org/request/show/957902 OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=64
2022-02-28 09:08:26 +01:00
AuthenticationLdapSaslClientPlugin.FailCreateSaslClient=Failed creating a SASL client for the authentication mechanism ''{0}''.
AuthenticationLdapSaslClientPlugin.ErrProcessingAuthIter=Error while processing an authentication iteration for the authentication mechanism ''{0}''.
Accepting request 1082648 from home:david.anes:branches:Java:packages - Update to 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. OBS-URL: https://build.opensuse.org/request/show/1082648 OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=76
2023-04-25 13:19:58 +02:00
-AuthenticationOciClientPlugin.ConfigFileNotFound=OCI configuration file not found.
-AuthenticationOciClientPlugin.OciSdkNotFound=The OCI SDK cannot be found or it is not installed.
-AuthenticationOciClientPlugin.OciConfigFileError=The OCI configuration file cannot be read.
-AuthenticationOciClientPlugin.ProfileNotFound=The specified profile is not found in the OCI configuration file.
-AuthenticationOciClientPlugin.OciConfigFileMissingEntry=The OCI configuration file does not contain a ''fingerprint'' or ''key_file'' entry.
-AuthenticationOciClientPlugin.PrivateKeyNotFound=The private key cannot be found at the location referenced in the OCI configuration entry ''key_file''.
-AuthenticationOciClientPlugin.FailedReadingPrivateKey=Failed reading the private key file referenced in the OCI configuration entry ''key_file''.
-AuthenticationOciClientPlugin.PrivateKeyNotValid=The OCI configuration entry ''key_file'' does not reference a valid key file.
-AuthenticationOciClientPlugin.SecurityTokenFileNotFound=The security token file cannot be found at the location referenced in the OCI configuration entry ''security_token_file''.
-AuthenticationOciClientPlugin.SecurityTokenTooBig=Invalid security token file. File size above 10 KB.
-AuthenticationOciClientPlugin.FailedReadingSecurityTokenFile=Failed reading the security token file referenced in the OCI configuration entry ''security_token_file''.
Accepting request 957902 from home:david.anes:branches:Java:packages - Build now from GitHub official repo: * Updated source package to build from gihub official repository. * Remove utility generate-tarball.sh which is not needed anymore. - Add patch to temporarily remove OCI IAM support while it's packaged: * Add mysql-connector-java-remove-oci-support.patch - Update to 8.0.28 (CVE-2021-2471, bsc#1195557): Changes in 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. * 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. Changesd in 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. OBS-URL: https://build.opensuse.org/request/show/957902 OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=64
2022-02-28 09:08:26 +01:00
-
AuthenticationProvider.BadDefaultAuthenticationPlugin=Improper value "{0}" for property ''defaultAuthenticationPlugin''.
AuthenticationProvider.DefaultAuthenticationPluginIsNotListed=Default authentication plugin "{0}" is neither one of the built-in plugins nor one of the plugins listed in ''authenticationPlugins''.
Accepting request 1082648 from home:david.anes:branches:Java:packages - Update to 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. OBS-URL: https://build.opensuse.org/request/show/1082648 OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=76
2023-04-25 13:19:58 +02:00
AuthenticationProvider.BadDisabledAuthenticationPlugin=Can''t disable the default authentication plugin. Either remove "{0}" from the disabled authentication plugins list, or choose a different default authentication plugin.