Commit Graph

51 Commits

Author SHA256 Message Date
Fridrich Strba
c3b2d958b5 Accepting request 1177097 from home:gkenion:branches:Java:packages
Update to 8.4.0

OBS-URL: https://build.opensuse.org/request/show/1177097
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=103
2024-05-27 12:10:34 +00:00
Fridrich Strba
eb7a784974 OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=101 2024-02-21 21:42:17 +00:00
Fridrich Strba
818e902180 Accepting request 1125701 from home:david.anes:branches:Java:packages
- Update to 8.2.0: 
  - Added the missing implementation for 
    Connection.releaseSavepoint(). (Bug #35811592)
  - Connector/J now supports WebAuthn Authentication. See Connecting
    Using Web Authentication (WebAuthn) Authentication for details. 
    (WL #15197)
  - The auto-deserialization function for BLOB objects, deprecated 
    since release 8.1.0, is now removed. (WL #15747)
  - The SessionStateChanges objects failed to provide proper values 
    for section state changes. This was because Connector/J parsed 
    the OK_Packet incorrectly, and this patch fixes the issue. 
    (Bug #35358417)
  - Using javax.sql.rowset.CachedRowSet#getDate() or 
    javax.sql.rowset.CachedRowSet#getTimestamp() on DATETIME fields 
    resulted in a ClassCastException. It was because the default 
    return type of DATETIME fields by ResultSet.getObject() was 
    java.time.LocalDateTime instead of java.sql.Timestamp. To 
    prevent the exception, a new connection property, 
    treatMysqlDatetimeAsTimestamp, now allows the return type of 
    DATETIME by ResultSet.getObject() to be changed to 
    java.sql.Timestamp. (Bug #107215, Bug #34139593)
  - Obtaining a connection from a MysqlConnectionPoolDataSource made 
    Connector/J reset its connection state unless the connection 
    property paranoid was set to be true. During the reset, the 
    autocommit mode of the session was restored to the default value
    specified on the server by the system variable autocommit, while 
    the JDBC specification mandates that autocommit be always 
    enabled for a freshly created connection. With this patch, the 
    connection reset will always enable autocommit in the situation. 
    (Bug #91351, Bug #28225464)

OBS-URL: https://build.opensuse.org/request/show/1125701
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=99
2023-11-13 19:07:55 +00:00
Fridrich Strba
09a3bdc594 OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=97 2023-09-26 05:15:31 +00:00
Fridrich Strba
5531fb9053 OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=92 2023-09-25 09:45:29 +00:00
Fridrich Strba
90775fa1ca Accepting request 1109485 from home:david.anes:branches:Java:packages
- Update to 8.1.0:
  - WL#15826, Deprecate autoDeserialize feature.
  - Fix for Bug#95039 (Bug#35534640), KeyManagementException: 
    FIPS mode: only SunJSSE TrustManagers may be used.
  - Fix for Bug#110321 (Bug#35167701), Issue in JDBC 
    PreparedStatement on adding NO_BACKSLASH_ESCAPES in sql_mode.

OBS-URL: https://build.opensuse.org/request/show/1109485
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=84
2023-09-07 11:14:39 +00:00
Fridrich Strba
df4a492c8d OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=82 2023-06-06 17:27:57 +00:00
Fridrich Strba
a6714badb4 OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=80 2023-06-06 17:00:36 +00:00
David Anes
a63db191b0 Accepting request 1086704 from home:david.anes:branches:Java:packages
- Security fix:
  - [CVE-2023-21971, bsc#1211247] Fix for unauthorized ability to 
    cause a hang or frequently repeatable crash (complete DOS)

OBS-URL: https://build.opensuse.org/request/show/1086704
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=78
2023-05-12 11:31:58 +00:00
Fridrich Strba
9a369092e8 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 11:19:58 +00:00
Fridrich Strba
41ecff373d Accepting request 1061603 from home:david.anes:branches:Java:packages
- Ship protobuf 3.9.2 compatible generated files to support 
  older distro versions.
  - Added file mysql-connector-java-generated-for-protobuf-3.9.2.tar.xz

OBS-URL: https://build.opensuse.org/request/show/1061603
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=73
2023-01-27 19:50:24 +00:00
a5acc314f1 Accepting request 1061325 from home:david.anes:branches:Java:packages
- Update to 8.0.32:
  - MysqlDataSource fails to URL encode database name when constructing JDBC URL.
  - serverSideStatementCache ignores resultSetType.
  - UpdatableResultSet does not properly handle unsigned primary key.
  - Connector/J 8 query with explain can not return ResultRow.
  - Add support to row alias on INSERT... ON DUPLICATE KEY UPDATE on batch mode.
  - connectionCollation ignored if characterEncoding is set.
  - Connector/J rejects UNION with CTE.
  - Malformed packet generation for `COM_STMT_EXECUTE`.
  - Connector/J client hangs after prepare & execute process with old version server.
  - Contribution: Fix name of relocation POM file.
  - Contribution: [PATCH] Remove superfluous use of boxing.
  - Contribution: Recognize "ON DUPLICATE KEY UPDATE" in "INSERT SET" Statement.
  - RPM and DEB builds broken after introducing javadoc for maven bundles.
  - Sonatype compliant POM and maven bundles.
  - Upgrade 3rd party libraries and tools.
  - Upgrade Protocol Buffers dependency to protobuf-java-3.21.9.

OBS-URL: https://build.opensuse.org/request/show/1061325
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=72
2023-01-27 07:15:22 +00:00
Fridrich Strba
2a03262005 Accepting request 1041322 from home:david.anes:branches:Java:packages
- Rebased javac-check.patch to new build.xml.
- Changed ant target from "dist" to "build", as it's been renamed.
- As Oracle renamed the package to "mysql-connector-j", we are
  "providing" both names for now, but the package has to be renamed
  to accommodate the change because the old name will be deprecated
  at some point in the future without further notice.
- Update to 8.0.31:
  Functionality Added or Changed
    * Important Change: To comply with proper naming guidelines, the
      Maven groupId and artifactId for Connector/J have been changed
      to the following starting with this release:
        groupId: com.mysql
        artifactId: mysql-connector-j
    * The old groupId and artifactId can still be used for linking 
      the Connector/J library, but they will point to a Maven 
      relocation POM, redirecting users to the new coordinates. 
      Please switch to the new coordinates as soon as possible, as 
      the old coordinates could be discontinued anytime without 
      notice. See Installing Connector/J Using Maven.
    * Also, to go with these changes, the .jar library for 
      Connector/J has been renamed to mysql-connector-j-x.y.z for 
      all channels of distribution by Oracle, not just the Maven 
      repository.
    * Before release 8.0.29, Connector/J always interpolated byte
      arrays as hexadecimal literals when obtaining a prepared 
      statement's string representation by the toString() method. 
      Since 8.0.29, all byte array values were displayed as 
      ** BYTE ARRAY DATA ** when converted to strings. The same is 
      also true for null values.
    * To allow different ways to display byte array data and null

OBS-URL: https://build.opensuse.org/request/show/1041322
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=71
2022-12-08 13:24:10 +00:00
David Anes
d080b007b9 Accepting request 992003 from home:david.anes:branches:Java:packages
- Update to 8.0.30:
  Functionality Added or Changed
    * X DevAPI: For document-modifying methods that are chained 
      after modify() and take a document path expression as one of
      its arguments (that is, set(), unset(), arrayInsert(),
      arrayAppend()), Connector/J now throws an error when the
      document path is empty or is a null string.
  Bugs Fixed
    * Historically, MySQL Server 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
      and to make things consistent, in release 8.0.30, any 
      collations prefixed with utf8_ are now prefixed with utf8mb3_ 
      instead. To go with that change, Connector/J has updated its
      character set and collation mapping accordingly in this
      release, and users are encouraged to update to Connector/J 
      8.0.30 to avoid potential issues when working with MySQL 
      Server 8.0.30 or later.
    * A few links in the CONTRIBUTING.md file in the distribution
      packages were broken. They have now been fixed or removed.
    * The description for the connection property
      rewriteBatchedStatements has been corrected, removing the
      limitation that server-sided prepared statements could not
      take advantage of the rewrite option.
    * A spelling error has been fixed in the source file for the
      PropertyDefinitions class. Thanks to Weijie Wu for 
      contributing the fix.
    * DatabaseMetaData.getTypeInfo always returned false for
      AUTO_INCREMENT for all data types. With this fix, Connector/J
      returns the correct value for each data type. Also, the

OBS-URL: https://build.opensuse.org/request/show/992003
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=69
2022-08-02 14:19:13 +00:00
Fridrich Strba
f926a1b939 OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=67 2022-07-12 11:49:43 +00:00
David Anes
3469ba37f8 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 10:29:44 +00:00
Fridrich Strba
9a3bd11c4c 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 08:08:26 +00:00
Fridrich Strba
f5a7ecf879 OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=63 2022-02-22 19:02:04 +00:00
Fridrich Strba
a31bab97c6 Accepting request 908357 from home:Andreas_Schwab:Factory
- Remove duplicate %files section

OBS-URL: https://build.opensuse.org/request/show/908357
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=61
2021-07-26 09:05:13 +00:00
Fridrich Strba
1f16d35ad9 Accepting request 907300 from home:jgrassler:branches:Java:packages
- 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
2021-07-20 11:41:31 +00:00
Fridrich Strba
56869b57ec Accepting request 818155 from home:pmonrealgonzalez:branches:Java:packages
- 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
2020-07-02 06:14:27 +00:00
Fridrich Strba
58ee288472 OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=53 2019-10-01 09:16:24 +00:00
Fridrich Strba
0aa820d95a Accepting request 646450 from home:pmonrealgonzalez:branches:Java:packages
- 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
2018-11-05 22:17:24 +00:00
Fridrich Strba
9e85268ed1 Fix build with jdk9
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=47
2017-10-06 08:15:22 +00:00
Fridrich Strba
3b93728b1b OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=46 2017-09-29 06:45:53 +00:00
Fridrich Strba
ab29e838c1 Require java 8 to build, since it is the last version that can build with source/target 1.5
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=44
2017-09-10 13:50:43 +00:00
Tomáš Chvátal
2a02d3d864 Accepting request 517936 from home:pmonrealgonzalez:branches:Java:packages
- Update to version 5.1.43
  * Fixed problems connecting to MYSQL 8.0.3.
  * Deprecating COM_SHUTDOWN
  * GETDATE(),GETTIME() AND GETTIMESTAMP() called with NULL
    calendar returs NPE
  * C/J 5.1 GIS tests are failing with MYSQL 8.0.1C/J 5.1 GIS
  * Updated time zone mappings with latest TZ databases
  * For a full list of fixed issues see CHANGES or:
    http://dev.mysql.com/doc/relnotes/connector-j/en/news-5-1.html

OBS-URL: https://build.opensuse.org/request/show/517936
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=42
2017-08-21 16:30:43 +00:00
Tomáš Chvátal
40b8356db7 Accepting request 496659 from home:DZiolkowski:branches:Java:packages
- New build dependency: javapackages-local
- cleaned spec using spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/496659
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=40
2017-05-19 11:43:26 +00:00
Tomáš Chvátal
de088f1e50 - Hardcode requirement for java 1.8 or newer to build
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=39
2017-05-18 12:39:10 +00:00
Tomáš Chvátal
64518923b8 - Add patch compile-jdk7.patch to compile with old JDK versions
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=38
2017-05-18 12:24:26 +00:00
Tomáš Chvátal
81bd08a58f - Drop patch use-classpath-in-tests.patch
- 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
2017-05-18 12:08:48 +00:00
Tomáš Chvátal
f772ac4b8f - Add patch to relax compiler check:
* javac-check.patch

OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=34
2017-05-18 11:11:06 +00:00
Tomáš Chvátal
94b1cd0d11 - Remove upstreamed mysql-connector-java-5.1.35-CVE-2017-3523.patch
- Refresh patch extra-libs-build.patch
- Drop obsolete patch jdk6-check-use-jdk7.patch
- Refresh patch no-jdk5-requirement.patch
- Attempt to refresh mysql-connector-java-jdbc-4.1.patch
  * Partialy merged by upstream, many conflicts

OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=33
2017-05-18 11:05:10 +00:00
Tomáš Chvátal
62f74de843 - Version update to 5.1.42 bsc#1035210 bsc#1035697 bsc#1035211:
* CVE-2017-3589 CVE-2017-3523 CVE-2017-3586 
  * http://dev.mysql.com/doc/relnotes/connector-j/en/news-5-1.html
- Remove upstreamed mysql-connector-java-5.1.35-CVE-2017-3523.patch

OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=31
2017-05-18 10:44:41 +00:00
Tomáš Chvátal
918e798c4c Accepting request 492515 from home:pmonrealgonzalez:branches:Java:packages
- Fix for CVE-2017-3523 (bsc#1035697)
  * Unexpected automatic deserialisation of Java objects
  * Affected software: MySQL Connector/J
  * Remote Code Execution Vulnerability
- Added patch: mysql-connector-java-5.1.35-CVE-2017-3523.patch

OBS-URL: https://build.opensuse.org/request/show/492515
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=29
2017-05-03 07:50:23 +00:00
Tomáš Chvátal
3e31a322cf - Fix the patches to allow jdbc3 build and reenable it:
* mysql-connector-java-jdbc-4.1.patch
  * no-jdk5-requirement.patch

OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=27
2015-06-11 15:13:13 +00:00
Tomáš Chvátal
e1f41462f5 - Add new patch to build tests:
* use-classpath-in-tests.patch

OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=25
2015-05-13 17:29:13 +00:00
Tomáš Chvátal
0397197231 - Update to 5.1.35 (see CHANGES for full list of issues)
bnc#927981 CVE-2015-2575:
  * http://dev.mysql.com/doc/relnotes/connector-j/en/news-5-1.html
- Remove not applicable patch:
  * mysql-connector-java-7-jdbc-4.1.patch
- Do not explicitely check for jdk6 but be happy with 7 and 8:
  * jdk6-check-use-jdk7.patch
- Do not require hibernate4 to actually build:
  * extra-libs-build.patch
- Do not build jdk5 depending jdbc3:
  * no-jdk5-requirement.patch
- Add and rebase jdbc4.1 patch:
  * mysql-connector-java-jdbc-4.1.patch

OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=21
2015-04-21 17:01:55 +00:00
Tomáš Chvátal
a7b9db33d6 new jpackage-tools
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=19
2015-03-18 10:07:54 +00:00
Tomáš Chvátal
77aaee9865 - Cleanup with spec-cleaner
- Try to build on SLE_11

OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=17
2014-06-27 12:34:22 +00:00
Michal Vyskocil
dba89fbc38 - update to 5.1.25 (see CHANGES for full list)
* 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
2013-09-19 14:22:42 +00:00
Michal Vyskocil
2aa871198f Accepting request 198859 from home:pgajdos
- add jpackages-tools to buildrequires

OBS-URL: https://build.opensuse.org/request/show/198859
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=14
2013-09-13 10:37:24 +00:00
Michal Vyskocil
837b5a3b52 - use add_maven_depmap provided by javapackages-tools
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=12
2013-08-23 09:48:38 +00:00
Michal Vyskocil
b16cccdf41 - build require java-devel >= 1.6.0 as well
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=9
2012-06-20 08:16:01 +00:00
Michal Vyskocil
c24fb792cd - fix a build with jdk7 (build jdbc 3.0 with gcj)
- remove some obsoleted macros (gcj, jboss)
- remove jars from source file as well

OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=7
2012-06-18 13:20:26 +00:00
Michal Vyskocil
531bbe3605 fix a build with jdk7
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=6
2012-06-18 13:16:55 +00:00
Stephan Kulow
1a8db28968 Accepting request 116436 from Java:packages
- remove the docs/ from source tarball due license issues

- update to 5.1.19
  * plugable authentication via com.mysql.jdbc.AuthenticationPlugin
  * retrieve servet charset name using index
  * ability to determine if the connection is against server on the same host
  * added slf4j logging adapter
  * and many more features and bugfixes
- removed -javadoc patch and package
- add maven pom

OBS-URL: https://build.opensuse.org/request/show/116436
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mysql-connector-java?expand=0&rev=12
2012-05-21 06:06:41 +00:00
OBS User unknown
f1de0891ae OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mysql-connector-java?expand=0&rev=4 2008-09-13 03:54:59 +00:00
OBS User unknown
0e23ffcd8f OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mysql-connector-java?expand=0&rev=3 2008-08-07 09:59:22 +00:00
OBS User unknown
605edc7388 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mysql-connector-java?expand=0&rev=2 2008-07-17 21:28:46 +00:00