- 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
- Remove hibernate-check.patch (fixed upstream)
- Remove mysql-connector-java-jdbc-4.1.patch (fixed upstream)
- Remove disable-testsuite.patch mysql-connector-java-jdbc-4.1.patch (fixed upstream)
- Remove compile-jdk7.patch (fixed upstream)
- Remove mysql-connector-java-sourcetarget.patch (fixed upstream)
- Refresh javac-check.patch
- Depend on log4j rather than log4j-mini and adjust log4j dependencies to
account for the lack of log4j12 Provides in some code streams.
- Add missing Group tag
- Update to 8.0.25 (SOC-11543)
Changes in 8.0.25
* No functional changes: version alignment with MySQL Server 8.0.25.
Changes in 8.0.24
* Bug#102188 (32526663), AccessControlException with AuthenticationLdapSaslClientPlugin.
* Bug#22508715, SETSESSIONMAXROWS() CALL ON CLOSED CONNECTION RESULTS IN NPE.
* Bug#102131 (32338451), UPDATABLERESULTSET NPE WHEN USING DERIVED QUERIES OR VIEWS.
* Bug#101596 (32151143), GET THE 'HOST' PROPERTY ERROR AFTER CALLING TRANSFORMPROPERTIES() METHOD.
* Bug#20391832, SETOBJECT() FOR TYPES.TIME RESULTS IN EXCEPTION WHEN VALUE HAS FRACTIONAL PART.
* Bug#97730 (31699993), xdev api: ConcurrentModificationException at Session.close.
* Bug#99708 (31510398), mysql-connector-java 8.0.20 ASSERTION FAILED: Unknown message type: 57 s.close.
* Bug#32122553, EXTRA BYTE IN COM_STMT_EXECUTE.
* Bug#101558 (32141210), NULLPOINTEREXCEPTION WHEN EXECUTING INVALID QUERY WITH USEUSAGEADVISOR ENABLED.
* Bug#102076 (32329915), CONTRIBUTION: MYSQL JDBC DRIVER RESULTSET.GETLONG() THROWS NUMBEROUTOFRANGE.
* Bug#31747910, BUG 30474158 FIX IMPROVES JDBC COMPLIANCE BUT CHANGES DEFAULT RESULTSETTYPE HANDLING.
* 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.
Changes in 8.0.23
* Bug#21789378, FORCED TO SET SERVER TIMEZONE IN CONNECT STRING.
OBS-URL: https://build.opensuse.org/request/show/907300
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=57
- Update to 5.1.49 [bsc#1173600, CVE-2020-2875, CVE-2020-2933, CVE-2020-2934]
- Changes in 5.1.49:
* INSERT..VALUE..lead to invalidation of batch insert.
* CLIENT HANG WHEN LOADBALANCESTRATEGY IS BESTRESPONSETIME.
* Remove third-party libraries from sources and bundles.
* PREPAREDSTATEMENT.SETOBJECT(I, "FALSE", TYPES.BOOLEAN) ALWAYS SETS TRUE OR 1.
* Not recommended default for 'allowLoadLocalInfile'.
* Disable external entities in Fabric's XML parser.
* INCORRECT DATE ERROR WHEN CALLING GETMETADATA ON PREPARED STATEMENT.
- Changes in 5.1.48:
* COMMUNITY README AND README.TXT FILES HAS THE WRONG YEAR (2018).
* REGRESSION UNIT TESTS FAILS WHEN THE 8.0 SERVER'S CHARSET IS SET TO DEFAULT UTF8MB4.
* Update README.md and add new CONTRIBUTING.md.
* Improve DatabaseMetaData.getSQLKeywords() to include new reserved words.
* Parameter metadata inferred incorrectly when procedure or function doesn't exist.
* Can't execute a stored procedure if exists function with same name.
* PSTMT.EXECUTEUPDATE() FAILS WHEN SQL MODE IS NO_BACKSLASH_ESCAPES.
* SYNTAX ERROR ON RESULTSET.UPDATEROW() WITH SQL_MODE NO_BACKSLASH_ESCAPES.
* PREPAREDSTATEMENT.SETTIMESTAMP NULLPOINTEREXCEPTION.
* Support new utf8mb4 bin collation.
* GETTABLENAME() RETURNS NULL FOR A QUERY HAVING COUNT(*) WITH JDBC DRIVER V8.0.12.
* SETTING LOGSLOWQUERIES SHOULD NOT AUTOMATICALLY ENABLE PROFILESQL FOR QUERIES.
* PROFILEREVENT HOSTNAME HAS NO GETTER().
* CONNECTOR J WITH PROFILESQL - LOG CONTAINS LOTS OF STACKTRACE DATA.
* PROFILEREVENT.PACK() THROWS ARRAYINDEXOUTOFBOUNDSEXCEPTION.
* CHARACTERS GET GARBLED IN CONCAT() IN PS WHEN USECURSORFETCH=TRUE.
* javax.net.ssl.SSLException: closing inbound before receiving peer's close_notify.
* PLEASE AVOID SHOW PROCESSLIST IF POSSIBLE.
* Wrong defaults on collation mappings.
* ADD MAPPING FOR UTF8MB4_ZH_0900_AS_CS COLLATION.
OBS-URL: https://build.opensuse.org/request/show/818155
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=55
- Updated to 5.1.47
- Bug#28449601, MASTER : UNITTEST FOR BUG#22305979 (TESTBUG22305979) STILL FAILS ON QA SETUP.
- Bug#81063 (23098159), w/ rewriteBatchedStatements, when 2 tables involved, the rewriting not correct.
- Bug#84813 (25501750), rewriteBatchedStatements fails in INSERT.
- Fix for Bug#81196 (23227334), CONNECTOR/J NOT FOLLOWING DATABASE CHARACTER SET.
- Bug#72609 (18749544), SETDATE() NOT USING A PROLEPTIC GREGORIAN CALENDAR.
- Bug#87534 (26730196), UNION ALL query fails when useServerPrepStmts=true
on database connection. Test case only. Base bug fixed in MySQL 5.7.22.
- Bug#89948 (27658489), Batched statements are not committed for useLocalTransactionState=true.
- BUG#80532 (22847443), ENCODING OF RESULTSET.UPDATEROW IS BROKEN FOR NON ASCII CHARCTERS.
- BUG#22305979, WRONG RECORD UPDATED IF SENDFRACTIONALSECONDS=FALSE AND SMT IS SCROLLABLE.
- BUG#90024 (27677574), SOME TESTS FAILED AGAINST MYSQL 8.0.5 BECAUSE OF DEPRECATED FEATURES REMOVAL.
- Updated to 5.1.46
- WL#11629, Change caching_sha2_password padding.
- Bug#86741 (26314325), Multi-Host connection with autocommit=0 getAutoCommit maybe wrong.
- Bug#27231383, PROVIDE MAVEN-FRIENDLY COMMERCIAL PACKAGES WITHOUT "-BIN".
- Bug#26819691, SETTING PACKETDEBUGBUFFERSIZE=0 RESULTS IN CONNECTION FAILURE.
- WL#11200, Add caching_sha2_password support.
- Bug#88227 (27029657), Connector/J 5.1.44 cannot be used against MySQL 5.7.20 without warnings.
- Bug#27374581, CONNECTION FAILS WHEN GPL SERVER STARTED WITH TLS-VERSION=TLSV1.2.
- Bug#79612 (22362474), CONNECTION ATTRIBUTES LOST WHEN CONNECTING WITHOUT DEFAULT DATABASE.
- Updated to 5.1.45
- Bug#27131768, NULL POINTER EXCEPTION IN CONNECTION.
- Bug#88232 (27047676), c/J does not rollback transaction when autoReconnect=true.
- Bug#88242 (27040063), autoReconnect and socketTimeout JDBC option makes wrong order of client packet.
- Bug#88021 (26939943), High GC pressure when driver configured with serversideprepared statements.
- Bug#26724085, CHARSET MAPPING TO BE UPDATED FOR MYSQL 8.0.3.
- Bug#26794652, TEST FAILING DUE TO BINARY LOGGING ENABLED BY DEFAULT IN MYSQL 8.0.3.
- Bug#26794602, TESTS FAILING DUE TO CHANGE IN INFORMATION_SCHEMA.INNODB_SYS_* NAMING.
- Bug#87704 (26771560), THE STREAM GETS THE RESULT SET ?THE DRIVER SIDE GET WRONG ABOUT GETLONG().
OBS-URL: https://build.opensuse.org/request/show/646450
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=51
- Add patch disabling testsuite:
* disable-testsuite.patch
- Drop patch extra-libs-build.patch:
* Rather use the thing to propagate some wrongly found libs
- Drop patch no-jdk5-requirement.patch:
* Simply override the value in ant command
- Add patch hibernate-check.patch to remove hibernate check
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=36
* support for Connection Attributes when used with MySQL Server versions (5.6+).
5.1.24
* support of password expiration protocol. This introduces new boolean
connection property disconnectOnExpiredPasswords.
5.1.23
* added support of password expiration protocol.
* driver now allows the mechanism for caching MySQL server configuration
values replaceable at runtime.
* Connection.setReadOnly() will take advantage of server-side support for
read-only transactions present in MySQL-5.6 and newer. Calling .isReadOnly()
will incur a round-trip if useLocalSessionState.
5.1.22
* support of ON UPDATE CURRENT_TIMESTAMP for TIMESTAMP and DATETIME fields.
5.1.21
* new built-in authentication plugin
com.mysql.jdbc.authentication.Sha256PasswordPlugin ("sha256_password").
* Added new built-in authentication plugin
com.mysql.jdbc.authentication.MysqlClearPasswordPlugin ("mysql_clear_password").
It allows C/J based clients to connect to MySQL accounts.
* the ability to add new client-side prepared statement parse info caches
* implemented several JDBC-4.1 methods from Java-7:
5.1.19:
* Added support for pluggable authentication via the com.mysql.jdbc.AuthenticationPlugin
- rebase and rename mysql-connector-java-5.1.19-java7.patch to
* mysql-connector-java-7-jdbc-4.1.patch
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=15