From 60324aa8fbe47a7ff3b08373adac78e11f07dfb0 Mon Sep 17 00:00:00 2001 From: Filipe Silva Date: Fri, 5 Jan 2024 23:05:24 +0000 Subject: [PATCH 01/18] Post-release version bump. Change-Id: Idc3c030c604de2531655635e2f0100cd2a4d1e1f --- CHANGES | 2 ++ README.md | 6 +++--- build.xml | 8 ++++---- src/build/misc/Product.wxs | 6 +++--- 4 files changed, 12 insertions(+), 10 deletions(-) diff --git a/CHANGES b/CHANGES index 84f2afbf6..b6bb320b8 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,8 @@ # Changelog # https://dev.mysql.com/doc/relnotes/connector-j/en/ +Version 8.4.0 + Version 8.3.0 - Fix for Bug#107107 (Bug#34101635), Redundant "Reset stmt" when setting useServerPrepStmts&cachePrepStmts to true. diff --git a/README.md b/README.md index 89b9d3df9..ceb77adda 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ MySQL provides connectivity for client applications developed in the Java programming language with MySQL Connector/J, a driver that implements the [Java Database Connectivity (JDBC) API](https://www.oracle.com/technetwork/java/javase/jdbc/) and also [MySQL X DevAPI](https://dev.mysql.com/doc/x-devapi-userguide/en/). -MySQL Connector/J 8.3 is a JDBC Type 4 driver that is compatible with the [JDBC 4.2](https://docs.oracle.com/javase/8/docs/technotes/guides/jdbc/) specification. The Type 4 designation means that the driver is a pure Java implementation of the MySQL protocol and does not rely on the MySQL client libraries. +MySQL Connector/J 8.4 is a JDBC Type 4 driver that is compatible with the [JDBC 4.2](https://docs.oracle.com/javase/8/docs/technotes/guides/jdbc/) specification. The Type 4 designation means that the driver is a pure Java implementation of the MySQL protocol and does not rely on the MySQL client libraries. The driver also contains an implementation of [MySQL X DevAPI](https://dev.mysql.com/doc/x-devapi-userguide/en/), an application programming interface for working with [MySQL as a Document Store](https://dev.mysql.com/doc/refman/en/document-store.html) through CRUD-based, NoSQL operations. @@ -35,7 +35,7 @@ Alternatively, MySQL Connector/J can be obtained automatically via [Maven's depe com.mysql mysql-connector-j - 8.3.0 + 8.4.0 ``` @@ -45,7 +45,7 @@ MySQL Connector/J's own Project Object Model (POM) file specifies a transitive d com.mysql mysql-connector-j - 8.3.0 + 8.4.0 com.google.protobuf diff --git a/build.xml b/build.xml index a1f25f632..f8c3835ae 100644 --- a/build.xml +++ b/build.xml @@ -1,6 +1,6 @@ From 6898ba81d3b632638bf76213ab83796251e52ecd Mon Sep 17 00:00:00 2001 From: Filipe Silva Date: Sat, 6 Jan 2024 01:01:26 +0000 Subject: [PATCH 02/18] Fix for WL#15197 title in CHANGES. Change-Id: Iccbdbeebcda327ffdaeecfc5755cd08f6aaad883 --- CHANGES | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index b6bb320b8..8015a9dea 100644 --- a/CHANGES +++ b/CHANGES @@ -38,7 +38,7 @@ Version 8.2.0 - Fix for Bug#91351 (Bug#28225464), MysqlConnectionPoolDataSource - autocommit status lost if global autocommit = 0. - - WL#15197, Support WebauthN in fido authentication plugin. + - WL#15197, Support WebAuthn authentication plugin. - Fix for Bug#107215 (Bug#34139593), ClassCastException: java.time.LocalDateTime cannot be cast to java.sql.Timestamp. From 2c79721a4b93fd87fd17b9f828669c8900884bb4 Mon Sep 17 00:00:00 2001 From: Filipe Silva Date: Tue, 9 Jan 2024 18:44:19 +0000 Subject: [PATCH 03/18] Test case for Bug#77183 (21181501), INSERT..VALUE..lead to invalidation of batch insert. Change-Id: I44932ce189e361405de66a15fc161293daa935c4 --- .../regression/StatementRegressionTest.java | 70 ++++++++++++++++++- 1 file changed, 69 insertions(+), 1 deletion(-) diff --git a/src/test/java/testsuite/regression/StatementRegressionTest.java b/src/test/java/testsuite/regression/StatementRegressionTest.java index a9467a970..2be81e50d 100644 --- a/src/test/java/testsuite/regression/StatementRegressionTest.java +++ b/src/test/java/testsuite/regression/StatementRegressionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, version 2.0, as published by the @@ -128,6 +128,7 @@ import com.mysql.cj.conf.PropertyDefinitions.DatabaseTerm; import com.mysql.cj.conf.PropertyDefinitions.SslMode; import com.mysql.cj.conf.PropertyKey; +import com.mysql.cj.conf.PropertySet; import com.mysql.cj.exceptions.CJCommunicationsException; import com.mysql.cj.exceptions.ExceptionFactory; import com.mysql.cj.exceptions.MysqlErrorNumbers; @@ -13606,4 +13607,71 @@ void testBug107107() throws Exception { } } + /** + * Test fix for Bug#77183 (21181501), INSERT..VALUE..lead to invalidation of batch insert. + * + * @throws Exception + */ + @Test + public void testBug77183() throws Exception { + createTable("testBug77183", "(c1 INT, c2 INT)"); + + boolean useSPS = false; + boolean rwBS = false; + boolean useRep = false; + boolean useValue = false; + + do { + Properties props = new Properties(); + props.setProperty(PropertyKey.useServerPrepStmts.getKeyName(), Boolean.toString(useSPS)); + props.setProperty(PropertyKey.rewriteBatchedStatements.getKeyName(), Boolean.toString(rwBS)); + props.setProperty(PropertyKey.queryInterceptors.getKeyName(), TestBug77183StatementInterceptor.class.getName()); + + Connection testConn = getConnectionWithProps(props); + + this.pstmt = testConn.prepareStatement((useRep ? "REPLACE" : "INSERT") + " INTO testBug77183 " + (useValue ? "VALUE" : "VALUES") + " (?, ?)"); + for (int i = 1; i <= 3; i++) { + this.pstmt.setInt(1, i); + this.pstmt.setInt(2, i); + this.pstmt.addBatch(); + } + this.pstmt.executeBatch(); + + testConn.close(); + } while ((useSPS = !useSPS) || (rwBS = !rwBS) || (useRep = !useRep) || (useValue = !useValue)); + + assertEquals(32, TestBug77183StatementInterceptor.countInterceptions); + } + + public static class TestBug77183StatementInterceptor extends BaseQueryInterceptor { + + public static int countInterceptions = 0; + + @Override + public T preProcess(java.util.function.Supplier sql, Query interceptedQuery) { + String query = sql.get(); + if (query == null && interceptedQuery instanceof JdbcPreparedStatement) { + query = interceptedQuery.toString(); + query = query.substring(query.indexOf(':') + 2); + } + + if (interceptedQuery != null) { + countInterceptions++; + + PropertySet pset = interceptedQuery.getSession().getPropertySet(); + + final boolean useSPS = pset.getBooleanProperty(PropertyKey.useServerPrepStmts).getValue(); + final boolean rwBS = pset.getBooleanProperty(PropertyKey.rewriteBatchedStatements).getValue(); + final String testCase = String.format("Case [SPS: %s, RwBS: %s, Query: %s]", useSPS ? "Y" : "N", rwBS ? "Y" : "N", sql); + final int numParamSets = query.length() - query.replace("(", "").length(); + final int numPlaceholders = query.length() - query.replace("?", "").length(); + + assertEquals(rwBS ? 3 : 1, numParamSets, testCase); + assertEquals(useSPS ? rwBS ? 6 : 2 : 0, numPlaceholders, testCase); + } + return super.preProcess(sql, interceptedQuery); + } + + } + } From 53e6875d7eb8e5f60020d57d2fa8d4834a3ed01e Mon Sep 17 00:00:00 2001 From: Filipe Silva Date: Tue, 9 Jan 2024 21:48:40 +0000 Subject: [PATCH 04/18] Fix for Bug#23143279, CLIENT HANG WHEN LOADBALANCESTRATEGY IS BESTRESPONSETIME. Change-Id: I5a72e15d4f6647c18c1a407347014be75199554f --- CHANGES | 2 + .../ha/BestResponseTimeBalanceStrategy.java | 15 ++- .../regression/ConnectionRegressionTest.java | 114 +++++++++++++++++- 3 files changed, 122 insertions(+), 9 deletions(-) diff --git a/CHANGES b/CHANGES index 8015a9dea..1bd8e37c8 100644 --- a/CHANGES +++ b/CHANGES @@ -3,6 +3,8 @@ Version 8.4.0 + - Fix for Bug#23143279, CLIENT HANG WHEN LOADBALANCESTRATEGY IS BESTRESPONSETIME. + Version 8.3.0 - Fix for Bug#107107 (Bug#34101635), Redundant "Reset stmt" when setting useServerPrepStmts&cachePrepStmts to true. diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/ha/BestResponseTimeBalanceStrategy.java b/src/main/user-impl/java/com/mysql/cj/jdbc/ha/BestResponseTimeBalanceStrategy.java index d5b1e85f8..0e6516300 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/ha/BestResponseTimeBalanceStrategy.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/ha/BestResponseTimeBalanceStrategy.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, version 2.0, as published by the @@ -31,6 +31,7 @@ import java.lang.reflect.InvocationHandler; import java.sql.SQLException; +import java.util.ArrayList; import java.util.List; import java.util.Map; @@ -45,13 +46,14 @@ public BestResponseTimeBalanceStrategy() { @Override public ConnectionImpl pickConnection(InvocationHandler proxy, List configuredHosts, Map liveConnections, long[] responseTimes, int numRetries) throws SQLException { + List allowList = new ArrayList<>(configuredHosts.size()); + allowList.addAll(configuredHosts); Map blockList = ((LoadBalancedConnectionProxy) proxy).getGlobalBlocklist(); + allowList.removeAll(blockList.keySet()); SQLException ex = null; - for (int attempts = 0; attempts < numRetries;) { long minResponseTime = Long.MAX_VALUE; - int bestHostIndex = 0; // safety @@ -62,10 +64,9 @@ public ConnectionImpl pickConnection(InvocationHandler proxy, List confi for (int i = 0; i < responseTimes.length; i++) { long candidateResponseTime = responseTimes[i]; - if (candidateResponseTime < minResponseTime && !blockList.containsKey(configuredHosts.get(i))) { + if (candidateResponseTime < minResponseTime && !blockList.containsKey(allowList.get(i))) { if (candidateResponseTime == 0) { bestHostIndex = i; - break; } @@ -74,10 +75,8 @@ public ConnectionImpl pickConnection(InvocationHandler proxy, List confi } } - String bestHost = configuredHosts.get(bestHostIndex); - + String bestHost = allowList.get(bestHostIndex); ConnectionImpl conn = (ConnectionImpl) liveConnections.get(bestHost); - if (conn == null) { try { conn = ((LoadBalancedConnectionProxy) proxy).createConnectionForHost(bestHost); diff --git a/src/test/java/testsuite/regression/ConnectionRegressionTest.java b/src/test/java/testsuite/regression/ConnectionRegressionTest.java index f7d179f56..c69a78de3 100644 --- a/src/test/java/testsuite/regression/ConnectionRegressionTest.java +++ b/src/test/java/testsuite/regression/ConnectionRegressionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, version 2.0, as published by the @@ -12017,4 +12017,116 @@ public void handleSessionStateChanges(ServerSessionStateChanges changes) { } + /** + * Test fix for Bug#23143279, CLIENT HANG WHEN LOADBALANCESTRATEGY IS BESTRESPONSETIME. + * + * @throws Exception + */ + @Test + public void testBug23143279() throws Exception { + testBug23143279RunTest("random"); + testBug23143279RunTest("bestResponseTime"); + testBug23143279RunTest("serverAffinity"); + testBug23143279RunTest(SequentialBalanceStrategy.class.getName()); + } + + private void testBug23143279RunTest(String lbStrategy) throws Exception { + final String defaultHost = getPropertiesFromTestsuiteUrl().getProperty(PropertyKey.HOST.getKeyName()); + final String defaultPort = getPropertiesFromTestsuiteUrl().getProperty(PropertyKey.PORT.getKeyName()); + + final String host1 = "first"; + final String host2 = "second"; + final String host3 = "third"; + final String host4 = "fourth"; + final String hostPort4 = host4 + ":" + defaultPort; + + final String uniqueId = String.valueOf(lbStrategy.substring(lbStrategy.lastIndexOf('.') + 1, lbStrategy.lastIndexOf('.') + 4)).toUpperCase(); + final String connGroupName = "testBug23143279" + uniqueId; + + final Properties props = new Properties(); + props.setProperty(PropertyKey.sslMode.getKeyName(), "DISABLED"); + props.setProperty(PropertyKey.loadBalanceHostRemovalGracePeriod.getKeyName(), "0"); + props.setProperty(PropertyKey.loadBalanceConnectionGroup.getKeyName(), connGroupName); + props.setProperty(PropertyKey.ha_loadBalanceStrategy.getKeyName(), lbStrategy); + + System.out.println("\n\nTEST: " + lbStrategy); + System.out.println("********************************************************************************"); + System.out.println("\tHosts group: " + connGroupName); + + final Connection testConn = getUnreliableLoadBalancedConnection(new String[] { host1, host2, host3 }, props, + new HashSet<>(Arrays.asList(host2, host3))); + UnreliableSocketFactory.mapHost(host4, defaultHost); + + System.out.println("\nStep 1: initial connection"); + System.out.println("********************************************************************************"); + System.out.println("\tHosts count: " + ConnectionGroupManager.getActiveHostCount(connGroupName)); + System.out.println("\tHosts: " + ConnectionGroupManager.getActiveHostLists(connGroupName)); + System.out.println("\tConnected to: " + ((JdbcConnection) testConn).getHostPortPair()); + System.out.println("\tConnection id: " + ((MysqlConnection) testConn).getId()); + + assertEquals(host1 + ":" + defaultPort, ((JdbcConnection) testConn).getHostPortPair()); + + this.stmt.execute("KILL CONNECTION " + ((MysqlConnection) testConn).getId()); + assertThrows(SQLException.class, () -> testConn.createStatement().executeQuery("SELECT 1")); + + System.out.println("\nStep 2: after killing the active connection and having reconnected"); + System.out.println("********************************************************************************"); + System.out.println("\tHosts count: " + ConnectionGroupManager.getActiveHostCount(connGroupName)); + System.out.println("\tHosts: " + ConnectionGroupManager.getActiveHostLists(connGroupName)); + System.out.println("\tConnected to: " + ((JdbcConnection) testConn).getHostPortPair()); + System.out.println("\tConnection id: " + ((MysqlConnection) testConn).getId()); + + assertEquals(host1 + ":" + defaultPort, ((JdbcConnection) testConn).getHostPortPair()); + + ConnectionGroupManager.addHost(connGroupName, hostPort4, true); + + System.out.println("\nStep 3: after adding a new host"); + System.out.println("********************************************************************************"); + System.out.println("\tHosts count: " + ConnectionGroupManager.getActiveHostCount(connGroupName)); + System.out.println("\tHosts: " + ConnectionGroupManager.getActiveHostLists(connGroupName)); + System.out.println("\tConnected to: " + ((JdbcConnection) testConn).getHostPortPair()); + System.out.println("\tConnection id: " + ((MysqlConnection) testConn).getId()); + + this.stmt.execute("KILL CONNECTION " + ((MysqlConnection) testConn).getId()); + assertThrows(SQLException.class, () -> testConn.createStatement().executeQuery("SELECT 1")); + // Should be reconnected by now. + + boolean connectedToHost1 = ((JdbcConnection) testConn).getHostPortPair().startsWith(host1); + assertEquals((connectedToHost1 ? host1 : host4) + ":" + defaultPort, ((JdbcConnection) testConn).getHostPortPair()); + + System.out.println("\nStep 4: after killing the active connection and having reconnected"); + System.out.println("********************************************************************************"); + System.out.println("\tHosts count: " + ConnectionGroupManager.getActiveHostCount(connGroupName)); + System.out.println("\tHosts: " + ConnectionGroupManager.getActiveHostLists(connGroupName)); + System.out.println("\tConnected to: " + ((JdbcConnection) testConn).getHostPortPair()); + System.out.println("\tConnection id: " + ((MysqlConnection) testConn).getId()); + + final String hostToRemove = ((JdbcConnection) testConn).getHostPortPair(); + ExecutorService executor = Executors.newSingleThreadExecutor(); + Future future = executor.submit(() -> { + ConnectionGroupManager.removeHost(connGroupName, hostToRemove, true); + return null; + }); + + try { + future.get(10, TimeUnit.SECONDS); + } catch (TimeoutException e) { + executor.shutdownNow(); + fail("Failed to remove host and connect to a new one.\n" + + "WARNING: A ConcurrentModificationException on UnreliableSocketFactory can happen from now on."); + } + executor.shutdownNow(); + + System.out.println("\nStep 5: after removing the connected host [" + hostToRemove + "]"); + System.out.println("********************************************************************************"); + System.out.println("\tHosts count: " + ConnectionGroupManager.getActiveHostCount(connGroupName)); + System.out.println("\tHosts: " + ConnectionGroupManager.getActiveHostLists(connGroupName)); + System.out.println("\tConnected to: " + ((JdbcConnection) testConn).getHostPortPair()); + System.out.println("\tConnection id: " + ((MysqlConnection) testConn).getId()); + + assertEquals((connectedToHost1 ? host4 : host1) + ":" + defaultPort, ((JdbcConnection) testConn).getHostPortPair()); + + testConn.close(); + } + } From 67ffda19271169c93ee1960282543052f5c5ee27 Mon Sep 17 00:00:00 2001 From: Filipe Silva Date: Sat, 13 Jan 2024 01:17:32 +0000 Subject: [PATCH 05/18] Fix for Bug#110286 (Bug#35152855), Only call Messages.getString(...) when it's needed (when the SQLException is thrown). Change-Id: Ie60b192a852cc0db1eba3f65930213c07cd3b1fc --- CHANGES | 3 +++ .../com/mysql/cj/jdbc/result/ResultSetImpl.java | 17 +++++++++-------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/CHANGES b/CHANGES index 1bd8e37c8..46b025bdc 100644 --- a/CHANGES +++ b/CHANGES @@ -3,6 +3,9 @@ Version 8.4.0 + - Fix for Bug#110286 (Bug#35152855), Only call Messages.getString(...) when it's needed (when the SQLException is thrown). + Thanks to Janick Reynders for his contribution. + - Fix for Bug#23143279, CLIENT HANG WHEN LOADBALANCESTRATEGY IS BESTRESPONSETIME. Version 8.3.0 diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/result/ResultSetImpl.java b/src/main/user-impl/java/com/mysql/cj/jdbc/result/ResultSetImpl.java index a978015fe..1f24099d3 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/result/ResultSetImpl.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/result/ResultSetImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, version 2.0, as published by the @@ -525,26 +525,27 @@ protected void checkRowPos() throws SQLException { checkClosed(); if (!this.onValidRow) { - throw SQLError.createSQLException(this.invalidRowReason, MysqlErrorNumbers.SQL_STATE_GENERAL_ERROR, getExceptionInterceptor()); + throw SQLError.createSQLException(Messages.getString(this.invalidRowReasonMessageKey), MysqlErrorNumbers.SQL_STATE_GENERAL_ERROR, + getExceptionInterceptor()); } } private boolean onValidRow = false; - private String invalidRowReason = null; + private String invalidRowReasonMessageKey = null; - private void setRowPositionValidity() throws SQLException { + private void setRowPositionValidity() { if (!this.rowData.isDynamic() && this.rowData.size() == 0) { - this.invalidRowReason = Messages.getString("ResultSet.Illegal_operation_on_empty_result_set"); + this.invalidRowReasonMessageKey = "ResultSet.Illegal_operation_on_empty_result_set"; this.onValidRow = false; } else if (this.rowData.isBeforeFirst()) { - this.invalidRowReason = Messages.getString("ResultSet.Before_start_of_result_set_146"); + this.invalidRowReasonMessageKey = "ResultSet.Before_start_of_result_set_146"; this.onValidRow = false; } else if (this.rowData.isAfterLast()) { - this.invalidRowReason = Messages.getString("ResultSet.After_end_of_result_set_148"); + this.invalidRowReasonMessageKey = "ResultSet.After_end_of_result_set_148"; this.onValidRow = false; } else { this.onValidRow = true; - this.invalidRowReason = null; + this.invalidRowReasonMessageKey = null; } } From e030ed647a290747d4cfc906f2fd610a0302f300 Mon Sep 17 00:00:00 2001 From: Filipe Silva Date: Sat, 6 Jan 2024 00:44:43 +0000 Subject: [PATCH 06/18] WL#16147, Remove support for FIDO authentication. Change-Id: Iace5761b0cfd9814f9d23b5b4a502e9243b95083 --- CHANGES | 2 + .../callback/FidoAuthenticationCallback.java | 137 ---------------- .../mysql/cj/conf/PropertyDefinitions.java | 5 +- .../java/com/mysql/cj/conf/PropertyKey.java | 3 +- .../a/NativeAuthenticationProvider.java | 4 +- .../AuthenticationFidoClient.java | 148 ------------------ .../cj/LocalizedErrorMessages.properties | 8 +- 7 files changed, 6 insertions(+), 301 deletions(-) delete mode 100644 src/main/core-api/java/com/mysql/cj/callback/FidoAuthenticationCallback.java delete mode 100644 src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/AuthenticationFidoClient.java diff --git a/CHANGES b/CHANGES index 46b025bdc..c18cb02ef 100644 --- a/CHANGES +++ b/CHANGES @@ -3,6 +3,8 @@ Version 8.4.0 + - WL#16147, Remove support for FIDO authentication. + - Fix for Bug#110286 (Bug#35152855), Only call Messages.getString(...) when it's needed (when the SQLException is thrown). Thanks to Janick Reynders for his contribution. diff --git a/src/main/core-api/java/com/mysql/cj/callback/FidoAuthenticationCallback.java b/src/main/core-api/java/com/mysql/cj/callback/FidoAuthenticationCallback.java deleted file mode 100644 index 4d26bad19..000000000 --- a/src/main/core-api/java/com/mysql/cj/callback/FidoAuthenticationCallback.java +++ /dev/null @@ -1,137 +0,0 @@ -/* - * Copyright (c) 2022, 2023, Oracle and/or its affiliates. - * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. - * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. - * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. - * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - */ - -package com.mysql.cj.callback; - -/** - * The callback object used by the authentication plugin AuthenticationFidoClient to exchange authenticator data between the driver and the client application. - * - * Applications must implement a MysqlCallbackHandler to manage the interaction with authenticator devices and provide the data required to proceed with FIDO - * authentication. Such handler receives an instance of this class, which must then be used to obtain the data to send to the device and to submit the produced - * authenticator data and signature into the driver. - */ -public class FidoAuthenticationCallback implements MysqlCallback { - - // FIDO inputs. - private byte[] scramble; - private String relyingPartyId; - private byte[] credentialId; - - // FIDO outputs. - private byte[] authenticatorData; - private byte[] signature; - - /** - * Instances of this object are used to exchange FIDO data between the client application and the driver and is responsible for managing all the - * interactions with the FIDO authenticator devices. - * - * @param scramble - * the scramble - * @param relyingPartyId - * the relying party id - * @param credentialId - * the credential id - */ - public FidoAuthenticationCallback(byte[] scramble, String relyingPartyId, byte[] credentialId) { - this.scramble = scramble; - this.relyingPartyId = relyingPartyId; - this.credentialId = credentialId; - } - - /** - * Returns the FIDO Client Data Hash (scramble) for the coming authenticator interaction. - * - * @return - * the scramble - */ - public byte[] getScramble() { - return this.scramble; - } - - /** - * Returns the FIDO Relying Party ID for the coming authenticator interaction. - * - * @return - * the relying party id - */ - public String getRelyingPartyId() { - return this.relyingPartyId; - } - - /** - * Returns the FIDO Credential ID for the coming authenticator interaction. - * - * @return - * the credential id - */ - public byte[] getCredentialId() { - return this.credentialId; - } - - /** - * Sets the FIDO Authenticator Data produced by the authenticator interaction. - * - * @param authenticatorData - * the authenticator data - */ - public void setAuthenticatorData(byte[] authenticatorData) { - this.authenticatorData = authenticatorData; - } - - /** - * Returns the FIDO Authenticator Data produced by the authenticator interaction. - * - * @return - * the authenticator data - */ - public byte[] getAuthenticatorData() { - return this.authenticatorData; - } - - /** - * Sets the FIDO Signature produced by the authenticator interaction. - * - * @param signature - * the signature - */ - public void setSignature(byte[] signature) { - this.signature = signature; - } - - /** - * Returns the FIDO Signature produced by the authenticator interaction - * - * @return - * the signature - */ - public byte[] getSignature() { - return this.signature; - } - -} diff --git a/src/main/core-api/java/com/mysql/cj/conf/PropertyDefinitions.java b/src/main/core-api/java/com/mysql/cj/conf/PropertyDefinitions.java index 324d0150d..752388694 100644 --- a/src/main/core-api/java/com/mysql/cj/conf/PropertyDefinitions.java +++ b/src/main/core-api/java/com/mysql/cj/conf/PropertyDefinitions.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, version 2.0, as published by the @@ -214,9 +214,6 @@ public enum DatabaseTerm { new StringPropertyDefinition(PropertyKey.ociConfigProfile, "DEFAULT", RUNTIME_MODIFIABLE, Messages.getString("ConnectionProperties.ociConfigProfile"), "8.0.33", CATEGORY_AUTH, Integer.MIN_VALUE + 11), - new StringPropertyDefinition(PropertyKey.authenticationFidoCallbackHandler, DEFAULT_VALUE_NULL_STRING, RUNTIME_MODIFIABLE, - Messages.getString("ConnectionProperties.authenticationFidoCallbackHandler"), "8.0.29", CATEGORY_AUTH, Integer.MIN_VALUE + 12), - new StringPropertyDefinition(PropertyKey.authenticationWebAuthnCallbackHandler, DEFAULT_VALUE_NULL_STRING, RUNTIME_MODIFIABLE, Messages.getString("ConnectionProperties.authenticationWebAuthnCallbackHandler"), "8.2.0", CATEGORY_AUTH, Integer.MIN_VALUE + 13), diff --git a/src/main/core-api/java/com/mysql/cj/conf/PropertyKey.java b/src/main/core-api/java/com/mysql/cj/conf/PropertyKey.java index cea7fd5a8..5d2a71dbb 100644 --- a/src/main/core-api/java/com/mysql/cj/conf/PropertyKey.java +++ b/src/main/core-api/java/com/mysql/cj/conf/PropertyKey.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018, 2023, Oracle and/or its affiliates. + * Copyright (c) 2018, 2024, Oracle and/or its affiliates. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, version 2.0, as published by the @@ -70,7 +70,6 @@ public enum PropertyKey { allowSourceDownConnections("allowSourceDownConnections", "allowMasterDownConnections", true), // allowUrlInLocalInfile("allowUrlInLocalInfile", true), // alwaysSendSetIsolation("alwaysSendSetIsolation", true), // - authenticationFidoCallbackHandler("authenticationFidoCallbackHandler", true), // authenticationPlugins("authenticationPlugins", true), // authenticationWebAuthnCallbackHandler("authenticationWebAuthnCallbackHandler", true), // autoClosePStmtStreams("autoClosePStmtStreams", true), // diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeAuthenticationProvider.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeAuthenticationProvider.java index f62c66545..ea8e637df 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeAuthenticationProvider.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeAuthenticationProvider.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, version 2.0, as published by the @@ -55,7 +55,6 @@ import com.mysql.cj.protocol.a.NativeConstants.IntegerDataType; import com.mysql.cj.protocol.a.NativeConstants.StringLengthDataType; import com.mysql.cj.protocol.a.NativeConstants.StringSelfDataType; -import com.mysql.cj.protocol.a.authentication.AuthenticationFidoClient; import com.mysql.cj.protocol.a.authentication.AuthenticationKerberosClient; import com.mysql.cj.protocol.a.authentication.AuthenticationLdapSaslClientPlugin; import com.mysql.cj.protocol.a.authentication.AuthenticationOciClient; @@ -260,7 +259,6 @@ private void loadAuthenticationPlugins() { pluginsToInit.add(new AuthenticationLdapSaslClientPlugin()); pluginsToInit.add(new AuthenticationKerberosClient()); pluginsToInit.add(new AuthenticationOciClient()); - pluginsToInit.add(new AuthenticationFidoClient()); pluginsToInit.add(new AuthenticationWebAuthnClient()); // plugins from authenticationPluginClasses connection parameter diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/AuthenticationFidoClient.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/AuthenticationFidoClient.java deleted file mode 100644 index 263472258..000000000 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/AuthenticationFidoClient.java +++ /dev/null @@ -1,148 +0,0 @@ -/* - * Copyright (c) 2022, 2023, Oracle and/or its affiliates. - * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. - * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. - * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. - * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - */ - -package com.mysql.cj.protocol.a.authentication; - -import java.util.List; - -import com.mysql.cj.Messages; -import com.mysql.cj.callback.FidoAuthenticationCallback; -import com.mysql.cj.callback.MysqlCallbackHandler; -import com.mysql.cj.callback.UsernameCallback; -import com.mysql.cj.conf.PropertyKey; -import com.mysql.cj.exceptions.ExceptionFactory; -import com.mysql.cj.protocol.AuthenticationPlugin; -import com.mysql.cj.protocol.Protocol; -import com.mysql.cj.protocol.a.NativeConstants.StringSelfDataType; -import com.mysql.cj.protocol.a.NativePacketPayload; -import com.mysql.cj.util.Util; - -/** - * MySQL 'authentication_fido_client' authentication plugin. - * - * This authentication plugin requires a callback handler implemented in the client application that performs all the interactions with the authenticator - * device. This callback handler is injected into the driver via the connection property 'authenticationFidoCallbackHandler'. - */ -public class AuthenticationFidoClient implements AuthenticationPlugin { - - public static String PLUGIN_NAME = "authentication_fido_client"; - - private String sourceOfAuthData = PLUGIN_NAME; - - private MysqlCallbackHandler usernameCallbackHandler = null; - private MysqlCallbackHandler fidoAuthenticationCallbackHandler = null; - - @Override - public void init(Protocol protocol, MysqlCallbackHandler callbackHandler) { - this.usernameCallbackHandler = callbackHandler; - - String fidoCallbackHandlerClassName = protocol.getPropertySet().getStringProperty(PropertyKey.authenticationFidoCallbackHandler).getValue(); - if (fidoCallbackHandlerClassName == null) { - throw ExceptionFactory.createException(Messages.getString("AuthenticationFidoClientPlugin.MissingCallbackHandler")); - } - - this.fidoAuthenticationCallbackHandler = Util.getInstance(MysqlCallbackHandler.class, fidoCallbackHandlerClassName, null, null, - protocol.getExceptionInterceptor()); - } - - @Override - public void destroy() { - reset(); - this.usernameCallbackHandler = null; - this.fidoAuthenticationCallbackHandler = null; - } - - @Override - public String getProtocolPluginName() { - return PLUGIN_NAME; - } - - @Override - public boolean requiresConfidentiality() { - return false; - } - - @Override - public boolean isReusable() { - return false; - } - - @Override - public void setAuthenticationParameters(String user, String password) { - if (user == null && this.usernameCallbackHandler != null) { - // Fall back to system login user. - this.usernameCallbackHandler.handle(new UsernameCallback(System.getProperty("user.name"))); - } - } - - @Override - public void setSourceOfAuthData(String sourceOfAuthData) { - this.sourceOfAuthData = sourceOfAuthData; - } - - @Override - public boolean nextAuthenticationStep(NativePacketPayload fromServer, List toServer) { - toServer.clear(); - - if (!this.sourceOfAuthData.equals(PLUGIN_NAME)) { - // Cannot do anything with whatever payload comes from the server, so just skip this iteration and wait for a Protocol::AuthSwitchRequest or a - // Protocol::AuthNextFactor. - return true; - } - - if (fromServer.getPayloadLength() == 0) { - // FIDO device registration process was not completed. - throw ExceptionFactory.createException(Messages.getString("AuthenticationFidoClientPlugin.IncompleteRegistration")); - } - - byte[] scramble = fromServer.readBytes(StringSelfDataType.STRING_LENENC); - String relyingPartyId = fromServer.readString(StringSelfDataType.STRING_LENENC, "UTF-8"); - byte[] credentialId = fromServer.readBytes(StringSelfDataType.STRING_LENENC); - - FidoAuthenticationCallback fidoAuthCallback = new FidoAuthenticationCallback(scramble, relyingPartyId, credentialId); - this.fidoAuthenticationCallbackHandler.handle(fidoAuthCallback); - - byte[] authenticatorData = fidoAuthCallback.getAuthenticatorData(); - if (authenticatorData == null || authenticatorData.length == 0) { - throw ExceptionFactory.createException(Messages.getString("AuthenticationFidoClientPlugin.InvalidAuthenticatorData")); - } - byte[] signature = fidoAuthCallback.getSignature(); - if (signature == null || signature.length == 0) { - throw ExceptionFactory.createException(Messages.getString("AuthenticationFidoClientPlugin.InvalidSignature")); - } - - NativePacketPayload packet = new NativePacketPayload(authenticatorData.length + signature.length + 2); // 1 + 1 Bytes for length encoding. - packet.writeBytes(StringSelfDataType.STRING_LENENC, authenticatorData); - packet.writeBytes(StringSelfDataType.STRING_LENENC, signature); - toServer.add(packet); - - return true; - } - -} diff --git a/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties b/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties index 952fbc210..2e459926c 100644 --- a/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties +++ b/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties @@ -1,4 +1,4 @@ -# Copyright (c) 2007, 2023, Oracle and/or its affiliates. +# Copyright (c) 2007, 2024, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License, version 2.0, as published by the @@ -35,11 +35,6 @@ Milliseconds=ms # # Classes # -AuthenticationFidoClientPlugin.MissingCallbackHandler=A callback handler was not specified. Consult the description of the connection property ''authenticationFidoCallbackHandler''. -AuthenticationFidoClientPlugin.IncompleteRegistration=FIDO device registration process not completed. -AuthenticationFidoClientPlugin.InvalidAuthenticatorData=Missing or invalid FIDO authenticator data. -AuthenticationFidoClientPlugin.InvalidSignature=Missing or invalid FIDO signature. - AuthenticationKerberosClientPlugin.FailAuthenticateUser=No cached TGT found in the system or failed authenticating the user in the Kerberos server. AuthenticationKerberosClientPlugin.FailCreateSaslClient=Failed creating a SASL client for the authentication mechanism ''{0}''. AuthenticationKerberosClientPlugin.ErrProcessingAuthIter=Error while processing an authentication iteration for the authentication mechanism ''{0}''. @@ -810,7 +805,6 @@ ConnectionProperties.allowReplicaDownConnections=By default, a replication-aware ConnectionProperties.allowSourceDownConnections=By default, a replication-aware connection will fail to connect when configured source hosts are all unavailable at initial connection. Setting this property to "true" allows to establish the initial connection, by failing over to the replica servers, in read-only state. It won''t prevent subsequent failures when switching back to the source hosts i.e. by setting the replication connection to read/write state. ConnectionProperties.allowUrlInLoadLocal=Should the driver allow URLs in "LOAD DATA LOCAL INFILE ..." statements? ConnectionProperties.alwaysSendSetIsolation=Should the driver always communicate with the database when ''Connection.setTransactionIsolation()'' is called? If set to "false", the driver will only communicate with the database when the requested transaction isolation is different than the whichever is newer, the last value that was set via ''Connection.setTransactionIsolation()'', or the value that was read from the server when the connection was established. Note that "useLocalSessionState=true" will force the same behavior as "alwaysSendSetIsolation=false", regardless of how ''alwaysSendSetIsolation'' is set. -ConnectionProperties.authenticationFidoCallbackHandler=Fully-qualified class name of a class implementing the interface ''com.mysql.cj.callback.MysqlCallbackHandler''. This class will be used by the FIDO authentication plugin to obtain the authenticator data and signature required for the FIDO authentication process. See the documentation of ''com.mysql.cj.callback.FidoAuthenticationCallback'' for more details. ConnectionProperties.authenticationPlugins=Comma-delimited list of classes that implement the interface ''com.mysql.cj.protocol.AuthenticationPlugin''. These plugins will be loaded at connection initialization and can be used together with their sever-side counterparts for authenticating users, unless they are disabled in the connection property ''disabledAuthenticationPlugins''. ConnectionProperties.authenticationWebAuthnCallbackHandler=Fully-qualified class name of a class implementing the interface ''com.mysql.cj.callback.MysqlCallbackHandler''. This class will be used by the WebAuthn authentication plugin to obtain the authenticator data and signature required for the FIDO authentication process. See the documentation of com.mysql.cj.callback.WebAuthnAuthenticationCallback for more details. ConnectionProperties.autoClosePstmtStreams=Should the driver automatically call the method ''close()'' on streams/readers passed as arguments via ''set*()'' methods? From b226e3467d385997c08979ea3797cbc79fe0639d Mon Sep 17 00:00:00 2001 From: Axyoan Marcelo Date: Thu, 25 Jan 2024 16:18:01 -0600 Subject: [PATCH 07/18] Fix for Bug#22931632, GETPARAMETERBINDINGS() ON A PS RETURNS NPE WHEN NOT ALL PARAMETERS ARE BOUND. Change-Id: I3e4907277ccb83ad98dcc7125f3dc39c2365f57f --- CHANGES | 2 ++ .../java/com/mysql/cj/jdbc/ParameterBindingsImpl.java | 5 +++-- .../testsuite/regression/StatementRegressionTest.java | 11 +++++++++++ 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index c18cb02ef..4858c88ca 100644 --- a/CHANGES +++ b/CHANGES @@ -3,6 +3,8 @@ Version 8.4.0 + - Fix for Bug#22931632, GETPARAMETERBINDINGS() ON A PS RETURNS NPE WHEN NOT ALL PARAMETERS ARE BOUND. + - WL#16147, Remove support for FIDO authentication. - Fix for Bug#110286 (Bug#35152855), Only call Messages.getString(...) when it's needed (when the SQLException is thrown). diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/ParameterBindingsImpl.java b/src/main/user-impl/java/com/mysql/cj/jdbc/ParameterBindingsImpl.java index 214b27436..2613160c5 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/ParameterBindingsImpl.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/ParameterBindingsImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, version 2.0, as published by the @@ -117,7 +117,8 @@ public class ParameterBindingsImpl implements ParameterBindings { Field parameterMetadata = new Field(null, "parameter_" + (i + 1), charsetIndex, this.propertySet.getStringProperty(PropertyKey.characterEncoding).getValue(), this.queryBindings.getBindValues()[i].getMysqlType(), - rowData[i].length); + rowData[i] != null ? rowData[i].length : 0); + typeMetadata[i] = parameterMetadata; } diff --git a/src/test/java/testsuite/regression/StatementRegressionTest.java b/src/test/java/testsuite/regression/StatementRegressionTest.java index 2be81e50d..5c1c3ac46 100644 --- a/src/test/java/testsuite/regression/StatementRegressionTest.java +++ b/src/test/java/testsuite/regression/StatementRegressionTest.java @@ -13674,4 +13674,15 @@ public T preProcess(java.util.function.Supplier sq } + /** + * Test fix for Bug#22931632, GETPARAMETERBINDINGS() ON A PS RETURNS NPE WHEN NOT ALL PARAMETERS ARE BOUND. + * + * @throws Exception + */ + @Test + public void testBug22931632() throws Exception { + this.pstmt = this.conn.prepareStatement("SELECT ?"); + assertDoesNotThrow(((JdbcPreparedStatement) this.pstmt)::getParameterBindings); + } + } From e558e11026e1ec5fe661d089983ee54957e5c9fa Mon Sep 17 00:00:00 2001 From: Axyoan Marcelo Date: Mon, 22 Jan 2024 08:45:52 -0600 Subject: [PATCH 08/18] Fix for Bug#113129 (Bug#36043145), setting the FetchSize on a Statement object does not affect. Change-Id: Ie909ef6b2557b1525a6671ca7c1bd749f3250920 --- CHANGES | 2 + .../cj/jdbc/result/ResultSetFactory.java | 6 +-- .../mysql/cj/jdbc/result/ResultSetImpl.java | 2 +- .../regression/ResultSetRegressionTest.java | 49 ++++++++++++++++++- 4 files changed, 54 insertions(+), 5 deletions(-) diff --git a/CHANGES b/CHANGES index 4858c88ca..f2180e408 100644 --- a/CHANGES +++ b/CHANGES @@ -3,6 +3,8 @@ Version 8.4.0 + - Fix for Bug#113129 (Bug#36043145), setting the FetchSize on a Statement object does not affect. + - Fix for Bug#22931632, GETPARAMETERBINDINGS() ON A PS RETURNS NPE WHEN NOT ALL PARAMETERS ARE BOUND. - WL#16147, Remove support for FIDO authentication. diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/result/ResultSetFactory.java b/src/main/user-impl/java/com/mysql/cj/jdbc/result/ResultSetFactory.java index 19eae68a5..05fa042c0 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/result/ResultSetFactory.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/result/ResultSetFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, version 2.0, as published by the @@ -43,7 +43,6 @@ import com.mysql.cj.protocol.ResultsetRows; import com.mysql.cj.protocol.a.NativePacketPayload; import com.mysql.cj.protocol.a.result.OkPacket; -import com.mysql.cj.protocol.a.result.ResultsetRowsCursor; public class ResultSetFactory implements ProtocolEntityFactory { @@ -138,9 +137,10 @@ public ResultSetImpl createFromResultsetRows(int resultSetConcurrency, int resul rs.setResultSetType(resultSetType); rs.setResultSetConcurrency(resultSetConcurrency); - if (rows instanceof ResultsetRowsCursor && st != null) { + if (st != null) { rs.setFetchSize(st.getFetchSize()); } + return rs; } diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/result/ResultSetImpl.java b/src/main/user-impl/java/com/mysql/cj/jdbc/result/ResultSetImpl.java index 1f24099d3..40b0011fa 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/result/ResultSetImpl.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/result/ResultSetImpl.java @@ -1984,7 +1984,7 @@ public void setFetchDirection(int direction) throws SQLException { @Override public void setFetchSize(int rows) throws SQLException { synchronized (checkClosed().getConnectionMutex()) { - if (rows < 0) { /* || rows > getMaxRows() */ + if (rows < 0 && rows != Integer.MIN_VALUE) { /* || rows > getMaxRows() */ throw SQLError.createSQLException(Messages.getString("ResultSet.Value_must_be_between_0_and_getMaxRows()_66"), MysqlErrorNumbers.SQL_STATE_ILLEGAL_ARGUMENT, getExceptionInterceptor()); } diff --git a/src/test/java/testsuite/regression/ResultSetRegressionTest.java b/src/test/java/testsuite/regression/ResultSetRegressionTest.java index 628e2e577..0d4757db9 100644 --- a/src/test/java/testsuite/regression/ResultSetRegressionTest.java +++ b/src/test/java/testsuite/regression/ResultSetRegressionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, version 2.0, as published by the @@ -8200,4 +8200,51 @@ void testBug107215() throws Exception { } } + /** + * Tests fix for Bug#113129 (Bug#36043145), setting the FetchSize on a Statement object does not affect. + * + * @throws Exception + */ + @Test + void testBug113129() throws Exception { + Statement testStmt = this.conn.createStatement(); + int fetchSizeToTest1 = 5; + int fetchSizeToTest2 = 10; + + // executeQuery returns a different ResultSet when executing a ping query, need to test it too. + testStmt.setFetchSize(fetchSizeToTest1); + this.rs = testStmt.executeQuery("/* ping */"); + assertEquals(fetchSizeToTest1, this.rs.getFetchSize()); + this.rs.setFetchSize(fetchSizeToTest2); + assertEquals(fetchSizeToTest2, this.rs.getFetchSize()); + + // Static rows. + testStmt.setFetchSize(fetchSizeToTest1); + this.rs = testStmt.executeQuery("SELECT 1"); + assertEquals(fetchSizeToTest1, this.rs.getFetchSize()); + this.rs.setFetchSize(fetchSizeToTest2); + assertEquals(fetchSizeToTest2, this.rs.getFetchSize()); + this.rs.next(); + + // Dynamic fetch. + testStmt.setFetchSize(Integer.MIN_VALUE); + this.rs = testStmt.executeQuery("SELECT 1"); + this.rs.next(); + assertEquals(Integer.MIN_VALUE, this.rs.getFetchSize()); + this.rs.setFetchSize(fetchSizeToTest2); + assertEquals(fetchSizeToTest2, this.rs.getFetchSize()); + + // Cursor based. + Properties props = new Properties(); + props.setProperty(PropertyKey.useCursorFetch.getKeyName(), "True"); + Connection cursorConn = getConnectionWithProps(props); + testStmt = cursorConn.createStatement(); + testStmt.setFetchSize(fetchSizeToTest1); + this.rs = testStmt.executeQuery("SELECT 1"); + assertEquals(fetchSizeToTest1, this.rs.getFetchSize()); + this.rs.setFetchSize(fetchSizeToTest2); + assertEquals(fetchSizeToTest2, this.rs.getFetchSize()); + this.rs.next(); + } + } From 832994a2072b733933824b668179590a7f59528d Mon Sep 17 00:00:00 2001 From: Axyoan Marcelo Date: Mon, 22 Jan 2024 12:19:16 -0600 Subject: [PATCH 09/18] Fix for Bug#91550 (Bug#28297874), DatabaseMetaData specifies incorrect extra name characters. Change-Id: Ide79a36b62548b16f98f3dc8d824daab7d2d28d9 --- CHANGES | 2 ++ .../java/com/mysql/cj/jdbc/DatabaseMetaData.java | 4 ++-- .../regression/MetaDataRegressionTest.java | 13 ++++++++++++- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index f2180e408..ee4b9aa62 100644 --- a/CHANGES +++ b/CHANGES @@ -3,6 +3,8 @@ Version 8.4.0 + - Fix for Bug#91550 (Bug#28297874), DatabaseMetaData specifies incorrect extra name characters. + - Fix for Bug#113129 (Bug#36043145), setting the FetchSize on a Statement object does not affect. - Fix for Bug#22931632, GETPARAMETERBINDINGS() ON A PS RETURNS NPE WHEN NOT ALL PARAMETERS ARE BOUND. diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/DatabaseMetaData.java b/src/main/user-impl/java/com/mysql/cj/jdbc/DatabaseMetaData.java index 592a271d5..abcb59552 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/DatabaseMetaData.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/DatabaseMetaData.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, version 2.0, as published by the @@ -2607,7 +2607,7 @@ void forEach(String dbStr) throws SQLException { @Override public String getExtraNameCharacters() throws SQLException { - return "#@"; + return "$"; } /** diff --git a/src/test/java/testsuite/regression/MetaDataRegressionTest.java b/src/test/java/testsuite/regression/MetaDataRegressionTest.java index db822d14b..366d09071 100644 --- a/src/test/java/testsuite/regression/MetaDataRegressionTest.java +++ b/src/test/java/testsuite/regression/MetaDataRegressionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, version 2.0, as published by the @@ -5578,4 +5578,15 @@ void testBug96582() throws Exception { assertEquals(ParameterMetaData.parameterNullable, this.pstmt.getParameterMetaData().isNullable(2)); } + /** + * Tests fix for Bug#91550 (Bug#28297874), DatabaseMetaData specifies incorrect extra name characters. + * + * @throws Exception + */ + @Test + void testBug91550() throws Exception { + DatabaseMetaData md = this.conn.getMetaData(); + assertEquals("$", md.getExtraNameCharacters()); + } + } From 00449a4730d3d8eb945f05fb0bc40af309037931 Mon Sep 17 00:00:00 2001 From: Axyoan Marcelo Date: Sat, 3 Feb 2024 14:25:50 -0600 Subject: [PATCH 10/18] Fix for Bug#113599 (Bug#36171571), Contribution: Replace StringBuffer with StringBuilder in ValueEncoders. Change-Id: I94583700015187c68095b93b2bf728082a03fb9e --- CHANGES | 3 ++ .../cj/protocol/a/InstantValueEncoder.java | 14 ++++----- .../a/OffsetDateTimeValueEncoder.java | 14 ++++----- .../cj/protocol/a/SqlTimeValueEncoder.java | 14 ++++----- .../protocol/a/SqlTimestampValueEncoder.java | 30 +++++++++---------- .../protocol/a/UtilCalendarValueEncoder.java | 18 +++++------ .../cj/protocol/a/UtilDateValueEncoder.java | 30 +++++++++---------- .../protocol/a/ZonedDateTimeValueEncoder.java | 14 ++++----- 8 files changed, 70 insertions(+), 67 deletions(-) diff --git a/CHANGES b/CHANGES index ee4b9aa62..4cebc1cb2 100644 --- a/CHANGES +++ b/CHANGES @@ -3,6 +3,9 @@ Version 8.4.0 + - Fix for Bug#113599 (Bug#36171571), Contribution: Replace StringBuffer with StringBuilder in ValueEncoders. + Thanks to Henning Pƶttker for his contribution. + - Fix for Bug#91550 (Bug#28297874), DatabaseMetaData specifies incorrect extra name characters. - Fix for Bug#113129 (Bug#36043145), setting the FetchSize on a Statement object does not affect. diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/InstantValueEncoder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/InstantValueEncoder.java index 8c85a9cd8..dcc67227d 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/InstantValueEncoder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/InstantValueEncoder.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022, 2023, Oracle and/or its affiliates. + * Copyright (c) 2022, 2024, Oracle and/or its affiliates. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, version 2.0, as published by the @@ -76,20 +76,20 @@ public String getString(BindValue binding) { .atZoneSameInstant(this.serverSession.getDefaultTimeZone().toZoneId()).toLocalDateTime()), binding.getField(), binding.keepOrigNanos()); - StringBuffer buf = new StringBuffer(); + sb = new StringBuilder(); - buf.append(TimeUtil.getSimpleDateFormat(null, "''yyyy-MM-dd HH:mm:ss", + sb.append(TimeUtil.getSimpleDateFormat(null, "''yyyy-MM-dd HH:mm:ss", binding.getMysqlType() == MysqlType.TIMESTAMP && this.preserveInstants.getValue() ? this.serverSession.getSessionTimeZone() : this.serverSession.getDefaultTimeZone()) .format(x)); if (this.serverSession.getCapabilities().serverSupportsFracSecs() && x.getNanos() > 0) { - buf.append('.'); - buf.append(TimeUtil.formatNanos(x.getNanos(), 6)); + sb.append('.'); + sb.append(TimeUtil.formatNanos(x.getNanos(), 6)); } - buf.append('\''); + sb.append('\''); - return buf.toString(); + return sb.toString(); case YEAR: return String.valueOf(((Instant) binding.getValue()).atOffset(ZoneOffset.UTC) diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/OffsetDateTimeValueEncoder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/OffsetDateTimeValueEncoder.java index cacf84e4c..257b0722c 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/OffsetDateTimeValueEncoder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/OffsetDateTimeValueEncoder.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022, 2023, Oracle and/or its affiliates. + * Copyright (c) 2022, 2024, Oracle and/or its affiliates. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, version 2.0, as published by the @@ -75,20 +75,20 @@ public String getString(BindValue binding) { ((OffsetDateTime) binding.getValue()).atZoneSameInstant(this.serverSession.getDefaultTimeZone().toZoneId()).toLocalDateTime()), binding.getField(), binding.keepOrigNanos()); - StringBuffer buf = new StringBuffer(); + sb = new StringBuilder(); - buf.append(TimeUtil.getSimpleDateFormat(null, "''yyyy-MM-dd HH:mm:ss", + sb.append(TimeUtil.getSimpleDateFormat(null, "''yyyy-MM-dd HH:mm:ss", binding.getMysqlType() == MysqlType.TIMESTAMP && this.preserveInstants.getValue() ? this.serverSession.getSessionTimeZone() : this.serverSession.getDefaultTimeZone()) .format(x)); if (this.serverSession.getCapabilities().serverSupportsFracSecs() && x.getNanos() > 0) { - buf.append('.'); - buf.append(TimeUtil.formatNanos(x.getNanos(), 6)); + sb.append('.'); + sb.append(TimeUtil.formatNanos(x.getNanos(), 6)); } - buf.append('\''); + sb.append('\''); - return buf.toString(); + return sb.toString(); case YEAR: return String.valueOf(odt.atZoneSameInstant(this.serverSession.getDefaultTimeZone().toZoneId()).getYear()); diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/SqlTimeValueEncoder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/SqlTimeValueEncoder.java index 4cd02d091..a3e1aab33 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/SqlTimeValueEncoder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/SqlTimeValueEncoder.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022, 2023, Oracle and/or its affiliates. + * Copyright (c) 2022, 2024, Oracle and/or its affiliates. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, version 2.0, as published by the @@ -87,15 +87,15 @@ public String getString(BindValue binding) { ts = TimeUtil.truncateFractionalSeconds(ts); } - StringBuffer buf = new StringBuffer(); - buf.append(binding.getCalendar() != null ? TimeUtil.getSimpleDateFormat("''yyyy-MM-dd HH:mm:ss", binding.getCalendar()).format(x) + StringBuilder sb = new StringBuilder(); + sb.append(binding.getCalendar() != null ? TimeUtil.getSimpleDateFormat("''yyyy-MM-dd HH:mm:ss", binding.getCalendar()).format(x) : TimeUtil.getSimpleDateFormat(null, "''yyyy-MM-dd HH:mm:ss", this.serverSession.getDefaultTimeZone()).format(x)); if (this.serverSession.getCapabilities().serverSupportsFracSecs() && ts.getNanos() > 0) { - buf.append('.'); - buf.append(TimeUtil.formatNanos(ts.getNanos(), 6)); + sb.append('.'); + sb.append(TimeUtil.formatNanos(ts.getNanos(), 6)); } - buf.append('\''); - return buf.toString(); + sb.append('\''); + return sb.toString(); case YEAR: Calendar cal = Calendar.getInstance(); cal.setTime((java.util.Date) binding.getValue()); diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/SqlTimestampValueEncoder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/SqlTimestampValueEncoder.java index e761bf139..8c84d84b8 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/SqlTimestampValueEncoder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/SqlTimestampValueEncoder.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022, 2023, Oracle and/or its affiliates. + * Copyright (c) 2022, 2024, Oracle and/or its affiliates. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, version 2.0, as published by the @@ -75,30 +75,30 @@ public String getString(BindValue binding) { case TEXT: case MEDIUMTEXT: case LONGTEXT: - StringBuffer buf = new StringBuffer(); + StringBuilder sb = new StringBuilder(); if (binding.getCalendar() != null) { - buf.append(TimeUtil.getSimpleDateFormat("''yyyy-MM-dd HH:mm:ss", binding.getCalendar()).format(x)); + sb.append(TimeUtil.getSimpleDateFormat("''yyyy-MM-dd HH:mm:ss", binding.getCalendar()).format(x)); } else { this.tsdf = TimeUtil.getSimpleDateFormat(this.tsdf, "''yyyy-MM-dd HH:mm:ss", binding.getMysqlType() == MysqlType.TIMESTAMP && this.preserveInstants.getValue() ? this.serverSession.getSessionTimeZone() : this.serverSession.getDefaultTimeZone()); - buf.append(this.tsdf.format(x)); + sb.append(this.tsdf.format(x)); } if (this.serverSession.getCapabilities().serverSupportsFracSecs() && x.getNanos() > 0) { - buf.append('.'); - buf.append(TimeUtil.formatNanos(x.getNanos(), 6)); + sb.append('.'); + sb.append(TimeUtil.formatNanos(x.getNanos(), 6)); } - buf.append('\''); + sb.append('\''); - return buf.toString(); + return sb.toString(); case YEAR: Calendar cal = Calendar.getInstance(); cal.setTime((java.util.Date) binding.getValue()); return String.valueOf(cal.get(Calendar.YEAR)); case TIME: - StringBuilder sb = new StringBuilder("'"); + sb = new StringBuilder("'"); sb.append(adjustLocalTime(((Timestamp) binding.getValue()).toLocalDateTime().toLocalTime(), binding.getField()) .format(TimeUtil.TIME_FORMATTER_WITH_OPTIONAL_MICROS)); sb.append("'"); @@ -157,23 +157,23 @@ public void encodeAsBinary(Message msg, BindValue binding) { case TEXT: case MEDIUMTEXT: case LONGTEXT: - StringBuffer buf = new StringBuffer(); + StringBuilder sb = new StringBuilder(); if (binding.getCalendar() != null) { - buf.append(TimeUtil.getSimpleDateFormat("yyyy-MM-dd HH:mm:ss", binding.getCalendar()).format(x)); + sb.append(TimeUtil.getSimpleDateFormat("yyyy-MM-dd HH:mm:ss", binding.getCalendar()).format(x)); } else { this.tsdf = TimeUtil.getSimpleDateFormat(this.tsdf, "yyyy-MM-dd HH:mm:ss", binding.getMysqlType() == MysqlType.TIMESTAMP && this.preserveInstants.getValue() ? this.serverSession.getSessionTimeZone() : this.serverSession.getDefaultTimeZone()); - buf.append(this.tsdf.format(x)); + sb.append(this.tsdf.format(x)); } if (this.serverSession.getCapabilities().serverSupportsFracSecs() && x.getNanos() > 0) { - buf.append('.'); - buf.append(TimeUtil.formatNanos(x.getNanos(), 6)); + sb.append('.'); + sb.append(TimeUtil.formatNanos(x.getNanos(), 6)); } - intoPacket.writeBytes(StringSelfDataType.STRING_LENENC, StringUtils.getBytes(buf.toString(), this.charEncoding.getValue())); + intoPacket.writeBytes(StringSelfDataType.STRING_LENENC, StringUtils.getBytes(sb.toString(), this.charEncoding.getValue())); return; default: throw ExceptionFactory.createException(WrongArgumentException.class, diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/UtilCalendarValueEncoder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/UtilCalendarValueEncoder.java index cef61bbb5..364ec7165 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/UtilCalendarValueEncoder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/UtilCalendarValueEncoder.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022, 2023, Oracle and/or its affiliates. + * Copyright (c) 2022, 2024, Oracle and/or its affiliates. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, version 2.0, as published by the @@ -65,21 +65,21 @@ public String getString(BindValue binding) { case TIMESTAMP: Timestamp ts = adjustTimestamp(new java.sql.Timestamp(((Calendar) binding.getValue()).getTimeInMillis()), binding.getField(), binding.keepOrigNanos()); - StringBuffer buf = new StringBuffer(); + StringBuilder sb = new StringBuilder(); if (binding.getCalendar() != null) { - buf.append(TimeUtil.getSimpleDateFormat("''yyyy-MM-dd HH:mm:ss", binding.getCalendar()).format(x)); + sb.append(TimeUtil.getSimpleDateFormat("''yyyy-MM-dd HH:mm:ss", binding.getCalendar()).format(x)); } else { - buf.append(TimeUtil.getSimpleDateFormat(null, "''yyyy-MM-dd HH:mm:ss", + sb.append(TimeUtil.getSimpleDateFormat(null, "''yyyy-MM-dd HH:mm:ss", binding.getMysqlType() == MysqlType.TIMESTAMP && this.preserveInstants.getValue() ? this.serverSession.getSessionTimeZone() : this.serverSession.getDefaultTimeZone()) .format(ts)); } if (this.serverSession.getCapabilities().serverSupportsFracSecs() && ts.getNanos() > 0) { - buf.append('.'); - buf.append(TimeUtil.formatNanos(ts.getNanos(), 6)); + sb.append('.'); + sb.append(TimeUtil.formatNanos(ts.getNanos(), 6)); } - buf.append('\''); - return buf.toString(); + sb.append('\''); + return sb.toString(); case DATETIME: case CHAR: case VARCHAR: @@ -90,7 +90,7 @@ public String getString(BindValue binding) { ZonedDateTime zdt = ZonedDateTime.ofInstant(x.toInstant(), x.getTimeZone().toZoneId()) .withZoneSameInstant(this.serverSession.getDefaultTimeZone().toZoneId()); - StringBuilder sb = new StringBuilder("'"); + sb = new StringBuilder("'"); sb.append(zdt.format(zdt.getNano() > 0 && this.serverSession.getCapabilities().serverSupportsFracSecs() && this.sendFractionalSeconds.getValue() ? TimeUtil.DATETIME_FORMATTER_WITH_MILLIS_NO_OFFSET : TimeUtil.DATETIME_FORMATTER_NO_FRACT_NO_OFFSET)); diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/UtilDateValueEncoder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/UtilDateValueEncoder.java index c6f0e808c..9104af667 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/UtilDateValueEncoder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/UtilDateValueEncoder.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022, 2023, Oracle and/or its affiliates. + * Copyright (c) 2022, 2024, Oracle and/or its affiliates. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, version 2.0, as published by the @@ -77,30 +77,30 @@ public String getString(BindValue binding) { case TEXT: case MEDIUMTEXT: case LONGTEXT: - StringBuffer buf = new StringBuffer(); + StringBuilder sb = new StringBuilder(); if (binding.getCalendar() != null) { - buf.append(TimeUtil.getSimpleDateFormat("''yyyy-MM-dd HH:mm:ss", binding.getCalendar()).format(x)); + sb.append(TimeUtil.getSimpleDateFormat("''yyyy-MM-dd HH:mm:ss", binding.getCalendar()).format(x)); } else { this.tsdf = TimeUtil.getSimpleDateFormat(this.tsdf, "''yyyy-MM-dd HH:mm:ss", binding.getMysqlType() == MysqlType.TIMESTAMP && this.preserveInstants.getValue() ? this.serverSession.getSessionTimeZone() : this.serverSession.getDefaultTimeZone()); - buf.append(this.tsdf.format(x)); + sb.append(this.tsdf.format(x)); } if (this.serverSession.getCapabilities().serverSupportsFracSecs() && x.getNanos() > 0) { - buf.append('.'); - buf.append(TimeUtil.formatNanos(x.getNanos(), 6)); + sb.append('.'); + sb.append(TimeUtil.formatNanos(x.getNanos(), 6)); } - buf.append('\''); + sb.append('\''); - return buf.toString(); + return sb.toString(); case YEAR: Calendar cal = Calendar.getInstance(); cal.setTime((java.util.Date) binding.getValue()); return String.valueOf(cal.get(Calendar.YEAR)); case TIME: - StringBuilder sb = new StringBuilder("'"); + sb = new StringBuilder("'"); sb.append(adjustLocalTime(new Timestamp(((java.util.Date) binding.getValue()).getTime()).toLocalDateTime().toLocalTime(), binding.getField()) .format(TimeUtil.TIME_FORMATTER_WITH_OPTIONAL_MICROS)); sb.append("'"); @@ -161,23 +161,23 @@ public void encodeAsBinary(Message msg, BindValue binding) { case TEXT: case MEDIUMTEXT: case LONGTEXT: - StringBuffer buf = new StringBuffer(); + StringBuilder sb = new StringBuilder(); if (binding.getCalendar() != null) { - buf.append(TimeUtil.getSimpleDateFormat("yyyy-MM-dd HH:mm:ss", binding.getCalendar()).format(x)); + sb.append(TimeUtil.getSimpleDateFormat("yyyy-MM-dd HH:mm:ss", binding.getCalendar()).format(x)); } else { this.tsdf = TimeUtil.getSimpleDateFormat(this.tsdf, "yyyy-MM-dd HH:mm:ss", binding.getMysqlType() == MysqlType.TIMESTAMP && this.preserveInstants.getValue() ? this.serverSession.getSessionTimeZone() : this.serverSession.getDefaultTimeZone()); - buf.append(this.tsdf.format(x)); + sb.append(this.tsdf.format(x)); } if (this.serverSession.getCapabilities().serverSupportsFracSecs() && x.getNanos() > 0) { - buf.append('.'); - buf.append(TimeUtil.formatNanos(x.getNanos(), 6)); + sb.append('.'); + sb.append(TimeUtil.formatNanos(x.getNanos(), 6)); } - intoPacket.writeBytes(StringSelfDataType.STRING_LENENC, StringUtils.getBytes(buf.toString(), this.charEncoding.getValue())); + intoPacket.writeBytes(StringSelfDataType.STRING_LENENC, StringUtils.getBytes(sb.toString(), this.charEncoding.getValue())); break; default: diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/ZonedDateTimeValueEncoder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/ZonedDateTimeValueEncoder.java index 20c7f54bf..2d8fdf72e 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/ZonedDateTimeValueEncoder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/ZonedDateTimeValueEncoder.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022, 2023, Oracle and/or its affiliates. + * Copyright (c) 2022, 2024, Oracle and/or its affiliates. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, version 2.0, as published by the @@ -75,20 +75,20 @@ public String getString(BindValue binding) { ((ZonedDateTime) binding.getValue()).withZoneSameInstant(this.serverSession.getDefaultTimeZone().toZoneId()).toLocalDateTime()), binding.getField(), binding.keepOrigNanos()); - StringBuffer buf = new StringBuffer(); + sb = new StringBuilder(); - buf.append(TimeUtil.getSimpleDateFormat(null, "''yyyy-MM-dd HH:mm:ss", + sb.append(TimeUtil.getSimpleDateFormat(null, "''yyyy-MM-dd HH:mm:ss", binding.getMysqlType() == MysqlType.TIMESTAMP && this.preserveInstants.getValue() ? this.serverSession.getSessionTimeZone() : this.serverSession.getDefaultTimeZone()) .format(x)); if (this.serverSession.getCapabilities().serverSupportsFracSecs() && x.getNanos() > 0) { - buf.append('.'); - buf.append(TimeUtil.formatNanos(x.getNanos(), 6)); + sb.append('.'); + sb.append(TimeUtil.formatNanos(x.getNanos(), 6)); } - buf.append('\''); + sb.append('\''); - return buf.toString(); + return sb.toString(); case YEAR: return String.valueOf(((ZonedDateTime) binding.getValue()).withZoneSameInstant(this.serverSession.getDefaultTimeZone().toZoneId()).getYear()); From c91a638b84898d808b08e3e17b0717e6e10c1a27 Mon Sep 17 00:00:00 2001 From: Axyoan Marcelo Date: Wed, 7 Feb 2024 12:30:16 -0600 Subject: [PATCH 11/18] Fix for Bug#111031 (Bug#35392222), Contribution: Update SyntaxRegressionTest.java. Change-Id: I4c7e4f1e887b49ce7f6559374995eb1a41bfd814 --- CHANGES | 3 +++ .../java/testsuite/regression/SyntaxRegressionTest.java | 6 +----- src/test/java/testsuite/simple/StatementsTest.java | 3 +-- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/CHANGES b/CHANGES index 4cebc1cb2..7604657f5 100644 --- a/CHANGES +++ b/CHANGES @@ -3,6 +3,9 @@ Version 8.4.0 + - Fix for Bug#111031 (Bug#35392222), Contribution: Update SyntaxRegressionTest.java. + Thanks to Abby Palmero for her contribution. + - Fix for Bug#113599 (Bug#36171571), Contribution: Replace StringBuffer with StringBuilder in ValueEncoders. Thanks to Henning Pƶttker for his contribution. diff --git a/src/test/java/testsuite/regression/SyntaxRegressionTest.java b/src/test/java/testsuite/regression/SyntaxRegressionTest.java index 29dc696f0..b3cc78ed8 100644 --- a/src/test/java/testsuite/regression/SyntaxRegressionTest.java +++ b/src/test/java/testsuite/regression/SyntaxRegressionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, version 2.0, as published by the @@ -1070,7 +1070,6 @@ public void testJsonType() throws Exception { testJsonTypeCheckFunction("SELECT JSON_VALID('{\"a\": 1}')", "1"); } - @Test private void testJsonTypeCheckFunction(String sql, String expectedResult) throws Exception { this.rs = this.stmt.executeQuery(sql); assertTrue(this.rs.next()); @@ -1304,7 +1303,6 @@ public void testCreateTablespace() throws Exception { } } - @Test private void testCreateTablespaceCheckTablespaces(int expectedTsCount) throws Exception { if (versionMeetsMinimum(8, 0, 3)) { this.rs = this.stmt.executeQuery("SELECT COUNT(*) FROM information_schema.innodb_tablespaces WHERE name LIKE 'testTs_'"); @@ -1315,7 +1313,6 @@ private void testCreateTablespaceCheckTablespaces(int expectedTsCount) throws Ex assertEquals(expectedTsCount, this.rs.getInt(1)); } - @Test private void testCreateTablespaceCheckTables(String tablespace, int expectedTblCount) throws Exception { if (versionMeetsMinimum(8, 0, 3)) { this.rs = this.stmt.executeQuery("SELECT COUNT(*) FROM information_schema.innodb_tables a, information_schema.innodb_tablespaces b " @@ -1374,7 +1371,6 @@ public void testSetMergeThreshold() throws Exception { testSetMergeThresholdIndices(tableMergeThreshold, keyMergeThresholds); } - @Test private void testSetMergeThresholdIndices(int defaultMergeThreshold, Map keyMergeThresholds) throws Exception { boolean dbMapsToSchema = ((JdbcConnection) this.conn).getPropertySet().getEnumProperty(PropertyKey.databaseTerm) .getValue() == DatabaseTerm.SCHEMA; diff --git a/src/test/java/testsuite/simple/StatementsTest.java b/src/test/java/testsuite/simple/StatementsTest.java index b13299479..a6c5ddd34 100644 --- a/src/test/java/testsuite/simple/StatementsTest.java +++ b/src/test/java/testsuite/simple/StatementsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, version 2.0, as published by the @@ -216,7 +216,6 @@ public void testBinaryResultSetNumericTypes() throws Exception { sspsConn.close(); } - @Test private void testBinaryResultSetNumericTypesInternal(Connection con) throws Exception { /* * TINYINT 1 -128 127 SMALLINT 2 -32768 32767 MEDIUMINT 3 -8388608 From e629456623b5f5580ccd96485ffffd36680f593f Mon Sep 17 00:00:00 2001 From: Filipe Silva Date: Tue, 5 Mar 2024 11:06:57 +0000 Subject: [PATCH 12/18] WL#16196, GPL License Exception Update. Change-Id: If00bcd4a6d32ce0ae0e923b09b6e012805bbd053 --- CHANGES | 2 + LICENSE | 17 ++++---- build.xml | 43 ++++++++----------- .../ErrorMappingsDocGenerator.java | 33 ++++++-------- .../documentation/PropertiesDocGenerator.java | 33 ++++++-------- .../java/instrumentation/AddMethods.java | 33 ++++++-------- .../java/instrumentation/CommonChecks.java | 33 ++++++-------- .../instrumentation/TranslateExceptions.java | 33 ++++++-------- src/build/misc/Product.wxs | 41 +++++++----------- src/build/misc/debian.in/rules | 33 ++++++-------- src/build/misc/pom.xml | 33 ++++++-------- src/build/misc/rpm.spec.in | 33 ++++++-------- src/demo/java/demo/x/devapi/DevApiSample.java | 33 ++++++-------- .../java/com/mysql/cj/x/protobuf/Mysqlx.java | 33 ++++++-------- .../mysql/cj/x/protobuf/MysqlxConnection.java | 33 ++++++-------- .../com/mysql/cj/x/protobuf/MysqlxCrud.java | 33 ++++++-------- .../com/mysql/cj/x/protobuf/MysqlxCursor.java | 33 ++++++-------- .../mysql/cj/x/protobuf/MysqlxDatatypes.java | 33 ++++++-------- .../com/mysql/cj/x/protobuf/MysqlxExpect.java | 33 ++++++-------- .../com/mysql/cj/x/protobuf/MysqlxExpr.java | 33 ++++++-------- .../com/mysql/cj/x/protobuf/MysqlxNotice.java | 33 ++++++-------- .../mysql/cj/x/protobuf/MysqlxPrepare.java | 33 ++++++-------- .../mysql/cj/x/protobuf/MysqlxResultset.java | 33 ++++++-------- .../mysql/cj/x/protobuf/MysqlxSession.java | 33 ++++++-------- .../com/mysql/cj/x/protobuf/MysqlxSql.java | 33 ++++++-------- .../com/mysql/cj/x/protobuf/package-info.java | 33 ++++++-------- src/legacy/java/com/mysql/jdbc/Driver.java | 33 ++++++-------- .../java/com/mysql/jdbc/SocketFactory.java | 33 ++++++-------- .../com/mysql/jdbc/SocketFactoryWrapper.java | 33 ++++++-------- .../core-api/java/com/mysql/cj/BindValue.java | 33 ++++++-------- .../java/com/mysql/cj/CacheAdapter.java | 33 ++++++-------- .../com/mysql/cj/CacheAdapterFactory.java | 33 ++++++-------- .../java/com/mysql/cj/CancelQueryTask.java | 33 ++++++-------- .../java/com/mysql/cj/CharsetMapping.java | 33 ++++++-------- .../java/com/mysql/cj/CharsetSettings.java | 33 ++++++-------- .../core-api/java/com/mysql/cj/Constants.java | 33 ++++++-------- .../java/com/mysql/cj/DataStoreMetadata.java | 33 ++++++-------- .../java/com/mysql/cj/MessageBuilder.java | 33 ++++++-------- .../core-api/java/com/mysql/cj/Messages.java | 33 ++++++-------- .../java/com/mysql/cj/MysqlConnection.java | 33 ++++++-------- .../core-api/java/com/mysql/cj/MysqlType.java | 33 ++++++-------- .../com/mysql/cj/PerConnectionLRUFactory.java | 33 ++++++-------- .../java/com/mysql/cj/PingTarget.java | 33 ++++++-------- .../java/com/mysql/cj/PreparedQuery.java | 33 ++++++-------- .../core-api/java/com/mysql/cj/Query.java | 33 ++++++-------- .../com/mysql/cj/QueryAttributesBindings.java | 33 ++++++-------- .../java/com/mysql/cj/QueryBindings.java | 33 ++++++-------- .../core-api/java/com/mysql/cj/QueryInfo.java | 33 ++++++-------- .../java/com/mysql/cj/QueryResult.java | 33 ++++++-------- .../java/com/mysql/cj/QueryReturnType.java | 33 ++++++-------- .../java/com/mysql/cj/ServerVersion.java | 33 ++++++-------- .../core-api/java/com/mysql/cj/Session.java | 33 ++++++-------- .../com/mysql/cj/TransactionEventHandler.java | 33 ++++++-------- .../java/com/mysql/cj/WarningListener.java | 33 ++++++-------- .../com/mysql/cj/callback/MysqlCallback.java | 33 ++++++-------- .../cj/callback/MysqlCallbackHandler.java | 33 ++++++-------- .../mysql/cj/callback/UsernameCallback.java | 33 ++++++-------- .../WebAuthnAuthenticationCallback.java | 33 ++++++-------- .../conf/ConnectionPropertiesTransform.java | 33 ++++++-------- .../java/com/mysql/cj/conf/ConnectionUrl.java | 33 ++++++-------- .../mysql/cj/conf/ConnectionUrlParser.java | 33 ++++++-------- .../mysql/cj/conf/DatabaseUrlContainer.java | 33 ++++++-------- .../java/com/mysql/cj/conf/HostInfo.java | 33 ++++++-------- .../java/com/mysql/cj/conf/HostsListView.java | 33 ++++++-------- .../com/mysql/cj/conf/PropertyDefinition.java | 33 ++++++-------- .../mysql/cj/conf/PropertyDefinitions.java | 31 +++++-------- .../java/com/mysql/cj/conf/PropertyKey.java | 31 +++++-------- .../java/com/mysql/cj/conf/PropertySet.java | 33 ++++++-------- .../com/mysql/cj/conf/RuntimeProperty.java | 33 ++++++-------- .../exceptions/AssertionFailedException.java | 33 ++++++-------- .../exceptions/CJCommunicationsException.java | 33 ++++++-------- ...onnectionFeatureNotAvailableException.java | 33 ++++++-------- .../com/mysql/cj/exceptions/CJException.java | 33 ++++++-------- .../CJOperationNotSupportedException.java | 33 ++++++-------- .../exceptions/CJPacketTooBigException.java | 33 ++++++-------- .../cj/exceptions/CJTimeoutException.java | 33 ++++++-------- .../ClosedOnExpiredPasswordException.java | 33 ++++++-------- .../ConnectionIsClosedException.java | 33 ++++++-------- .../exceptions/DataConversionException.java | 33 ++++++-------- .../cj/exceptions/DataReadException.java | 33 ++++++-------- .../exceptions/DataTruncationException.java | 33 ++++++-------- .../DeadlockTimeoutRollbackMarker.java | 33 ++++++-------- .../mysql/cj/exceptions/ExceptionFactory.java | 33 ++++++-------- .../cj/exceptions/ExceptionInterceptor.java | 33 ++++++-------- .../exceptions/ExceptionInterceptorChain.java | 33 ++++++-------- .../FeatureNotAvailableException.java | 33 ++++++-------- .../InvalidConnectionAttributeException.java | 33 ++++++-------- .../cj/exceptions/MysqlErrorNumbers.java | 33 ++++++-------- .../mysql/cj/exceptions/NumberOutOfRange.java | 33 ++++++-------- .../OperationCancelledException.java | 33 ++++++-------- .../exceptions/PasswordExpiredException.java | 33 ++++++-------- .../PropertyNotModifiableException.java | 33 ++++++-------- .../com/mysql/cj/exceptions/RSAException.java | 33 ++++++-------- .../cj/exceptions/SSLParamsException.java | 33 ++++++-------- .../StatementIsClosedException.java | 33 ++++++-------- .../cj/exceptions/StreamingNotifiable.java | 33 ++++++-------- .../exceptions/UnableToConnectException.java | 33 ++++++-------- .../UnsupportedConnectionStringException.java | 33 ++++++-------- .../cj/exceptions/WrongArgumentException.java | 33 ++++++-------- .../cj/interceptors/QueryInterceptor.java | 33 ++++++-------- .../java/com/mysql/cj/log/Jdk14Logger.java | 33 ++++++-------- .../core-api/java/com/mysql/cj/log/Log.java | 33 ++++++-------- .../java/com/mysql/cj/log/NullLogger.java | 33 ++++++-------- .../java/com/mysql/cj/log/ProfilerEvent.java | 33 ++++++-------- .../mysql/cj/log/ProfilerEventHandler.java | 33 ++++++-------- .../java/com/mysql/cj/log/Slf4JLogger.java | 33 ++++++-------- .../java/com/mysql/cj/log/StandardLogger.java | 33 ++++++-------- .../cj/protocol/AuthenticationPlugin.java | 33 ++++++-------- .../cj/protocol/AuthenticationProvider.java | 33 ++++++-------- .../mysql/cj/protocol/ColumnDefinition.java | 33 ++++++-------- .../cj/protocol/FullReadInputStream.java | 33 ++++++-------- .../com/mysql/cj/protocol/InternalDate.java | 33 ++++++-------- .../com/mysql/cj/protocol/InternalTime.java | 33 ++++++-------- .../mysql/cj/protocol/InternalTimestamp.java | 33 ++++++-------- .../java/com/mysql/cj/protocol/Message.java | 33 ++++++-------- .../com/mysql/cj/protocol/MessageHeader.java | 33 ++++++-------- .../mysql/cj/protocol/MessageListener.java | 33 ++++++-------- .../com/mysql/cj/protocol/MessageReader.java | 33 ++++++-------- .../com/mysql/cj/protocol/MessageSender.java | 33 ++++++-------- .../mysql/cj/protocol/NetworkResources.java | 33 ++++++-------- .../cj/protocol/OutputStreamWatcher.java | 33 ++++++-------- .../cj/protocol/PacketReceivedTimeHolder.java | 33 ++++++-------- .../cj/protocol/PacketSentTimeHolder.java | 33 ++++++-------- .../java/com/mysql/cj/protocol/Protocol.java | 33 ++++++-------- .../com/mysql/cj/protocol/ProtocolEntity.java | 33 ++++++-------- .../cj/protocol/ProtocolEntityFactory.java | 33 ++++++-------- .../cj/protocol/ProtocolEntityReader.java | 33 ++++++-------- .../com/mysql/cj/protocol/ResultBuilder.java | 33 ++++++-------- .../com/mysql/cj/protocol/ResultStreamer.java | 33 ++++++-------- .../java/com/mysql/cj/protocol/Resultset.java | 33 ++++++-------- .../com/mysql/cj/protocol/ResultsetRow.java | 33 ++++++-------- .../com/mysql/cj/protocol/ResultsetRows.java | 33 ++++++-------- .../mysql/cj/protocol/ResultsetRowsOwner.java | 33 ++++++-------- .../mysql/cj/protocol/ServerCapabilities.java | 33 ++++++-------- .../com/mysql/cj/protocol/ServerSession.java | 33 ++++++-------- .../ServerSessionStateController.java | 33 ++++++-------- .../mysql/cj/protocol/SocketConnection.java | 33 ++++++-------- .../com/mysql/cj/protocol/SocketFactory.java | 33 ++++++-------- .../com/mysql/cj/protocol/SocketMetadata.java | 33 ++++++-------- .../com/mysql/cj/protocol/ValueDecoder.java | 33 ++++++-------- .../com/mysql/cj/protocol/ValueEncoder.java | 33 ++++++-------- .../java/com/mysql/cj/protocol/Warning.java | 33 ++++++-------- .../mysql/cj/protocol/WatchableStream.java | 33 ++++++-------- .../java/com/mysql/cj/result/Field.java | 33 ++++++-------- .../java/com/mysql/cj/result/Row.java | 33 ++++++-------- .../java/com/mysql/cj/result/RowList.java | 33 ++++++-------- .../com/mysql/cj/result/ValueFactory.java | 33 ++++++-------- .../java/com/mysql/cj/util/Base64Decoder.java | 33 ++++++-------- .../java/com/mysql/cj/util/DataTypeUtil.java | 33 ++++++-------- .../java/com/mysql/cj/util/DnsSrv.java | 33 ++++++-------- .../com/mysql/cj/util/EscapeTokenizer.java | 33 ++++++-------- .../java/com/mysql/cj/util/LRUCache.java | 33 ++++++-------- .../java/com/mysql/cj/util/LazyString.java | 33 ++++++-------- .../java/com/mysql/cj/util/LogUtils.java | 33 ++++++-------- .../util/PerVmServerConfigCacheFactory.java | 33 ++++++-------- .../java/com/mysql/cj/util/SaslPrep.java | 33 ++++++-------- .../java/com/mysql/cj/util/SearchMode.java | 33 ++++++-------- .../com/mysql/cj/util/SequentialIdLease.java | 33 ++++++-------- .../com/mysql/cj/util/StringInspector.java | 33 ++++++-------- .../java/com/mysql/cj/util/StringUtils.java | 33 ++++++-------- .../java/com/mysql/cj/util/TestUtils.java | 33 ++++++-------- .../java/com/mysql/cj/util/TimeUtil.java | 33 ++++++-------- .../core-api/java/com/mysql/cj/util/Util.java | 33 ++++++-------- .../java/com/mysql/cj/AbstractQuery.java | 33 ++++++-------- .../com/mysql/cj/CancelQueryTaskImpl.java | 33 ++++++-------- .../com/mysql/cj/ClientPreparedQuery.java | 33 ++++++-------- .../java/com/mysql/cj/CoreSession.java | 33 ++++++-------- .../com/mysql/cj/DataStoreMetadataImpl.java | 33 ++++++-------- .../com/mysql/cj/LicenseConfiguration.java | 33 ++++++-------- .../java/com/mysql/cj/MysqlxSession.java | 33 ++++++-------- .../com/mysql/cj/NativeCharsetSettings.java | 33 ++++++-------- .../cj/NativeQueryAttributesBindings.java | 33 ++++++-------- .../com/mysql/cj/NativeQueryBindValue.java | 33 ++++++-------- .../com/mysql/cj/NativeQueryBindings.java | 33 ++++++-------- .../java/com/mysql/cj/NativeSession.java | 33 ++++++-------- .../com/mysql/cj/NoSubInterceptorWrapper.java | 33 ++++++-------- .../com/mysql/cj/ServerPreparedQuery.java | 33 ++++++-------- .../ServerPreparedQueryTestcaseGenerator.java | 33 ++++++-------- .../java/com/mysql/cj/SimpleQuery.java | 33 ++++++-------- .../com/mysql/cj/admin/ServerController.java | 33 ++++++-------- .../cj/conf/AbstractPropertyDefinition.java | 33 ++++++-------- .../cj/conf/AbstractRuntimeProperty.java | 33 ++++++-------- .../com/mysql/cj/conf/BooleanProperty.java | 33 ++++++-------- .../cj/conf/BooleanPropertyDefinition.java | 33 ++++++-------- .../com/mysql/cj/conf/DefaultPropertySet.java | 33 ++++++-------- .../java/com/mysql/cj/conf/EnumProperty.java | 33 ++++++-------- .../mysql/cj/conf/EnumPropertyDefinition.java | 33 ++++++-------- .../com/mysql/cj/conf/IntegerProperty.java | 33 ++++++-------- .../cj/conf/IntegerPropertyDefinition.java | 33 ++++++-------- .../java/com/mysql/cj/conf/LongProperty.java | 33 ++++++-------- .../mysql/cj/conf/LongPropertyDefinition.java | 33 ++++++-------- .../com/mysql/cj/conf/MemorySizeProperty.java | 33 ++++++-------- .../cj/conf/MemorySizePropertyDefinition.java | 33 ++++++-------- .../com/mysql/cj/conf/StringProperty.java | 33 ++++++-------- .../cj/conf/StringPropertyDefinition.java | 33 ++++++-------- .../cj/conf/url/FailoverConnectionUrl.java | 33 ++++++-------- .../conf/url/FailoverDnsSrvConnectionUrl.java | 33 ++++++-------- .../cj/conf/url/LoadBalanceConnectionUrl.java | 33 ++++++-------- .../url/LoadBalanceDnsSrvConnectionUrl.java | 33 ++++++-------- .../cj/conf/url/ReplicationConnectionUrl.java | 33 ++++++-------- .../url/ReplicationDnsSrvConnectionUrl.java | 33 ++++++-------- .../cj/conf/url/SingleConnectionUrl.java | 33 ++++++-------- .../cj/conf/url/XDevApiConnectionUrl.java | 33 ++++++-------- .../conf/url/XDevApiDnsSrvConnectionUrl.java | 33 ++++++-------- .../com/mysql/cj/log/BaseMetricsHolder.java | 33 ++++++-------- .../java/com/mysql/cj/log/LogFactory.java | 33 ++++++-------- .../cj/log/LoggingProfilerEventHandler.java | 33 ++++++-------- .../com/mysql/cj/log/ProfilerEventImpl.java | 33 ++++++-------- .../mysql/cj/protocol/AbstractProtocol.java | 33 ++++++-------- .../cj/protocol/AbstractSocketConnection.java | 33 ++++++-------- .../mysql/cj/protocol/ExportControlled.java | 33 ++++++-------- .../cj/protocol/NamedPipeSocketFactory.java | 33 ++++++-------- .../cj/protocol/ReadAheadInputStream.java | 33 ++++++-------- .../java/com/mysql/cj/protocol/Security.java | 33 ++++++-------- .../cj/protocol/SocksProxySocketFactory.java | 33 ++++++-------- .../cj/protocol/StandardSocketFactory.java | 33 ++++++-------- .../cj/protocol/WatchableOutputStream.java | 33 ++++++-------- .../mysql/cj/protocol/WatchableWriter.java | 33 ++++++-------- .../com/mysql/cj/protocol/WriterWatcher.java | 33 ++++++-------- .../protocol/result/AbstractResultsetRow.java | 33 ++++++-------- .../result/AbstractDateTimeValueFactory.java | 33 ++++++-------- .../result/AbstractNumericValueFactory.java | 33 ++++++-------- .../cj/result/BigDecimalValueFactory.java | 33 ++++++-------- .../cj/result/BinaryStreamValueFactory.java | 33 ++++++-------- .../mysql/cj/result/BooleanValueFactory.java | 33 ++++++-------- .../com/mysql/cj/result/BufferedRowList.java | 33 ++++++-------- .../com/mysql/cj/result/ByteValueFactory.java | 33 ++++++-------- .../cj/result/DefaultColumnDefinition.java | 33 ++++++-------- .../mysql/cj/result/DefaultValueFactory.java | 33 ++++++-------- .../mysql/cj/result/DoubleValueFactory.java | 33 ++++++-------- .../mysql/cj/result/DurationValueFactory.java | 33 ++++++-------- .../mysql/cj/result/FloatValueFactory.java | 33 ++++++-------- .../mysql/cj/result/IntegerValueFactory.java | 33 ++++++-------- .../cj/result/LocalDateTimeValueFactory.java | 33 ++++++-------- .../cj/result/LocalDateValueFactory.java | 33 ++++++-------- .../cj/result/LocalTimeValueFactory.java | 33 ++++++-------- .../com/mysql/cj/result/LongValueFactory.java | 33 ++++++-------- .../cj/result/OffsetDateTimeValueFactory.java | 33 ++++++-------- .../cj/result/OffsetTimeValueFactory.java | 33 ++++++-------- .../mysql/cj/result/ShortValueFactory.java | 33 ++++++-------- .../mysql/cj/result/SqlDateValueFactory.java | 33 ++++++-------- .../mysql/cj/result/SqlTimeValueFactory.java | 33 ++++++-------- .../cj/result/SqlTimestampValueFactory.java | 33 ++++++-------- .../mysql/cj/result/StringValueFactory.java | 33 ++++++-------- .../cj/result/UtilCalendarValueFactory.java | 33 ++++++-------- .../cj/result/ZonedDateTimeValueFactory.java | 33 ++++++-------- .../mysql/cj/sasl/ScramSha1SaslClient.java | 33 ++++++-------- .../mysql/cj/sasl/ScramSha256SaslClient.java | 33 ++++++-------- .../com/mysql/cj/sasl/ScramShaSaslClient.java | 33 ++++++-------- .../cj/sasl/ScramShaSaslClientFactory.java | 33 ++++++-------- .../mysql/cj/sasl/ScramShaSaslProvider.java | 33 ++++++-------- .../cj/protocol/a/AbstractRowFactory.java | 33 ++++++-------- .../cj/protocol/a/AbstractValueEncoder.java | 33 ++++++-------- .../cj/protocol/a/BinaryResultsetReader.java | 33 ++++++-------- .../mysql/cj/protocol/a/BinaryRowFactory.java | 33 ++++++-------- .../mysql/cj/protocol/a/BlobValueEncoder.java | 33 ++++++-------- .../cj/protocol/a/BooleanValueEncoder.java | 33 ++++++-------- .../cj/protocol/a/ByteArrayValueEncoder.java | 33 ++++++-------- .../mysql/cj/protocol/a/ClobValueEncoder.java | 33 ++++++-------- .../protocol/a/ColumnDefinitionFactory.java | 33 ++++++-------- .../cj/protocol/a/ColumnDefinitionReader.java | 33 ++++++-------- .../cj/protocol/a/CompressedInputStream.java | 33 ++++++-------- .../cj/protocol/a/CompressedPacketSender.java | 33 ++++++-------- .../a/DebugBufferingPacketReader.java | 33 ++++++-------- .../a/DebugBufferingPacketSender.java | 33 ++++++-------- .../cj/protocol/a/DurationValueEncoder.java | 33 ++++++-------- .../protocol/a/InputStreamValueEncoder.java | 33 ++++++-------- .../cj/protocol/a/InstantValueEncoder.java | 31 +++++-------- .../protocol/a/LocalDateTimeValueEncoder.java | 33 ++++++-------- .../cj/protocol/a/LocalDateValueEncoder.java | 33 ++++++-------- .../cj/protocol/a/LocalTimeValueEncoder.java | 33 ++++++-------- .../a/MergingColumnDefinitionFactory.java | 33 ++++++-------- .../cj/protocol/a/MultiPacketReader.java | 33 ++++++-------- .../protocol/a/MysqlBinaryValueDecoder.java | 33 ++++++-------- .../cj/protocol/a/MysqlTextValueDecoder.java | 33 ++++++-------- .../a/NativeAuthenticationProvider.java | 31 +++++-------- .../cj/protocol/a/NativeCapabilities.java | 33 ++++++-------- .../mysql/cj/protocol/a/NativeConstants.java | 33 ++++++-------- .../cj/protocol/a/NativeMessageBuilder.java | 33 ++++++-------- .../cj/protocol/a/NativePacketHeader.java | 33 ++++++-------- .../cj/protocol/a/NativePacketPayload.java | 33 ++++++-------- .../mysql/cj/protocol/a/NativeProtocol.java | 33 ++++++-------- .../cj/protocol/a/NativeServerSession.java | 33 ++++++-------- .../a/NativeServerSessionStateController.java | 33 ++++++-------- .../cj/protocol/a/NativeSocketConnection.java | 33 ++++++-------- .../com/mysql/cj/protocol/a/NativeUtils.java | 33 ++++++-------- .../mysql/cj/protocol/a/NullValueEncoder.java | 33 ++++++-------- .../cj/protocol/a/NumberValueEncoder.java | 33 ++++++-------- .../a/OffsetDateTimeValueEncoder.java | 31 +++++-------- .../cj/protocol/a/OffsetTimeValueEncoder.java | 33 ++++++-------- .../mysql/cj/protocol/a/PacketSplitter.java | 33 ++++++-------- .../cj/protocol/a/ReaderValueEncoder.java | 33 ++++++-------- .../mysql/cj/protocol/a/ResultsetFactory.java | 33 ++++++-------- .../cj/protocol/a/ResultsetRowReader.java | 33 ++++++-------- .../cj/protocol/a/SimplePacketReader.java | 33 ++++++-------- .../cj/protocol/a/SimplePacketSender.java | 33 ++++++-------- .../cj/protocol/a/SqlDateValueEncoder.java | 33 ++++++-------- .../cj/protocol/a/SqlTimeValueEncoder.java | 31 +++++-------- .../protocol/a/SqlTimestampValueEncoder.java | 31 +++++-------- .../cj/protocol/a/StringValueEncoder.java | 33 ++++++-------- .../cj/protocol/a/TextResultsetReader.java | 33 ++++++-------- .../mysql/cj/protocol/a/TextRowFactory.java | 33 ++++++-------- .../protocol/a/TimeTrackingPacketReader.java | 33 ++++++-------- .../protocol/a/TimeTrackingPacketSender.java | 33 ++++++-------- .../cj/protocol/a/TracingPacketReader.java | 33 ++++++-------- .../cj/protocol/a/TracingPacketSender.java | 33 ++++++-------- .../protocol/a/UtilCalendarValueEncoder.java | 31 +++++-------- .../cj/protocol/a/UtilDateValueEncoder.java | 31 +++++-------- .../protocol/a/ZonedDateTimeValueEncoder.java | 31 +++++-------- .../AuthenticationKerberosClient.java | 33 ++++++-------- .../AuthenticationLdapSaslClientPlugin.java | 33 ++++++-------- .../AuthenticationOciClient.java | 33 ++++++-------- .../AuthenticationWebAuthnClient.java | 33 ++++++-------- .../CachingSha2PasswordPlugin.java | 33 ++++++-------- .../MysqlClearPasswordPlugin.java | 33 ++++++-------- .../MysqlNativePasswordPlugin.java | 33 ++++++-------- .../MysqlOldPasswordPlugin.java | 33 ++++++-------- .../authentication/Sha256PasswordPlugin.java | 33 ++++++-------- .../protocol/a/result/AbstractBufferRow.java | 33 ++++++-------- .../a/result/AbstractResultsetRows.java | 33 ++++++-------- .../cj/protocol/a/result/BinaryBufferRow.java | 33 ++++++-------- .../cj/protocol/a/result/ByteArrayRow.java | 33 ++++++-------- .../cj/protocol/a/result/NativeResultset.java | 33 ++++++-------- .../mysql/cj/protocol/a/result/OkPacket.java | 33 ++++++-------- .../a/result/ResultsetRowsCursor.java | 33 ++++++-------- .../a/result/ResultsetRowsStatic.java | 33 ++++++-------- .../a/result/ResultsetRowsStreaming.java | 33 ++++++-------- .../cj/protocol/a/result/TextBufferRow.java | 33 ++++++-------- .../cj/protocol/x/CompressionAlgorithm.java | 33 ++++++-------- .../mysql/cj/protocol/x/CompressionMode.java | 33 ++++++-------- .../x/CompressionSplittedInputStream.java | 33 ++++++-------- .../x/CompressionSplittedOutputStream.java | 33 ++++++-------- .../protocol/x/CompressorStreamsFactory.java | 33 ++++++-------- .../cj/protocol/x/ConfinedInputStream.java | 33 ++++++-------- .../cj/protocol/x/ContinuousInputStream.java | 33 ++++++-------- .../cj/protocol/x/ContinuousOutputStream.java | 33 ++++++-------- .../x/ErrorToFutureCompletionHandler.java | 33 ++++++-------- .../mysql/cj/protocol/x/FetchDoneEntity.java | 33 ++++++-------- .../cj/protocol/x/FetchDoneEntityFactory.java | 33 ++++++-------- .../cj/protocol/x/FetchDoneMoreResults.java | 33 ++++++-------- .../x/FetchDoneMoreResultsFactory.java | 33 ++++++-------- .../com/mysql/cj/protocol/x/FieldFactory.java | 33 ++++++-------- .../mysql/cj/protocol/x/MessageConstants.java | 33 ++++++-------- .../java/com/mysql/cj/protocol/x/Notice.java | 33 ++++++-------- .../mysql/cj/protocol/x/NoticeFactory.java | 33 ++++++-------- .../java/com/mysql/cj/protocol/x/Ok.java | 33 ++++++-------- .../com/mysql/cj/protocol/x/OkBuilder.java | 33 ++++++-------- .../com/mysql/cj/protocol/x/OkFactory.java | 33 ++++++-------- .../cj/protocol/x/ResultMessageListener.java | 33 ++++++-------- .../cj/protocol/x/ReusableOutputStream.java | 33 ++++++-------- .../cj/protocol/x/StatementExecuteOk.java | 33 ++++++-------- .../protocol/x/StatementExecuteOkBuilder.java | 33 ++++++-------- .../protocol/x/StatementExecuteOkFactory.java | 33 ++++++-------- .../x/SyncFlushDeflaterOutputStream.java | 33 ++++++-------- .../cj/protocol/x/SyncMessageReader.java | 33 ++++++-------- .../cj/protocol/x/SyncMessageSender.java | 33 ++++++-------- .../protocol/x/XAuthenticationProvider.java | 33 ++++++-------- .../com/mysql/cj/protocol/x/XMessage.java | 33 ++++++-------- .../mysql/cj/protocol/x/XMessageBuilder.java | 33 ++++++-------- .../mysql/cj/protocol/x/XMessageHeader.java | 33 ++++++-------- .../com/mysql/cj/protocol/x/XProtocol.java | 33 ++++++-------- .../mysql/cj/protocol/x/XProtocolDecoder.java | 33 ++++++-------- .../mysql/cj/protocol/x/XProtocolError.java | 33 ++++++-------- .../com/mysql/cj/protocol/x/XProtocolRow.java | 33 ++++++-------- .../cj/protocol/x/XProtocolRowFactory.java | 33 ++++++-------- .../protocol/x/XProtocolRowInputStream.java | 33 ++++++-------- .../cj/protocol/x/XServerCapabilities.java | 33 ++++++-------- .../mysql/cj/protocol/x/XServerSession.java | 33 ++++++-------- .../protocol/x/XpluginStatementCommand.java | 33 ++++++-------- .../cj/LocalizedErrorMessages.properties | 31 +++++-------- .../com/mysql/cj/TlsSettings.properties | 33 ++++++-------- .../mysql/cj/util/TimeZoneMapping.properties | 33 ++++++-------- .../com/mysql/cj/jdbc/ClientInfoProvider.java | 33 ++++++-------- .../com/mysql/cj/jdbc/JdbcConnection.java | 33 ++++++-------- .../mysql/cj/jdbc/JdbcPreparedStatement.java | 33 ++++++-------- .../com/mysql/cj/jdbc/JdbcPropertySet.java | 33 ++++++-------- .../java/com/mysql/cj/jdbc/JdbcStatement.java | 33 ++++++-------- .../com/mysql/cj/jdbc/ParameterBindings.java | 33 ++++++-------- .../com/mysql/cj/jdbc/ha/BalanceStrategy.java | 33 ++++++-------- .../jdbc/ha/LoadBalanceExceptionChecker.java | 33 ++++++-------- .../cj/jdbc/ha/LoadBalancedConnection.java | 33 ++++++-------- .../cj/jdbc/ha/ReplicationConnection.java | 33 ++++++-------- .../ConnectionLifecycleInterceptor.java | 33 ++++++-------- .../jdbc/result/CachedResultSetMetaData.java | 33 ++++++-------- .../jdbc/result/ResultSetInternalMethods.java | 33 ++++++-------- .../java/com/mysql/cj/xdevapi/AddResult.java | 33 ++++++-------- .../com/mysql/cj/xdevapi/AddStatement.java | 33 ++++++-------- .../java/com/mysql/cj/xdevapi/Client.java | 33 ++++++-------- .../com/mysql/cj/xdevapi/ClientFactory.java | 33 ++++++-------- .../java/com/mysql/cj/xdevapi/Collection.java | 33 ++++++-------- .../java/com/mysql/cj/xdevapi/Column.java | 33 ++++++-------- .../com/mysql/cj/xdevapi/DatabaseObject.java | 33 ++++++-------- .../java/com/mysql/cj/xdevapi/DbDoc.java | 33 ++++++-------- .../com/mysql/cj/xdevapi/DeleteStatement.java | 33 ++++++-------- .../java/com/mysql/cj/xdevapi/DocResult.java | 33 ++++++-------- .../java/com/mysql/cj/xdevapi/Expression.java | 33 ++++++-------- .../com/mysql/cj/xdevapi/FetchResult.java | 33 ++++++-------- .../com/mysql/cj/xdevapi/FilterParams.java | 33 ++++++-------- .../com/mysql/cj/xdevapi/FindStatement.java | 33 ++++++-------- .../com/mysql/cj/xdevapi/InsertResult.java | 33 ++++++-------- .../com/mysql/cj/xdevapi/InsertStatement.java | 33 ++++++-------- .../java/com/mysql/cj/xdevapi/JsonValue.java | 33 ++++++-------- .../com/mysql/cj/xdevapi/ModifyStatement.java | 33 ++++++-------- .../com/mysql/cj/xdevapi/RemoveStatement.java | 33 ++++++-------- .../java/com/mysql/cj/xdevapi/Result.java | 33 ++++++-------- .../java/com/mysql/cj/xdevapi/Row.java | 33 ++++++-------- .../java/com/mysql/cj/xdevapi/RowResult.java | 33 ++++++-------- .../java/com/mysql/cj/xdevapi/Schema.java | 33 ++++++-------- .../com/mysql/cj/xdevapi/SelectStatement.java | 33 ++++++-------- .../java/com/mysql/cj/xdevapi/Session.java | 33 ++++++-------- .../com/mysql/cj/xdevapi/SessionFactory.java | 33 ++++++-------- .../java/com/mysql/cj/xdevapi/SqlResult.java | 33 ++++++-------- .../com/mysql/cj/xdevapi/SqlStatement.java | 33 ++++++-------- .../java/com/mysql/cj/xdevapi/Statement.java | 33 ++++++-------- .../java/com/mysql/cj/xdevapi/Table.java | 33 ++++++-------- .../java/com/mysql/cj/xdevapi/Type.java | 33 ++++++-------- .../com/mysql/cj/xdevapi/UpdateStatement.java | 33 ++++++-------- .../java/com/mysql/cj/xdevapi/UpdateType.java | 33 ++++++-------- .../java/com/mysql/cj/xdevapi/Warning.java | 33 ++++++-------- .../com/mysql/cj/xdevapi/XDevAPIError.java | 33 ++++++-------- .../com/mysql/cj/xdevapi/package-info.java | 33 ++++++-------- .../AbandonedConnectionCleanupThread.java | 33 ++++++-------- .../java/com/mysql/cj/jdbc/Blob.java | 33 ++++++-------- .../com/mysql/cj/jdbc/BlobFromLocator.java | 33 ++++++-------- .../com/mysql/cj/jdbc/CallableStatement.java | 33 ++++++-------- .../cj/jdbc/CallableStatementWrapper.java | 33 ++++++-------- .../mysql/cj/jdbc/ClientInfoProviderSP.java | 33 ++++++-------- .../cj/jdbc/ClientPreparedStatement.java | 33 ++++++-------- .../java/com/mysql/cj/jdbc/Clob.java | 33 ++++++-------- .../cj/jdbc/CommentClientInfoProvider.java | 33 ++++++-------- .../com/mysql/cj/jdbc/ConnectionGroup.java | 33 ++++++-------- .../mysql/cj/jdbc/ConnectionGroupManager.java | 33 ++++++-------- .../com/mysql/cj/jdbc/ConnectionImpl.java | 33 ++++++-------- .../com/mysql/cj/jdbc/ConnectionWrapper.java | 33 ++++++-------- .../com/mysql/cj/jdbc/DatabaseMetaData.java | 31 +++++-------- .../jdbc/DatabaseMetaDataUsingInfoSchema.java | 33 ++++++-------- .../java/com/mysql/cj/jdbc/Driver.java | 33 ++++++-------- .../com/mysql/cj/jdbc/EscapeProcessor.java | 33 ++++++-------- .../mysql/cj/jdbc/EscapeProcessorResult.java | 33 ++++++-------- .../java/com/mysql/cj/jdbc/IterateBlock.java | 33 ++++++-------- .../mysql/cj/jdbc/JdbcPropertySetImpl.java | 33 ++++++-------- .../jdbc/MysqlConnectionPoolDataSource.java | 33 ++++++-------- .../com/mysql/cj/jdbc/MysqlDataSource.java | 33 ++++++-------- .../mysql/cj/jdbc/MysqlDataSourceFactory.java | 33 ++++++-------- .../mysql/cj/jdbc/MysqlParameterMetadata.java | 33 ++++++-------- .../mysql/cj/jdbc/MysqlPooledConnection.java | 33 ++++++-------- .../java/com/mysql/cj/jdbc/MysqlSQLXML.java | 33 ++++++-------- .../com/mysql/cj/jdbc/MysqlSavepoint.java | 33 ++++++-------- .../com/mysql/cj/jdbc/MysqlXAConnection.java | 33 ++++++-------- .../com/mysql/cj/jdbc/MysqlXADataSource.java | 33 ++++++-------- .../com/mysql/cj/jdbc/MysqlXAException.java | 33 ++++++-------- .../java/com/mysql/cj/jdbc/MysqlXid.java | 33 ++++++-------- .../java/com/mysql/cj/jdbc/NClob.java | 33 ++++++-------- .../mysql/cj/jdbc/NonRegisteringDriver.java | 33 ++++++-------- .../mysql/cj/jdbc/ParameterBindingsImpl.java | 31 +++++-------- .../cj/jdbc/PreparedStatementWrapper.java | 33 ++++++-------- .../cj/jdbc/ServerPreparedStatement.java | 33 ++++++-------- .../java/com/mysql/cj/jdbc/StatementImpl.java | 33 ++++++-------- .../com/mysql/cj/jdbc/StatementWrapper.java | 33 ++++++-------- .../cj/jdbc/SuspendableXAConnection.java | 33 ++++++-------- .../java/com/mysql/cj/jdbc/WrapperBase.java | 33 ++++++-------- .../com/mysql/cj/jdbc/admin/MiniAdmin.java | 33 ++++++-------- .../exceptions/CommunicationsException.java | 33 ++++++-------- ...onnectionFeatureNotAvailableException.java | 33 ++++++-------- .../MySQLQueryInterruptedException.java | 33 ++++++-------- .../MySQLStatementCancelledException.java | 33 ++++++-------- .../exceptions/MySQLTimeoutException.java | 33 ++++++-------- .../MySQLTransactionRollbackException.java | 33 ++++++-------- .../jdbc/exceptions/MysqlDataTruncation.java | 33 ++++++-------- .../cj/jdbc/exceptions/NotUpdatable.java | 33 ++++++-------- .../OperationNotSupportedException.java | 33 ++++++-------- .../exceptions/PacketTooBigException.java | 33 ++++++-------- .../mysql/cj/jdbc/exceptions/SQLError.java | 33 ++++++-------- .../jdbc/exceptions/SQLExceptionsMapping.java | 33 ++++++-------- .../ha/BestResponseTimeBalanceStrategy.java | 31 +++++-------- .../cj/jdbc/ha/FailoverConnectionProxy.java | 33 ++++++-------- .../ha/LoadBalancedAutoCommitInterceptor.java | 33 ++++++-------- .../jdbc/ha/LoadBalancedConnectionProxy.java | 33 ++++++-------- .../jdbc/ha/LoadBalancedMySQLConnection.java | 33 ++++++-------- .../cj/jdbc/ha/MultiHostConnectionProxy.java | 33 ++++++-------- .../cj/jdbc/ha/MultiHostMySQLConnection.java | 33 ++++++-------- .../ha/NdbLoadBalanceExceptionChecker.java | 33 ++++++-------- .../cj/jdbc/ha/RandomBalanceStrategy.java | 33 ++++++-------- .../jdbc/ha/ReplicationConnectionGroup.java | 33 ++++++-------- .../ha/ReplicationConnectionGroupManager.java | 33 ++++++-------- .../jdbc/ha/ReplicationConnectionProxy.java | 33 ++++++-------- .../jdbc/ha/ReplicationMySQLConnection.java | 33 ++++++-------- .../cj/jdbc/ha/SequentialBalanceStrategy.java | 33 ++++++-------- .../cj/jdbc/ha/ServerAffinityStrategy.java | 33 ++++++-------- .../StandardLoadBalanceExceptionChecker.java | 33 ++++++-------- .../c3p0/MysqlConnectionTester.java | 33 ++++++-------- .../ResultSetScannerInterceptor.java | 33 ++++++-------- .../ServerStatusDiffInterceptor.java | 33 ++++++-------- .../SessionAssociationInterceptor.java | 33 ++++++-------- .../LoadBalanceConnectionGroupManager.java | 33 ++++++-------- ...oadBalanceConnectionGroupManagerMBean.java | 33 ++++++-------- .../cj/jdbc/jmx/ReplicationGroupManager.java | 33 ++++++-------- .../jmx/ReplicationGroupManagerMBean.java | 33 ++++++-------- .../result/CachedResultSetMetaDataImpl.java | 33 ++++++-------- .../cj/jdbc/result/ResultSetFactory.java | 31 +++++-------- .../mysql/cj/jdbc/result/ResultSetImpl.java | 31 +++++-------- .../cj/jdbc/result/ResultSetMetaData.java | 33 ++++++-------- .../cj/jdbc/result/UpdatableResultSet.java | 33 ++++++-------- .../com/mysql/cj/jdbc/util/BaseBugReport.java | 43 ++++++++----------- .../mysql/cj/xdevapi/AbstractDataResult.java | 33 ++++++-------- .../cj/xdevapi/AbstractFilterParams.java | 33 ++++++-------- .../mysql/cj/xdevapi/AddResultBuilder.java | 33 ++++++-------- .../com/mysql/cj/xdevapi/AddResultImpl.java | 33 ++++++-------- .../mysql/cj/xdevapi/AddStatementImpl.java | 33 ++++++-------- .../java/com/mysql/cj/xdevapi/ClientImpl.java | 33 ++++++-------- .../com/mysql/cj/xdevapi/CollectionImpl.java | 33 ++++++-------- .../java/com/mysql/cj/xdevapi/ColumnImpl.java | 33 ++++++-------- .../mysql/cj/xdevapi/CreateIndexParams.java | 33 ++++++-------- .../cj/xdevapi/DatabaseObjectDescription.java | 33 ++++++-------- .../com/mysql/cj/xdevapi/DbDocFactory.java | 33 ++++++-------- .../java/com/mysql/cj/xdevapi/DbDocImpl.java | 33 ++++++-------- .../mysql/cj/xdevapi/DbDocValueFactory.java | 33 ++++++-------- .../mysql/cj/xdevapi/DeleteStatementImpl.java | 33 ++++++-------- .../com/mysql/cj/xdevapi/DocFilterParams.java | 33 ++++++-------- .../mysql/cj/xdevapi/DocResultBuilder.java | 33 ++++++-------- .../com/mysql/cj/xdevapi/DocResultImpl.java | 33 ++++++-------- .../java/com/mysql/cj/xdevapi/ExprParser.java | 33 ++++++-------- .../com/mysql/cj/xdevapi/ExprUnparser.java | 33 ++++++-------- .../java/com/mysql/cj/xdevapi/ExprUtil.java | 33 ++++++-------- .../mysql/cj/xdevapi/FilterableStatement.java | 33 ++++++-------- .../mysql/cj/xdevapi/FindStatementImpl.java | 33 ++++++-------- .../com/mysql/cj/xdevapi/InsertParams.java | 33 ++++++-------- .../mysql/cj/xdevapi/InsertResultBuilder.java | 33 ++++++-------- .../mysql/cj/xdevapi/InsertResultImpl.java | 33 ++++++-------- .../mysql/cj/xdevapi/InsertStatementImpl.java | 33 ++++++-------- .../java/com/mysql/cj/xdevapi/JsonArray.java | 33 ++++++-------- .../com/mysql/cj/xdevapi/JsonLiteral.java | 33 ++++++-------- .../java/com/mysql/cj/xdevapi/JsonNumber.java | 33 ++++++-------- .../java/com/mysql/cj/xdevapi/JsonParser.java | 33 ++++++-------- .../java/com/mysql/cj/xdevapi/JsonString.java | 33 ++++++-------- .../mysql/cj/xdevapi/ModifyStatementImpl.java | 33 ++++++-------- .../mysql/cj/xdevapi/PreparableStatement.java | 33 ++++++-------- .../mysql/cj/xdevapi/RemoveStatementImpl.java | 33 ++++++-------- .../java/com/mysql/cj/xdevapi/RowFactory.java | 33 ++++++-------- .../java/com/mysql/cj/xdevapi/RowImpl.java | 33 ++++++-------- .../mysql/cj/xdevapi/RowResultBuilder.java | 33 ++++++-------- .../com/mysql/cj/xdevapi/RowResultImpl.java | 33 ++++++-------- .../java/com/mysql/cj/xdevapi/SchemaImpl.java | 33 ++++++-------- .../mysql/cj/xdevapi/SelectStatementImpl.java | 33 ++++++-------- .../com/mysql/cj/xdevapi/SessionImpl.java | 33 ++++++-------- .../com/mysql/cj/xdevapi/SqlMultiResult.java | 33 ++++++-------- .../mysql/cj/xdevapi/SqlResultBuilder.java | 33 ++++++-------- .../com/mysql/cj/xdevapi/SqlSingleResult.java | 33 ++++++-------- .../mysql/cj/xdevapi/SqlStatementImpl.java | 33 ++++++-------- .../com/mysql/cj/xdevapi/SqlUpdateResult.java | 33 ++++++-------- .../cj/xdevapi/StreamingDocResultBuilder.java | 33 ++++++-------- .../cj/xdevapi/StreamingRowResultBuilder.java | 33 ++++++-------- .../cj/xdevapi/StreamingSqlResultBuilder.java | 33 ++++++-------- .../mysql/cj/xdevapi/TableFilterParams.java | 33 ++++++-------- .../java/com/mysql/cj/xdevapi/TableImpl.java | 33 ++++++-------- .../com/mysql/cj/xdevapi/UpdateParams.java | 33 ++++++-------- .../com/mysql/cj/xdevapi/UpdateResult.java | 33 ++++++-------- .../mysql/cj/xdevapi/UpdateResultBuilder.java | 33 ++++++-------- .../java/com/mysql/cj/xdevapi/UpdateSpec.java | 33 ++++++-------- .../mysql/cj/xdevapi/UpdateStatementImpl.java | 33 ++++++-------- .../com/mysql/cj/xdevapi/WarningImpl.java | 33 ++++++-------- .../com/mysql/cj/CharsetMappingWrapper.java | 33 ++++++-------- .../java/com/mysql/cj/ConnectionUrlTest.java | 33 ++++++-------- src/test/java/com/mysql/cj/MessagesTest.java | 33 ++++++-------- .../java/com/mysql/cj/ServerVersionTest.java | 33 ++++++-------- .../a/CompressedPacketSenderTest.java | 33 ++++++-------- .../a/DebugBufferingPacketSenderTest.java | 33 ++++++-------- .../a/MysqlBinaryValueDecoderTest.java | 33 ++++++-------- .../protocol/a/MysqlTextValueDecoderTest.java | 33 ++++++-------- .../cj/protocol/a/PacketSenderTestBase.java | 33 ++++++-------- .../cj/protocol/a/SimplePacketReaderTest.java | 33 ++++++-------- .../cj/protocol/a/SimplePacketSenderTest.java | 33 ++++++-------- .../mysql/cj/protocol/x/CompressionTest.java | 33 ++++++-------- .../cj/protocol/x/SyncMessageReaderTest.java | 33 ++++++-------- .../cj/protocol/x/SyncMessageWriterTest.java | 33 ++++++-------- .../cj/result/BigDecimalValueFactoryTest.java | 33 ++++++-------- .../result/BinaryStreamValueFactoryTest.java | 33 ++++++-------- .../cj/result/BooleanValueFactoryTest.java | 33 ++++++-------- .../mysql/cj/result/ByteValueFactoryTest.java | 33 ++++++-------- .../com/mysql/cj/result/CommonAsserts.java | 33 ++++++-------- .../cj/result/DoubleValueFactoryTest.java | 33 ++++++-------- .../cj/result/FloatValueFactoryTest.java | 33 ++++++-------- .../cj/result/IntegerValueFactoryTest.java | 33 ++++++-------- .../result/LocalDateTimeValueFactoryTest.java | 33 ++++++-------- .../cj/result/LocalDateValueFactoryTest.java | 33 ++++++-------- .../cj/result/LocalTimeValueFactoryTest.java | 33 ++++++-------- .../mysql/cj/result/LongValueFactoryTest.java | 33 ++++++-------- .../cj/result/ShortValueFactoryTest.java | 33 ++++++-------- .../cj/result/SqlDateValueFactoryTest.java | 33 ++++++-------- .../cj/result/SqlTimeValueFactoryTest.java | 33 ++++++-------- .../result/SqlTimestampValueFactoryTest.java | 33 ++++++-------- .../cj/result/StringValueFactoryTest.java | 33 ++++++-------- .../ZeroDateTimeToNullValueFactoryTest.java | 33 ++++++-------- .../mysql/cj/util/StringInspectorTest.java | 33 ++++++-------- .../com/mysql/cj/util/StringUtilsTest.java | 33 ++++++-------- .../java/com/mysql/cj/util/TimeUtilTest.java | 33 ++++++-------- .../com/mysql/cj/xdevapi/ExprParserTest.java | 33 ++++++-------- .../com/mysql/cj/xdevapi/JsonDocTest.java | 33 ++++++-------- .../java/testsuite/BaseQueryInterceptor.java | 33 ++++++-------- src/test/java/testsuite/BaseTestCase.java | 33 ++++++-------- src/test/java/testsuite/BufferingLogger.java | 33 ++++++-------- .../java/testsuite/InjectedSocketFactory.java | 33 ++++++-------- src/test/java/testsuite/JUnitSummary.java | 33 ++++++-------- .../testsuite/MockJndiContextFactory.java | 33 ++++++-------- src/test/java/testsuite/TestUtils.java | 33 ++++++-------- .../testsuite/UnreliableSocketFactory.java | 33 ++++++-------- .../java/testsuite/perf/BasePerfTest.java | 33 ++++++-------- .../testsuite/perf/LoadStorePerfTest.java | 33 ++++++-------- .../testsuite/perf/RetrievalPerfTest.java | 33 ++++++-------- .../regression/BlobRegressionTest.java | 33 ++++++-------- .../regression/CachedRowsetTest.java | 33 ++++++-------- .../CallableStatementRegressionTest.java | 35 ++++++--------- .../regression/CharsetRegressionTest.java | 33 ++++++-------- .../regression/ConnectionRegressionTest.java | 31 +++++-------- .../regression/DataSourceRegressionTest.java | 33 ++++++-------- .../regression/DateTimeRegressionTest.java | 33 ++++++-------- .../EscapeProcessorRegressionTest.java | 33 ++++++-------- .../regression/ExceptionSubclassesTest.java | 33 ++++++-------- .../regression/MetaDataRegressionTest.java | 31 +++++-------- .../MicroPerformanceRegressionTest.java | 33 ++++++-------- .../regression/NonLocalSocketFactory.java | 33 ++++++-------- .../regression/NumbersRegressionTest.java | 33 ++++++-------- .../PooledConnectionRegressionTest.java | 33 ++++++-------- .../regression/ResultSetRegressionTest.java | 31 +++++-------- .../regression/StatementRegressionTest.java | 31 +++++-------- .../regression/StressRegressionTest.java | 33 ++++++-------- .../regression/StringRegressionTest.java | 33 ++++++-------- .../regression/SubqueriesRegressionTest.java | 33 ++++++-------- .../regression/SyntaxRegressionTest.java | 31 +++++-------- .../regression/UtilsRegressionTest.java | 33 ++++++-------- .../testsuite/simple/AuthenticationTest.java | 33 ++++++-------- src/test/java/testsuite/simple/BlobTest.java | 33 ++++++-------- .../simple/CallableStatementTest.java | 33 ++++++-------- .../java/testsuite/simple/CharsetTest.java | 33 ++++++-------- .../java/testsuite/simple/ConnectionTest.java | 33 ++++++-------- .../java/testsuite/simple/DataSourceTest.java | 33 ++++++-------- src/test/java/testsuite/simple/DateTest.java | 33 ++++++-------- .../java/testsuite/simple/DateTimeTest.java | 33 ++++++-------- .../simple/EscapeProcessingTest.java | 33 ++++++-------- .../java/testsuite/simple/ExceptionsTest.java | 33 ++++++-------- .../java/testsuite/simple/MetadataTest.java | 33 ++++++-------- .../java/testsuite/simple/MiniAdminTest.java | 33 ++++++-------- .../simple/MultiHostConnectionTest.java | 33 ++++++-------- .../java/testsuite/simple/NumbersTest.java | 33 ++++++-------- .../testsuite/simple/QueryAttributesTest.java | 33 ++++++-------- .../simple/ReadOnlyCallableStatementTest.java | 33 ++++++-------- .../java/testsuite/simple/ResultSetTest.java | 33 ++++++-------- .../java/testsuite/simple/SaslPrepTest.java | 33 ++++++-------- .../simple/SecureConnectionTest.java | 33 ++++++-------- .../simple/SequentialIdLeaseTest.java | 33 ++++++-------- .../simple/ServerControllerTest.java | 33 ++++++-------- .../testsuite/simple/SimpleTransformer.java | 33 ++++++-------- .../testsuite/simple/SplitDBdotNameTest.java | 33 ++++++-------- .../java/testsuite/simple/StatementsTest.java | 31 +++++-------- .../simple/TestLifecycleInterceptor.java | 33 ++++++-------- .../testsuite/simple/TransactionTest.java | 33 ++++++-------- .../java/testsuite/simple/TraversalTest.java | 33 ++++++-------- .../testsuite/simple/UpdatabilityTest.java | 33 ++++++-------- src/test/java/testsuite/simple/UtilsTest.java | 33 ++++++-------- src/test/java/testsuite/simple/XATest.java | 33 ++++++-------- .../testsuite/x/devapi/AsyncQueryTest.java | 33 ++++++-------- .../x/devapi/BaseCollectionTestCase.java | 33 ++++++-------- .../testsuite/x/devapi/BaseTableTestCase.java | 33 ++++++-------- .../java/testsuite/x/devapi/BindTest.java | 33 ++++++-------- .../testsuite/x/devapi/CollectionAddTest.java | 33 ++++++-------- .../x/devapi/CollectionFindTest.java | 33 ++++++-------- .../x/devapi/CollectionModifyTest.java | 33 ++++++-------- .../x/devapi/CollectionRemoveTest.java | 33 ++++++-------- .../testsuite/x/devapi/CollectionTest.java | 33 ++++++-------- .../testsuite/x/devapi/CompressionTest.java | 33 ++++++-------- .../x/devapi/DevApiBaseTestCase.java | 33 ++++++-------- .../testsuite/x/devapi/Ipv6SupportTest.java | 33 ++++++-------- .../java/testsuite/x/devapi/MetadataTest.java | 33 ++++++-------- .../java/testsuite/x/devapi/ResultTest.java | 33 ++++++-------- .../testsuite/x/devapi/RowLockingTest.java | 33 ++++++-------- .../java/testsuite/x/devapi/SchemaTest.java | 33 ++++++-------- .../testsuite/x/devapi/SecureSessionTest.java | 33 ++++++-------- .../x/devapi/SessionFailoverTest.java | 33 ++++++-------- .../java/testsuite/x/devapi/SessionTest.java | 33 ++++++-------- .../testsuite/x/devapi/TableDeleteTest.java | 33 ++++++-------- .../testsuite/x/devapi/TableInsertTest.java | 33 ++++++-------- .../testsuite/x/devapi/TableSelectTest.java | 33 ++++++-------- .../java/testsuite/x/devapi/TableTest.java | 33 ++++++-------- .../testsuite/x/devapi/TableUpdateTest.java | 33 ++++++-------- .../testsuite/x/devapi/TransactionTest.java | 33 ++++++-------- .../java/testsuite/x/devapi/package-info.java | 33 ++++++-------- .../x/internal/InternalXBaseTestCase.java | 33 ++++++-------- .../x/internal/MysqlxSessionTest.java | 33 ++++++-------- .../x/internal/XProtocolAsyncTest.java | 33 ++++++-------- .../x/internal/XProtocolAuthTest.java | 33 ++++++-------- .../testsuite/x/internal/XProtocolTest.java | 33 ++++++-------- .../testsuite/x/internal/package-info.java | 33 ++++++-------- 692 files changed, 8284 insertions(+), 14491 deletions(-) diff --git a/CHANGES b/CHANGES index 7604657f5..273b4b03f 100644 --- a/CHANGES +++ b/CHANGES @@ -3,6 +3,8 @@ Version 8.4.0 + - WL#16196, GPL License Exception Update. + - Fix for Bug#111031 (Bug#35392222), Contribution: Update SyntaxRegressionTest.java. Thanks to Abby Palmero for her contribution. diff --git a/LICENSE b/LICENSE index a1fbea2c0..0b6563be1 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ Licensing Information User Manual -MySQL Connector/J 8.3.0 Community +MySQL Connector/J 8.4.0 Community __________________________________________________________________ Introduction @@ -8,24 +8,25 @@ 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.3.0 Community. + MySQL Connector/J 8.4.0 Community. - Last updated: November 2023 + Last updated: February 2024 Licensing Information - This release of MySQL Connector/J 8.3.0 Community is brought to you by + This release of MySQL Connector/J 8.4.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.3.0 Community is distributed - with certain software that is licensed under separate terms, as + This distribution of MySQL Connector/J 8.4.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 authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the separately licensed software - that they have included with the program. + that they have either included with the program or referenced in the + documentation. Without limiting the foregoing grant of rights under the GPLv2 and additional permission as to separately licensed software, this @@ -33,7 +34,7 @@ Licensing Information a copy of which is reproduced below and can also be found along with its FAQ at http://oss.oracle.com/licenses/universal-foss-exception. - Copyright (c) 2017, 2023, Oracle and/or its affiliates. + Copyright (c) 2017, 2024, Oracle and/or its affiliates. Election of GPLv2 diff --git a/build.xml b/build.xml index f8c3835ae..01f2f7723 100644 --- a/build.xml +++ b/build.xml @@ -2,30 +2,21 @@ @@ -635,7 +626,7 @@ See also com.mysql.cj.conf.PropertyDefinitions.SYSP_* variables for other test o @@ -663,7 +654,7 @@ See also com.mysql.cj.conf.PropertyDefinitions.SYSP_* variables for other test o diff --git a/src/build/java/documentation/ErrorMappingsDocGenerator.java b/src/build/java/documentation/ErrorMappingsDocGenerator.java index 965d72d5e..e2f578b72 100644 --- a/src/build/java/documentation/ErrorMappingsDocGenerator.java +++ b/src/build/java/documentation/ErrorMappingsDocGenerator.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package documentation; diff --git a/src/build/java/documentation/PropertiesDocGenerator.java b/src/build/java/documentation/PropertiesDocGenerator.java index a9a8ca650..875b320ae 100644 --- a/src/build/java/documentation/PropertiesDocGenerator.java +++ b/src/build/java/documentation/PropertiesDocGenerator.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package documentation; diff --git a/src/build/java/instrumentation/AddMethods.java b/src/build/java/instrumentation/AddMethods.java index c4501c2a8..7a70d631b 100644 --- a/src/build/java/instrumentation/AddMethods.java +++ b/src/build/java/instrumentation/AddMethods.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2017, 2023, Oracle and/or its affiliates. + * Copyright (c) 2017, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package instrumentation; diff --git a/src/build/java/instrumentation/CommonChecks.java b/src/build/java/instrumentation/CommonChecks.java index afacd7418..0c33b87a1 100644 --- a/src/build/java/instrumentation/CommonChecks.java +++ b/src/build/java/instrumentation/CommonChecks.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package instrumentation; diff --git a/src/build/java/instrumentation/TranslateExceptions.java b/src/build/java/instrumentation/TranslateExceptions.java index e2c791874..c7ebca102 100644 --- a/src/build/java/instrumentation/TranslateExceptions.java +++ b/src/build/java/instrumentation/TranslateExceptions.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package instrumentation; diff --git a/src/build/misc/Product.wxs b/src/build/misc/Product.wxs index 9debbf2ea..23d9ba52d 100755 --- a/src/build/misc/Product.wxs +++ b/src/build/misc/Product.wxs @@ -1,31 +1,22 @@ diff --git a/src/build/misc/debian.in/rules b/src/build/misc/debian.in/rules index 9e40df939..7789f9494 100644 --- a/src/build/misc/debian.in/rules +++ b/src/build/misc/debian.in/rules @@ -1,30 +1,21 @@ #!/usr/bin/make -f -# Copyright (c) 2016, 2023, Oracle and/or its affiliates. +# Copyright (c) 2016, 2024, Oracle and/or its affiliates. # -# This program is free software; you can redistribute it and/or modify it under -# the terms of the GNU General Public License, version 2.0, as published by the -# Free Software Foundation. +# This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by +# the Free Software Foundation. # -# This program is also distributed with certain software (including but not -# limited to OpenSSL) that is licensed under separate terms, as designated in a -# particular file or component or in included license documentation. The -# authors of MySQL hereby grant you an additional permission to link the -# program and your derivative works with the separately licensed software that -# they have included with MySQL. +# This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in +# included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the +# separately licensed software that they have either included with the program or referenced in the documentation. # -# Without limiting anything contained in the foregoing, this file, which is -# part of MySQL Connector/J, is also subject to the Universal FOSS Exception, -# version 1.0, a copy of which can be found at -# http://oss.oracle.com/licenses/universal-foss-exception. +# Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, +# version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. # -# This program is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -# FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, -# for more details. +# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. # -# You should have received a copy of the GNU General Public License along with -# this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA export DH_VERBOSE=1 diff --git a/src/build/misc/pom.xml b/src/build/misc/pom.xml index a5a29a1f6..7606a413a 100644 --- a/src/build/misc/pom.xml +++ b/src/build/misc/pom.xml @@ -1,31 +1,22 @@ diff --git a/src/build/misc/rpm.spec.in b/src/build/misc/rpm.spec.in index 244b161e8..7331a9743 100644 --- a/src/build/misc/rpm.spec.in +++ b/src/build/misc/rpm.spec.in @@ -1,29 +1,20 @@ -# Copyright (c) 2017, 2023, Oracle and/or its affiliates. +# Copyright (c) 2017, 2024, Oracle and/or its affiliates. # -# This program is free software; you can redistribute it and/or modify it under -# the terms of the GNU General Public License, version 2.0, as published by the -# Free Software Foundation. +# This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by +# the Free Software Foundation. # -# This program is also distributed with certain software (including but not -# limited to OpenSSL) that is licensed under separate terms, as designated in a -# particular file or component or in included license documentation. The -# authors of MySQL hereby grant you an additional permission to link the -# program and your derivative works with the separately licensed software that -# they have included with MySQL. +# This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in +# included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the +# separately licensed software that they have either included with the program or referenced in the documentation. # -# Without limiting anything contained in the foregoing, this file, which is -# part of MySQL Connector/J, is also subject to the Universal FOSS Exception, -# version 1.0, a copy of which can be found at -# http://oss.oracle.com/licenses/universal-foss-exception. +# Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, +# version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. # -# This program is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -# FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, -# for more details. +# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. # -# You should have received a copy of the GNU General Public License along with -# this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # The following options can be passed to "rpmbuild" # diff --git a/src/demo/java/demo/x/devapi/DevApiSample.java b/src/demo/java/demo/x/devapi/DevApiSample.java index b4896c64e..f94012189 100644 --- a/src/demo/java/demo/x/devapi/DevApiSample.java +++ b/src/demo/java/demo/x/devapi/DevApiSample.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package demo.x.devapi; diff --git a/src/generated/java/com/mysql/cj/x/protobuf/Mysqlx.java b/src/generated/java/com/mysql/cj/x/protobuf/Mysqlx.java index 824c93ebb..f0f5f9dc9 100644 --- a/src/generated/java/com/mysql/cj/x/protobuf/Mysqlx.java +++ b/src/generated/java/com/mysql/cj/x/protobuf/Mysqlx.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.x.protobuf; diff --git a/src/generated/java/com/mysql/cj/x/protobuf/MysqlxConnection.java b/src/generated/java/com/mysql/cj/x/protobuf/MysqlxConnection.java index 64d56506c..e78c91298 100644 --- a/src/generated/java/com/mysql/cj/x/protobuf/MysqlxConnection.java +++ b/src/generated/java/com/mysql/cj/x/protobuf/MysqlxConnection.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.x.protobuf; diff --git a/src/generated/java/com/mysql/cj/x/protobuf/MysqlxCrud.java b/src/generated/java/com/mysql/cj/x/protobuf/MysqlxCrud.java index 13a61610c..98ce6a57c 100644 --- a/src/generated/java/com/mysql/cj/x/protobuf/MysqlxCrud.java +++ b/src/generated/java/com/mysql/cj/x/protobuf/MysqlxCrud.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.x.protobuf; diff --git a/src/generated/java/com/mysql/cj/x/protobuf/MysqlxCursor.java b/src/generated/java/com/mysql/cj/x/protobuf/MysqlxCursor.java index c6e5b1793..4eb8dc1df 100644 --- a/src/generated/java/com/mysql/cj/x/protobuf/MysqlxCursor.java +++ b/src/generated/java/com/mysql/cj/x/protobuf/MysqlxCursor.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.x.protobuf; diff --git a/src/generated/java/com/mysql/cj/x/protobuf/MysqlxDatatypes.java b/src/generated/java/com/mysql/cj/x/protobuf/MysqlxDatatypes.java index 957ed7dbc..d3bb687a5 100644 --- a/src/generated/java/com/mysql/cj/x/protobuf/MysqlxDatatypes.java +++ b/src/generated/java/com/mysql/cj/x/protobuf/MysqlxDatatypes.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.x.protobuf; diff --git a/src/generated/java/com/mysql/cj/x/protobuf/MysqlxExpect.java b/src/generated/java/com/mysql/cj/x/protobuf/MysqlxExpect.java index 4ca482586..2e6fb51da 100644 --- a/src/generated/java/com/mysql/cj/x/protobuf/MysqlxExpect.java +++ b/src/generated/java/com/mysql/cj/x/protobuf/MysqlxExpect.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.x.protobuf; diff --git a/src/generated/java/com/mysql/cj/x/protobuf/MysqlxExpr.java b/src/generated/java/com/mysql/cj/x/protobuf/MysqlxExpr.java index b13e4dabb..242f59a53 100644 --- a/src/generated/java/com/mysql/cj/x/protobuf/MysqlxExpr.java +++ b/src/generated/java/com/mysql/cj/x/protobuf/MysqlxExpr.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.x.protobuf; diff --git a/src/generated/java/com/mysql/cj/x/protobuf/MysqlxNotice.java b/src/generated/java/com/mysql/cj/x/protobuf/MysqlxNotice.java index 25207e886..106c0904e 100644 --- a/src/generated/java/com/mysql/cj/x/protobuf/MysqlxNotice.java +++ b/src/generated/java/com/mysql/cj/x/protobuf/MysqlxNotice.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.x.protobuf; diff --git a/src/generated/java/com/mysql/cj/x/protobuf/MysqlxPrepare.java b/src/generated/java/com/mysql/cj/x/protobuf/MysqlxPrepare.java index 50376fc84..4a74db6a9 100644 --- a/src/generated/java/com/mysql/cj/x/protobuf/MysqlxPrepare.java +++ b/src/generated/java/com/mysql/cj/x/protobuf/MysqlxPrepare.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.x.protobuf; diff --git a/src/generated/java/com/mysql/cj/x/protobuf/MysqlxResultset.java b/src/generated/java/com/mysql/cj/x/protobuf/MysqlxResultset.java index 493367f7f..39d1589f0 100644 --- a/src/generated/java/com/mysql/cj/x/protobuf/MysqlxResultset.java +++ b/src/generated/java/com/mysql/cj/x/protobuf/MysqlxResultset.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.x.protobuf; diff --git a/src/generated/java/com/mysql/cj/x/protobuf/MysqlxSession.java b/src/generated/java/com/mysql/cj/x/protobuf/MysqlxSession.java index 81bb3aff4..065a44277 100644 --- a/src/generated/java/com/mysql/cj/x/protobuf/MysqlxSession.java +++ b/src/generated/java/com/mysql/cj/x/protobuf/MysqlxSession.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.x.protobuf; diff --git a/src/generated/java/com/mysql/cj/x/protobuf/MysqlxSql.java b/src/generated/java/com/mysql/cj/x/protobuf/MysqlxSql.java index 518f2c2fd..dcd3ec0b2 100644 --- a/src/generated/java/com/mysql/cj/x/protobuf/MysqlxSql.java +++ b/src/generated/java/com/mysql/cj/x/protobuf/MysqlxSql.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.x.protobuf; diff --git a/src/generated/java/com/mysql/cj/x/protobuf/package-info.java b/src/generated/java/com/mysql/cj/x/protobuf/package-info.java index 1d6234c32..a0d3e12e0 100644 --- a/src/generated/java/com/mysql/cj/x/protobuf/package-info.java +++ b/src/generated/java/com/mysql/cj/x/protobuf/package-info.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2020, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ /** diff --git a/src/legacy/java/com/mysql/jdbc/Driver.java b/src/legacy/java/com/mysql/jdbc/Driver.java index 93601023b..0ff79684c 100644 --- a/src/legacy/java/com/mysql/jdbc/Driver.java +++ b/src/legacy/java/com/mysql/jdbc/Driver.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.jdbc; diff --git a/src/legacy/java/com/mysql/jdbc/SocketFactory.java b/src/legacy/java/com/mysql/jdbc/SocketFactory.java index 388db9281..b796e5052 100644 --- a/src/legacy/java/com/mysql/jdbc/SocketFactory.java +++ b/src/legacy/java/com/mysql/jdbc/SocketFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.jdbc; diff --git a/src/legacy/java/com/mysql/jdbc/SocketFactoryWrapper.java b/src/legacy/java/com/mysql/jdbc/SocketFactoryWrapper.java index 118d3a348..a855b44b7 100644 --- a/src/legacy/java/com/mysql/jdbc/SocketFactoryWrapper.java +++ b/src/legacy/java/com/mysql/jdbc/SocketFactoryWrapper.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2018, 2023, Oracle and/or its affiliates. + * Copyright (c) 2018, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.jdbc; diff --git a/src/main/core-api/java/com/mysql/cj/BindValue.java b/src/main/core-api/java/com/mysql/cj/BindValue.java index 7aa7cc868..a1bcad693 100644 --- a/src/main/core-api/java/com/mysql/cj/BindValue.java +++ b/src/main/core-api/java/com/mysql/cj/BindValue.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2017, 2023, Oracle and/or its affiliates. + * Copyright (c) 2017, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-api/java/com/mysql/cj/CacheAdapter.java b/src/main/core-api/java/com/mysql/cj/CacheAdapter.java index 1986a6106..f8cf2d8ec 100644 --- a/src/main/core-api/java/com/mysql/cj/CacheAdapter.java +++ b/src/main/core-api/java/com/mysql/cj/CacheAdapter.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2012, 2023, Oracle and/or its affiliates. + * Copyright (c) 2012, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-api/java/com/mysql/cj/CacheAdapterFactory.java b/src/main/core-api/java/com/mysql/cj/CacheAdapterFactory.java index 46048525b..10331ca19 100644 --- a/src/main/core-api/java/com/mysql/cj/CacheAdapterFactory.java +++ b/src/main/core-api/java/com/mysql/cj/CacheAdapterFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2012, 2020, Oracle and/or its affiliates. + * Copyright (c) 2012, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-api/java/com/mysql/cj/CancelQueryTask.java b/src/main/core-api/java/com/mysql/cj/CancelQueryTask.java index d8456eea3..1cad753c5 100644 --- a/src/main/core-api/java/com/mysql/cj/CancelQueryTask.java +++ b/src/main/core-api/java/com/mysql/cj/CancelQueryTask.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2018, 2020, Oracle and/or its affiliates. + * Copyright (c) 2018, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-api/java/com/mysql/cj/CharsetMapping.java b/src/main/core-api/java/com/mysql/cj/CharsetMapping.java index 05b641c1c..e2c4b88c2 100644 --- a/src/main/core-api/java/com/mysql/cj/CharsetMapping.java +++ b/src/main/core-api/java/com/mysql/cj/CharsetMapping.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-api/java/com/mysql/cj/CharsetSettings.java b/src/main/core-api/java/com/mysql/cj/CharsetSettings.java index a497abb63..e6dc4c7ae 100644 --- a/src/main/core-api/java/com/mysql/cj/CharsetSettings.java +++ b/src/main/core-api/java/com/mysql/cj/CharsetSettings.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2021, 2023, Oracle and/or its affiliates. + * Copyright (c) 2021, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-api/java/com/mysql/cj/Constants.java b/src/main/core-api/java/com/mysql/cj/Constants.java index fff877ecd..3f7211629 100644 --- a/src/main/core-api/java/com/mysql/cj/Constants.java +++ b/src/main/core-api/java/com/mysql/cj/Constants.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-api/java/com/mysql/cj/DataStoreMetadata.java b/src/main/core-api/java/com/mysql/cj/DataStoreMetadata.java index 935cf52df..6b0a06a92 100644 --- a/src/main/core-api/java/com/mysql/cj/DataStoreMetadata.java +++ b/src/main/core-api/java/com/mysql/cj/DataStoreMetadata.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2018, 2020, Oracle and/or its affiliates. + * Copyright (c) 2018, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-api/java/com/mysql/cj/MessageBuilder.java b/src/main/core-api/java/com/mysql/cj/MessageBuilder.java index c85e19c3c..723a37a4d 100644 --- a/src/main/core-api/java/com/mysql/cj/MessageBuilder.java +++ b/src/main/core-api/java/com/mysql/cj/MessageBuilder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2018, 2023, Oracle and/or its affiliates. + * Copyright (c) 2018, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-api/java/com/mysql/cj/Messages.java b/src/main/core-api/java/com/mysql/cj/Messages.java index d7bbcbe26..ee82408a3 100644 --- a/src/main/core-api/java/com/mysql/cj/Messages.java +++ b/src/main/core-api/java/com/mysql/cj/Messages.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-api/java/com/mysql/cj/MysqlConnection.java b/src/main/core-api/java/com/mysql/cj/MysqlConnection.java index 7415b8aa2..254a49460 100644 --- a/src/main/core-api/java/com/mysql/cj/MysqlConnection.java +++ b/src/main/core-api/java/com/mysql/cj/MysqlConnection.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-api/java/com/mysql/cj/MysqlType.java b/src/main/core-api/java/com/mysql/cj/MysqlType.java index d09a535f0..6f00b5a85 100644 --- a/src/main/core-api/java/com/mysql/cj/MysqlType.java +++ b/src/main/core-api/java/com/mysql/cj/MysqlType.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-api/java/com/mysql/cj/PerConnectionLRUFactory.java b/src/main/core-api/java/com/mysql/cj/PerConnectionLRUFactory.java index 89b471622..03283e294 100644 --- a/src/main/core-api/java/com/mysql/cj/PerConnectionLRUFactory.java +++ b/src/main/core-api/java/com/mysql/cj/PerConnectionLRUFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2012, 2023, Oracle and/or its affiliates. + * Copyright (c) 2012, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-api/java/com/mysql/cj/PingTarget.java b/src/main/core-api/java/com/mysql/cj/PingTarget.java index bfd597df4..36efcec20 100644 --- a/src/main/core-api/java/com/mysql/cj/PingTarget.java +++ b/src/main/core-api/java/com/mysql/cj/PingTarget.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2007, 2020, Oracle and/or its affiliates. + * Copyright (c) 2007, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-api/java/com/mysql/cj/PreparedQuery.java b/src/main/core-api/java/com/mysql/cj/PreparedQuery.java index 52c382269..370266c7c 100644 --- a/src/main/core-api/java/com/mysql/cj/PreparedQuery.java +++ b/src/main/core-api/java/com/mysql/cj/PreparedQuery.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2017, 2023, Oracle and/or its affiliates. + * Copyright (c) 2017, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-api/java/com/mysql/cj/Query.java b/src/main/core-api/java/com/mysql/cj/Query.java index 252fb6976..7d1bdc45f 100644 --- a/src/main/core-api/java/com/mysql/cj/Query.java +++ b/src/main/core-api/java/com/mysql/cj/Query.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2017, 2023, Oracle and/or its affiliates. + * Copyright (c) 2017, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-api/java/com/mysql/cj/QueryAttributesBindings.java b/src/main/core-api/java/com/mysql/cj/QueryAttributesBindings.java index 6883f01ab..5e01d9ca3 100644 --- a/src/main/core-api/java/com/mysql/cj/QueryAttributesBindings.java +++ b/src/main/core-api/java/com/mysql/cj/QueryAttributesBindings.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2021, 2023, Oracle and/or its affiliates. + * Copyright (c) 2021, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-api/java/com/mysql/cj/QueryBindings.java b/src/main/core-api/java/com/mysql/cj/QueryBindings.java index 42fb837d3..cdef64a32 100644 --- a/src/main/core-api/java/com/mysql/cj/QueryBindings.java +++ b/src/main/core-api/java/com/mysql/cj/QueryBindings.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2017, 2023, Oracle and/or its affiliates. + * Copyright (c) 2017, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-api/java/com/mysql/cj/QueryInfo.java b/src/main/core-api/java/com/mysql/cj/QueryInfo.java index b77a2388e..ba4ef5446 100644 --- a/src/main/core-api/java/com/mysql/cj/QueryInfo.java +++ b/src/main/core-api/java/com/mysql/cj/QueryInfo.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2017, 2023, Oracle and/or its affiliates. + * Copyright (c) 2017, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-api/java/com/mysql/cj/QueryResult.java b/src/main/core-api/java/com/mysql/cj/QueryResult.java index 56d51eeb4..0ca8542bc 100644 --- a/src/main/core-api/java/com/mysql/cj/QueryResult.java +++ b/src/main/core-api/java/com/mysql/cj/QueryResult.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2018, 2020, Oracle and/or its affiliates. + * Copyright (c) 2018, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-api/java/com/mysql/cj/QueryReturnType.java b/src/main/core-api/java/com/mysql/cj/QueryReturnType.java index 220419e27..48e0fb200 100644 --- a/src/main/core-api/java/com/mysql/cj/QueryReturnType.java +++ b/src/main/core-api/java/com/mysql/cj/QueryReturnType.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2021, Oracle and/or its affiliates. + * Copyright (c) 2021, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-api/java/com/mysql/cj/ServerVersion.java b/src/main/core-api/java/com/mysql/cj/ServerVersion.java index a93b7e05a..d25d9dc02 100644 --- a/src/main/core-api/java/com/mysql/cj/ServerVersion.java +++ b/src/main/core-api/java/com/mysql/cj/ServerVersion.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-api/java/com/mysql/cj/Session.java b/src/main/core-api/java/com/mysql/cj/Session.java index 3ec67ddaf..c3b0f792e 100644 --- a/src/main/core-api/java/com/mysql/cj/Session.java +++ b/src/main/core-api/java/com/mysql/cj/Session.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-api/java/com/mysql/cj/TransactionEventHandler.java b/src/main/core-api/java/com/mysql/cj/TransactionEventHandler.java index fb1159d70..c774f22af 100644 --- a/src/main/core-api/java/com/mysql/cj/TransactionEventHandler.java +++ b/src/main/core-api/java/com/mysql/cj/TransactionEventHandler.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2017, 2023, Oracle and/or its affiliates. + * Copyright (c) 2017, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-api/java/com/mysql/cj/WarningListener.java b/src/main/core-api/java/com/mysql/cj/WarningListener.java index 9448d4bf5..0bdf10365 100644 --- a/src/main/core-api/java/com/mysql/cj/WarningListener.java +++ b/src/main/core-api/java/com/mysql/cj/WarningListener.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-api/java/com/mysql/cj/callback/MysqlCallback.java b/src/main/core-api/java/com/mysql/cj/callback/MysqlCallback.java index ba60c64ed..4e75605cc 100644 --- a/src/main/core-api/java/com/mysql/cj/callback/MysqlCallback.java +++ b/src/main/core-api/java/com/mysql/cj/callback/MysqlCallback.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2020, 2022, Oracle and/or its affiliates. + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.callback; diff --git a/src/main/core-api/java/com/mysql/cj/callback/MysqlCallbackHandler.java b/src/main/core-api/java/com/mysql/cj/callback/MysqlCallbackHandler.java index e81bef442..889444377 100644 --- a/src/main/core-api/java/com/mysql/cj/callback/MysqlCallbackHandler.java +++ b/src/main/core-api/java/com/mysql/cj/callback/MysqlCallbackHandler.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2020, 2023, Oracle and/or its affiliates. + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.callback; diff --git a/src/main/core-api/java/com/mysql/cj/callback/UsernameCallback.java b/src/main/core-api/java/com/mysql/cj/callback/UsernameCallback.java index 829bb9d13..69858673b 100644 --- a/src/main/core-api/java/com/mysql/cj/callback/UsernameCallback.java +++ b/src/main/core-api/java/com/mysql/cj/callback/UsernameCallback.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2020, 2023, Oracle and/or its affiliates. + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.callback; diff --git a/src/main/core-api/java/com/mysql/cj/callback/WebAuthnAuthenticationCallback.java b/src/main/core-api/java/com/mysql/cj/callback/WebAuthnAuthenticationCallback.java index 006165d30..37d451047 100644 --- a/src/main/core-api/java/com/mysql/cj/callback/WebAuthnAuthenticationCallback.java +++ b/src/main/core-api/java/com/mysql/cj/callback/WebAuthnAuthenticationCallback.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2023, Oracle and/or its affiliates. + * Copyright (c) 2023, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.callback; diff --git a/src/main/core-api/java/com/mysql/cj/conf/ConnectionPropertiesTransform.java b/src/main/core-api/java/com/mysql/cj/conf/ConnectionPropertiesTransform.java index c5ce4dd83..db5803772 100644 --- a/src/main/core-api/java/com/mysql/cj/conf/ConnectionPropertiesTransform.java +++ b/src/main/core-api/java/com/mysql/cj/conf/ConnectionPropertiesTransform.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.conf; diff --git a/src/main/core-api/java/com/mysql/cj/conf/ConnectionUrl.java b/src/main/core-api/java/com/mysql/cj/conf/ConnectionUrl.java index 6e4672e27..d15506a78 100644 --- a/src/main/core-api/java/com/mysql/cj/conf/ConnectionUrl.java +++ b/src/main/core-api/java/com/mysql/cj/conf/ConnectionUrl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.conf; diff --git a/src/main/core-api/java/com/mysql/cj/conf/ConnectionUrlParser.java b/src/main/core-api/java/com/mysql/cj/conf/ConnectionUrlParser.java index 8dc16a4bb..2023ff497 100644 --- a/src/main/core-api/java/com/mysql/cj/conf/ConnectionUrlParser.java +++ b/src/main/core-api/java/com/mysql/cj/conf/ConnectionUrlParser.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.conf; diff --git a/src/main/core-api/java/com/mysql/cj/conf/DatabaseUrlContainer.java b/src/main/core-api/java/com/mysql/cj/conf/DatabaseUrlContainer.java index 55856527d..58402fffc 100644 --- a/src/main/core-api/java/com/mysql/cj/conf/DatabaseUrlContainer.java +++ b/src/main/core-api/java/com/mysql/cj/conf/DatabaseUrlContainer.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.conf; diff --git a/src/main/core-api/java/com/mysql/cj/conf/HostInfo.java b/src/main/core-api/java/com/mysql/cj/conf/HostInfo.java index cee1a28a3..4b01de379 100644 --- a/src/main/core-api/java/com/mysql/cj/conf/HostInfo.java +++ b/src/main/core-api/java/com/mysql/cj/conf/HostInfo.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.conf; diff --git a/src/main/core-api/java/com/mysql/cj/conf/HostsListView.java b/src/main/core-api/java/com/mysql/cj/conf/HostsListView.java index 7f7d1d50f..bb3023945 100644 --- a/src/main/core-api/java/com/mysql/cj/conf/HostsListView.java +++ b/src/main/core-api/java/com/mysql/cj/conf/HostsListView.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2020, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.conf; diff --git a/src/main/core-api/java/com/mysql/cj/conf/PropertyDefinition.java b/src/main/core-api/java/com/mysql/cj/conf/PropertyDefinition.java index f183ba3c7..57b853b46 100644 --- a/src/main/core-api/java/com/mysql/cj/conf/PropertyDefinition.java +++ b/src/main/core-api/java/com/mysql/cj/conf/PropertyDefinition.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.conf; diff --git a/src/main/core-api/java/com/mysql/cj/conf/PropertyDefinitions.java b/src/main/core-api/java/com/mysql/cj/conf/PropertyDefinitions.java index 752388694..bd056d906 100644 --- a/src/main/core-api/java/com/mysql/cj/conf/PropertyDefinitions.java +++ b/src/main/core-api/java/com/mysql/cj/conf/PropertyDefinitions.java @@ -1,30 +1,21 @@ /* * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.conf; diff --git a/src/main/core-api/java/com/mysql/cj/conf/PropertyKey.java b/src/main/core-api/java/com/mysql/cj/conf/PropertyKey.java index 5d2a71dbb..2233b6cd2 100644 --- a/src/main/core-api/java/com/mysql/cj/conf/PropertyKey.java +++ b/src/main/core-api/java/com/mysql/cj/conf/PropertyKey.java @@ -1,30 +1,21 @@ /* * Copyright (c) 2018, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.conf; diff --git a/src/main/core-api/java/com/mysql/cj/conf/PropertySet.java b/src/main/core-api/java/com/mysql/cj/conf/PropertySet.java index 6e0945a82..4c7f29bbe 100644 --- a/src/main/core-api/java/com/mysql/cj/conf/PropertySet.java +++ b/src/main/core-api/java/com/mysql/cj/conf/PropertySet.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.conf; diff --git a/src/main/core-api/java/com/mysql/cj/conf/RuntimeProperty.java b/src/main/core-api/java/com/mysql/cj/conf/RuntimeProperty.java index 8fb51c6cc..1efdc830a 100644 --- a/src/main/core-api/java/com/mysql/cj/conf/RuntimeProperty.java +++ b/src/main/core-api/java/com/mysql/cj/conf/RuntimeProperty.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.conf; diff --git a/src/main/core-api/java/com/mysql/cj/exceptions/AssertionFailedException.java b/src/main/core-api/java/com/mysql/cj/exceptions/AssertionFailedException.java index d3f133705..6c7e79ff7 100644 --- a/src/main/core-api/java/com/mysql/cj/exceptions/AssertionFailedException.java +++ b/src/main/core-api/java/com/mysql/cj/exceptions/AssertionFailedException.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.exceptions; diff --git a/src/main/core-api/java/com/mysql/cj/exceptions/CJCommunicationsException.java b/src/main/core-api/java/com/mysql/cj/exceptions/CJCommunicationsException.java index 9df4e1f83..712ff1aa3 100644 --- a/src/main/core-api/java/com/mysql/cj/exceptions/CJCommunicationsException.java +++ b/src/main/core-api/java/com/mysql/cj/exceptions/CJCommunicationsException.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2020, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.exceptions; diff --git a/src/main/core-api/java/com/mysql/cj/exceptions/CJConnectionFeatureNotAvailableException.java b/src/main/core-api/java/com/mysql/cj/exceptions/CJConnectionFeatureNotAvailableException.java index eb3337313..13b933ab0 100644 --- a/src/main/core-api/java/com/mysql/cj/exceptions/CJConnectionFeatureNotAvailableException.java +++ b/src/main/core-api/java/com/mysql/cj/exceptions/CJConnectionFeatureNotAvailableException.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2020, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.exceptions; diff --git a/src/main/core-api/java/com/mysql/cj/exceptions/CJException.java b/src/main/core-api/java/com/mysql/cj/exceptions/CJException.java index 864411652..4ad2468f6 100644 --- a/src/main/core-api/java/com/mysql/cj/exceptions/CJException.java +++ b/src/main/core-api/java/com/mysql/cj/exceptions/CJException.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.exceptions; diff --git a/src/main/core-api/java/com/mysql/cj/exceptions/CJOperationNotSupportedException.java b/src/main/core-api/java/com/mysql/cj/exceptions/CJOperationNotSupportedException.java index 49cd9273f..234c80fef 100644 --- a/src/main/core-api/java/com/mysql/cj/exceptions/CJOperationNotSupportedException.java +++ b/src/main/core-api/java/com/mysql/cj/exceptions/CJOperationNotSupportedException.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2020, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.exceptions; diff --git a/src/main/core-api/java/com/mysql/cj/exceptions/CJPacketTooBigException.java b/src/main/core-api/java/com/mysql/cj/exceptions/CJPacketTooBigException.java index bc8eae178..5fcc7f982 100644 --- a/src/main/core-api/java/com/mysql/cj/exceptions/CJPacketTooBigException.java +++ b/src/main/core-api/java/com/mysql/cj/exceptions/CJPacketTooBigException.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.exceptions; diff --git a/src/main/core-api/java/com/mysql/cj/exceptions/CJTimeoutException.java b/src/main/core-api/java/com/mysql/cj/exceptions/CJTimeoutException.java index 36a059cc7..77841f4b4 100644 --- a/src/main/core-api/java/com/mysql/cj/exceptions/CJTimeoutException.java +++ b/src/main/core-api/java/com/mysql/cj/exceptions/CJTimeoutException.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2020, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.exceptions; diff --git a/src/main/core-api/java/com/mysql/cj/exceptions/ClosedOnExpiredPasswordException.java b/src/main/core-api/java/com/mysql/cj/exceptions/ClosedOnExpiredPasswordException.java index f4172cfea..37ba9ecb5 100644 --- a/src/main/core-api/java/com/mysql/cj/exceptions/ClosedOnExpiredPasswordException.java +++ b/src/main/core-api/java/com/mysql/cj/exceptions/ClosedOnExpiredPasswordException.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.exceptions; diff --git a/src/main/core-api/java/com/mysql/cj/exceptions/ConnectionIsClosedException.java b/src/main/core-api/java/com/mysql/cj/exceptions/ConnectionIsClosedException.java index e1fd64cb3..2ff2abbbe 100644 --- a/src/main/core-api/java/com/mysql/cj/exceptions/ConnectionIsClosedException.java +++ b/src/main/core-api/java/com/mysql/cj/exceptions/ConnectionIsClosedException.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2020, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.exceptions; diff --git a/src/main/core-api/java/com/mysql/cj/exceptions/DataConversionException.java b/src/main/core-api/java/com/mysql/cj/exceptions/DataConversionException.java index cf698d286..5dc4c183a 100644 --- a/src/main/core-api/java/com/mysql/cj/exceptions/DataConversionException.java +++ b/src/main/core-api/java/com/mysql/cj/exceptions/DataConversionException.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.exceptions; diff --git a/src/main/core-api/java/com/mysql/cj/exceptions/DataReadException.java b/src/main/core-api/java/com/mysql/cj/exceptions/DataReadException.java index 5a3e5c20e..8488d6b8b 100644 --- a/src/main/core-api/java/com/mysql/cj/exceptions/DataReadException.java +++ b/src/main/core-api/java/com/mysql/cj/exceptions/DataReadException.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.exceptions; diff --git a/src/main/core-api/java/com/mysql/cj/exceptions/DataTruncationException.java b/src/main/core-api/java/com/mysql/cj/exceptions/DataTruncationException.java index 42e00259d..ab0aed221 100644 --- a/src/main/core-api/java/com/mysql/cj/exceptions/DataTruncationException.java +++ b/src/main/core-api/java/com/mysql/cj/exceptions/DataTruncationException.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2020, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.exceptions; diff --git a/src/main/core-api/java/com/mysql/cj/exceptions/DeadlockTimeoutRollbackMarker.java b/src/main/core-api/java/com/mysql/cj/exceptions/DeadlockTimeoutRollbackMarker.java index 010cf2ac2..5b1616168 100644 --- a/src/main/core-api/java/com/mysql/cj/exceptions/DeadlockTimeoutRollbackMarker.java +++ b/src/main/core-api/java/com/mysql/cj/exceptions/DeadlockTimeoutRollbackMarker.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2008, 2020, Oracle and/or its affiliates. + * Copyright (c) 2008, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.exceptions; diff --git a/src/main/core-api/java/com/mysql/cj/exceptions/ExceptionFactory.java b/src/main/core-api/java/com/mysql/cj/exceptions/ExceptionFactory.java index 6188b6be4..be72bdd04 100644 --- a/src/main/core-api/java/com/mysql/cj/exceptions/ExceptionFactory.java +++ b/src/main/core-api/java/com/mysql/cj/exceptions/ExceptionFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.exceptions; diff --git a/src/main/core-api/java/com/mysql/cj/exceptions/ExceptionInterceptor.java b/src/main/core-api/java/com/mysql/cj/exceptions/ExceptionInterceptor.java index 64d049529..bdd686e79 100644 --- a/src/main/core-api/java/com/mysql/cj/exceptions/ExceptionInterceptor.java +++ b/src/main/core-api/java/com/mysql/cj/exceptions/ExceptionInterceptor.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2008, 2023, Oracle and/or its affiliates. + * Copyright (c) 2008, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.exceptions; diff --git a/src/main/core-api/java/com/mysql/cj/exceptions/ExceptionInterceptorChain.java b/src/main/core-api/java/com/mysql/cj/exceptions/ExceptionInterceptorChain.java index 5c72269d3..3e8987215 100644 --- a/src/main/core-api/java/com/mysql/cj/exceptions/ExceptionInterceptorChain.java +++ b/src/main/core-api/java/com/mysql/cj/exceptions/ExceptionInterceptorChain.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2017, 2023, Oracle and/or its affiliates. + * Copyright (c) 2017, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.exceptions; diff --git a/src/main/core-api/java/com/mysql/cj/exceptions/FeatureNotAvailableException.java b/src/main/core-api/java/com/mysql/cj/exceptions/FeatureNotAvailableException.java index a0d41d113..7762432d7 100644 --- a/src/main/core-api/java/com/mysql/cj/exceptions/FeatureNotAvailableException.java +++ b/src/main/core-api/java/com/mysql/cj/exceptions/FeatureNotAvailableException.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.exceptions; diff --git a/src/main/core-api/java/com/mysql/cj/exceptions/InvalidConnectionAttributeException.java b/src/main/core-api/java/com/mysql/cj/exceptions/InvalidConnectionAttributeException.java index c55cf9d15..8fc5b8dee 100644 --- a/src/main/core-api/java/com/mysql/cj/exceptions/InvalidConnectionAttributeException.java +++ b/src/main/core-api/java/com/mysql/cj/exceptions/InvalidConnectionAttributeException.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.exceptions; diff --git a/src/main/core-api/java/com/mysql/cj/exceptions/MysqlErrorNumbers.java b/src/main/core-api/java/com/mysql/cj/exceptions/MysqlErrorNumbers.java index 622364403..deb1a5d7b 100644 --- a/src/main/core-api/java/com/mysql/cj/exceptions/MysqlErrorNumbers.java +++ b/src/main/core-api/java/com/mysql/cj/exceptions/MysqlErrorNumbers.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.exceptions; diff --git a/src/main/core-api/java/com/mysql/cj/exceptions/NumberOutOfRange.java b/src/main/core-api/java/com/mysql/cj/exceptions/NumberOutOfRange.java index a3f225327..5962272c6 100644 --- a/src/main/core-api/java/com/mysql/cj/exceptions/NumberOutOfRange.java +++ b/src/main/core-api/java/com/mysql/cj/exceptions/NumberOutOfRange.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.exceptions; diff --git a/src/main/core-api/java/com/mysql/cj/exceptions/OperationCancelledException.java b/src/main/core-api/java/com/mysql/cj/exceptions/OperationCancelledException.java index 982c4a666..d4d13190c 100644 --- a/src/main/core-api/java/com/mysql/cj/exceptions/OperationCancelledException.java +++ b/src/main/core-api/java/com/mysql/cj/exceptions/OperationCancelledException.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2020, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.exceptions; diff --git a/src/main/core-api/java/com/mysql/cj/exceptions/PasswordExpiredException.java b/src/main/core-api/java/com/mysql/cj/exceptions/PasswordExpiredException.java index 4757c8907..a971dbd22 100644 --- a/src/main/core-api/java/com/mysql/cj/exceptions/PasswordExpiredException.java +++ b/src/main/core-api/java/com/mysql/cj/exceptions/PasswordExpiredException.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.exceptions; diff --git a/src/main/core-api/java/com/mysql/cj/exceptions/PropertyNotModifiableException.java b/src/main/core-api/java/com/mysql/cj/exceptions/PropertyNotModifiableException.java index 1ec42c0c5..19f195c71 100644 --- a/src/main/core-api/java/com/mysql/cj/exceptions/PropertyNotModifiableException.java +++ b/src/main/core-api/java/com/mysql/cj/exceptions/PropertyNotModifiableException.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2020, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.exceptions; diff --git a/src/main/core-api/java/com/mysql/cj/exceptions/RSAException.java b/src/main/core-api/java/com/mysql/cj/exceptions/RSAException.java index 881f09b4b..aeca633a1 100644 --- a/src/main/core-api/java/com/mysql/cj/exceptions/RSAException.java +++ b/src/main/core-api/java/com/mysql/cj/exceptions/RSAException.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2020, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.exceptions; diff --git a/src/main/core-api/java/com/mysql/cj/exceptions/SSLParamsException.java b/src/main/core-api/java/com/mysql/cj/exceptions/SSLParamsException.java index b69dde54d..426db403d 100644 --- a/src/main/core-api/java/com/mysql/cj/exceptions/SSLParamsException.java +++ b/src/main/core-api/java/com/mysql/cj/exceptions/SSLParamsException.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.exceptions; diff --git a/src/main/core-api/java/com/mysql/cj/exceptions/StatementIsClosedException.java b/src/main/core-api/java/com/mysql/cj/exceptions/StatementIsClosedException.java index 038d9a841..1edd62dfa 100644 --- a/src/main/core-api/java/com/mysql/cj/exceptions/StatementIsClosedException.java +++ b/src/main/core-api/java/com/mysql/cj/exceptions/StatementIsClosedException.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2020, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.exceptions; diff --git a/src/main/core-api/java/com/mysql/cj/exceptions/StreamingNotifiable.java b/src/main/core-api/java/com/mysql/cj/exceptions/StreamingNotifiable.java index d71fec121..f53a99269 100644 --- a/src/main/core-api/java/com/mysql/cj/exceptions/StreamingNotifiable.java +++ b/src/main/core-api/java/com/mysql/cj/exceptions/StreamingNotifiable.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2020, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.exceptions; diff --git a/src/main/core-api/java/com/mysql/cj/exceptions/UnableToConnectException.java b/src/main/core-api/java/com/mysql/cj/exceptions/UnableToConnectException.java index 2fa6aee85..44e5530dd 100644 --- a/src/main/core-api/java/com/mysql/cj/exceptions/UnableToConnectException.java +++ b/src/main/core-api/java/com/mysql/cj/exceptions/UnableToConnectException.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.exceptions; diff --git a/src/main/core-api/java/com/mysql/cj/exceptions/UnsupportedConnectionStringException.java b/src/main/core-api/java/com/mysql/cj/exceptions/UnsupportedConnectionStringException.java index b6ffb927d..2e2abbb13 100644 --- a/src/main/core-api/java/com/mysql/cj/exceptions/UnsupportedConnectionStringException.java +++ b/src/main/core-api/java/com/mysql/cj/exceptions/UnsupportedConnectionStringException.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2018, 2023, Oracle and/or its affiliates. + * Copyright (c) 2018, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.exceptions; diff --git a/src/main/core-api/java/com/mysql/cj/exceptions/WrongArgumentException.java b/src/main/core-api/java/com/mysql/cj/exceptions/WrongArgumentException.java index 37b0469a3..efe9f4c81 100644 --- a/src/main/core-api/java/com/mysql/cj/exceptions/WrongArgumentException.java +++ b/src/main/core-api/java/com/mysql/cj/exceptions/WrongArgumentException.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.exceptions; diff --git a/src/main/core-api/java/com/mysql/cj/interceptors/QueryInterceptor.java b/src/main/core-api/java/com/mysql/cj/interceptors/QueryInterceptor.java index 8d0844246..89321ea01 100644 --- a/src/main/core-api/java/com/mysql/cj/interceptors/QueryInterceptor.java +++ b/src/main/core-api/java/com/mysql/cj/interceptors/QueryInterceptor.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2009, 2023, Oracle and/or its affiliates. + * Copyright (c) 2009, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.interceptors; diff --git a/src/main/core-api/java/com/mysql/cj/log/Jdk14Logger.java b/src/main/core-api/java/com/mysql/cj/log/Jdk14Logger.java index 889a94fa6..32ad01fa5 100644 --- a/src/main/core-api/java/com/mysql/cj/log/Jdk14Logger.java +++ b/src/main/core-api/java/com/mysql/cj/log/Jdk14Logger.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.log; diff --git a/src/main/core-api/java/com/mysql/cj/log/Log.java b/src/main/core-api/java/com/mysql/cj/log/Log.java index 4f074a415..eba34d06d 100644 --- a/src/main/core-api/java/com/mysql/cj/log/Log.java +++ b/src/main/core-api/java/com/mysql/cj/log/Log.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.log; diff --git a/src/main/core-api/java/com/mysql/cj/log/NullLogger.java b/src/main/core-api/java/com/mysql/cj/log/NullLogger.java index 723994a3f..fd2832566 100644 --- a/src/main/core-api/java/com/mysql/cj/log/NullLogger.java +++ b/src/main/core-api/java/com/mysql/cj/log/NullLogger.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.log; diff --git a/src/main/core-api/java/com/mysql/cj/log/ProfilerEvent.java b/src/main/core-api/java/com/mysql/cj/log/ProfilerEvent.java index 694d44b03..eae70188a 100644 --- a/src/main/core-api/java/com/mysql/cj/log/ProfilerEvent.java +++ b/src/main/core-api/java/com/mysql/cj/log/ProfilerEvent.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.log; diff --git a/src/main/core-api/java/com/mysql/cj/log/ProfilerEventHandler.java b/src/main/core-api/java/com/mysql/cj/log/ProfilerEventHandler.java index dc8c27c04..0e68805a4 100644 --- a/src/main/core-api/java/com/mysql/cj/log/ProfilerEventHandler.java +++ b/src/main/core-api/java/com/mysql/cj/log/ProfilerEventHandler.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2007, 2023, Oracle and/or its affiliates. + * Copyright (c) 2007, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.log; diff --git a/src/main/core-api/java/com/mysql/cj/log/Slf4JLogger.java b/src/main/core-api/java/com/mysql/cj/log/Slf4JLogger.java index 1fee23f1a..a53ecffec 100644 --- a/src/main/core-api/java/com/mysql/cj/log/Slf4JLogger.java +++ b/src/main/core-api/java/com/mysql/cj/log/Slf4JLogger.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2011, 2023, Oracle and/or its affiliates. + * Copyright (c) 2011, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.log; diff --git a/src/main/core-api/java/com/mysql/cj/log/StandardLogger.java b/src/main/core-api/java/com/mysql/cj/log/StandardLogger.java index b807e4ccc..7a804bd0c 100644 --- a/src/main/core-api/java/com/mysql/cj/log/StandardLogger.java +++ b/src/main/core-api/java/com/mysql/cj/log/StandardLogger.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.log; diff --git a/src/main/core-api/java/com/mysql/cj/protocol/AuthenticationPlugin.java b/src/main/core-api/java/com/mysql/cj/protocol/AuthenticationPlugin.java index 50f3771b6..d6e4dc916 100644 --- a/src/main/core-api/java/com/mysql/cj/protocol/AuthenticationPlugin.java +++ b/src/main/core-api/java/com/mysql/cj/protocol/AuthenticationPlugin.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2012, 2023, Oracle and/or its affiliates. + * Copyright (c) 2012, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-api/java/com/mysql/cj/protocol/AuthenticationProvider.java b/src/main/core-api/java/com/mysql/cj/protocol/AuthenticationProvider.java index 48b8b9df2..bea90943b 100644 --- a/src/main/core-api/java/com/mysql/cj/protocol/AuthenticationProvider.java +++ b/src/main/core-api/java/com/mysql/cj/protocol/AuthenticationProvider.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-api/java/com/mysql/cj/protocol/ColumnDefinition.java b/src/main/core-api/java/com/mysql/cj/protocol/ColumnDefinition.java index 742c837ef..8e5d455bc 100644 --- a/src/main/core-api/java/com/mysql/cj/protocol/ColumnDefinition.java +++ b/src/main/core-api/java/com/mysql/cj/protocol/ColumnDefinition.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-api/java/com/mysql/cj/protocol/FullReadInputStream.java b/src/main/core-api/java/com/mysql/cj/protocol/FullReadInputStream.java index 32c0d4c46..358d606d0 100644 --- a/src/main/core-api/java/com/mysql/cj/protocol/FullReadInputStream.java +++ b/src/main/core-api/java/com/mysql/cj/protocol/FullReadInputStream.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-api/java/com/mysql/cj/protocol/InternalDate.java b/src/main/core-api/java/com/mysql/cj/protocol/InternalDate.java index 44bdba999..78003ec82 100644 --- a/src/main/core-api/java/com/mysql/cj/protocol/InternalDate.java +++ b/src/main/core-api/java/com/mysql/cj/protocol/InternalDate.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-api/java/com/mysql/cj/protocol/InternalTime.java b/src/main/core-api/java/com/mysql/cj/protocol/InternalTime.java index d70daff98..33df0986b 100644 --- a/src/main/core-api/java/com/mysql/cj/protocol/InternalTime.java +++ b/src/main/core-api/java/com/mysql/cj/protocol/InternalTime.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-api/java/com/mysql/cj/protocol/InternalTimestamp.java b/src/main/core-api/java/com/mysql/cj/protocol/InternalTimestamp.java index 86ff9cdd5..43acf9c95 100644 --- a/src/main/core-api/java/com/mysql/cj/protocol/InternalTimestamp.java +++ b/src/main/core-api/java/com/mysql/cj/protocol/InternalTimestamp.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-api/java/com/mysql/cj/protocol/Message.java b/src/main/core-api/java/com/mysql/cj/protocol/Message.java index 49cfbf2a2..e0ba634bb 100644 --- a/src/main/core-api/java/com/mysql/cj/protocol/Message.java +++ b/src/main/core-api/java/com/mysql/cj/protocol/Message.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2018, 2023, Oracle and/or its affiliates. + * Copyright (c) 2018, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-api/java/com/mysql/cj/protocol/MessageHeader.java b/src/main/core-api/java/com/mysql/cj/protocol/MessageHeader.java index a2fe5d0cc..c7f675dfc 100644 --- a/src/main/core-api/java/com/mysql/cj/protocol/MessageHeader.java +++ b/src/main/core-api/java/com/mysql/cj/protocol/MessageHeader.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2018, 2020, Oracle and/or its affiliates. + * Copyright (c) 2018, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-api/java/com/mysql/cj/protocol/MessageListener.java b/src/main/core-api/java/com/mysql/cj/protocol/MessageListener.java index 11bf6f6e5..2a89fbb8b 100644 --- a/src/main/core-api/java/com/mysql/cj/protocol/MessageListener.java +++ b/src/main/core-api/java/com/mysql/cj/protocol/MessageListener.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-api/java/com/mysql/cj/protocol/MessageReader.java b/src/main/core-api/java/com/mysql/cj/protocol/MessageReader.java index 0103e5de2..ca6244a6b 100644 --- a/src/main/core-api/java/com/mysql/cj/protocol/MessageReader.java +++ b/src/main/core-api/java/com/mysql/cj/protocol/MessageReader.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2018, 2023, Oracle and/or its affiliates. + * Copyright (c) 2018, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-api/java/com/mysql/cj/protocol/MessageSender.java b/src/main/core-api/java/com/mysql/cj/protocol/MessageSender.java index 09e4b9e5c..479fa1ffb 100644 --- a/src/main/core-api/java/com/mysql/cj/protocol/MessageSender.java +++ b/src/main/core-api/java/com/mysql/cj/protocol/MessageSender.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-api/java/com/mysql/cj/protocol/NetworkResources.java b/src/main/core-api/java/com/mysql/cj/protocol/NetworkResources.java index c865ac579..f2d62f12e 100644 --- a/src/main/core-api/java/com/mysql/cj/protocol/NetworkResources.java +++ b/src/main/core-api/java/com/mysql/cj/protocol/NetworkResources.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2012, 2023, Oracle and/or its affiliates. + * Copyright (c) 2012, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-api/java/com/mysql/cj/protocol/OutputStreamWatcher.java b/src/main/core-api/java/com/mysql/cj/protocol/OutputStreamWatcher.java index 98e33a888..61f1f490d 100644 --- a/src/main/core-api/java/com/mysql/cj/protocol/OutputStreamWatcher.java +++ b/src/main/core-api/java/com/mysql/cj/protocol/OutputStreamWatcher.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-api/java/com/mysql/cj/protocol/PacketReceivedTimeHolder.java b/src/main/core-api/java/com/mysql/cj/protocol/PacketReceivedTimeHolder.java index 0a6b5e782..5457024cd 100644 --- a/src/main/core-api/java/com/mysql/cj/protocol/PacketReceivedTimeHolder.java +++ b/src/main/core-api/java/com/mysql/cj/protocol/PacketReceivedTimeHolder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-api/java/com/mysql/cj/protocol/PacketSentTimeHolder.java b/src/main/core-api/java/com/mysql/cj/protocol/PacketSentTimeHolder.java index 2dc486f22..51054cb41 100644 --- a/src/main/core-api/java/com/mysql/cj/protocol/PacketSentTimeHolder.java +++ b/src/main/core-api/java/com/mysql/cj/protocol/PacketSentTimeHolder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-api/java/com/mysql/cj/protocol/Protocol.java b/src/main/core-api/java/com/mysql/cj/protocol/Protocol.java index c56bd37ab..a910ecaa0 100644 --- a/src/main/core-api/java/com/mysql/cj/protocol/Protocol.java +++ b/src/main/core-api/java/com/mysql/cj/protocol/Protocol.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-api/java/com/mysql/cj/protocol/ProtocolEntity.java b/src/main/core-api/java/com/mysql/cj/protocol/ProtocolEntity.java index 2f6c1556f..b91fb15bd 100644 --- a/src/main/core-api/java/com/mysql/cj/protocol/ProtocolEntity.java +++ b/src/main/core-api/java/com/mysql/cj/protocol/ProtocolEntity.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2020, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-api/java/com/mysql/cj/protocol/ProtocolEntityFactory.java b/src/main/core-api/java/com/mysql/cj/protocol/ProtocolEntityFactory.java index 04b41ec20..0f1bc77dd 100644 --- a/src/main/core-api/java/com/mysql/cj/protocol/ProtocolEntityFactory.java +++ b/src/main/core-api/java/com/mysql/cj/protocol/ProtocolEntityFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-api/java/com/mysql/cj/protocol/ProtocolEntityReader.java b/src/main/core-api/java/com/mysql/cj/protocol/ProtocolEntityReader.java index 39dd063d5..3ffdf1632 100644 --- a/src/main/core-api/java/com/mysql/cj/protocol/ProtocolEntityReader.java +++ b/src/main/core-api/java/com/mysql/cj/protocol/ProtocolEntityReader.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-api/java/com/mysql/cj/protocol/ResultBuilder.java b/src/main/core-api/java/com/mysql/cj/protocol/ResultBuilder.java index 78dbb442d..5814f5f5a 100644 --- a/src/main/core-api/java/com/mysql/cj/protocol/ResultBuilder.java +++ b/src/main/core-api/java/com/mysql/cj/protocol/ResultBuilder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-api/java/com/mysql/cj/protocol/ResultStreamer.java b/src/main/core-api/java/com/mysql/cj/protocol/ResultStreamer.java index c16584467..3e0965a3c 100644 --- a/src/main/core-api/java/com/mysql/cj/protocol/ResultStreamer.java +++ b/src/main/core-api/java/com/mysql/cj/protocol/ResultStreamer.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-api/java/com/mysql/cj/protocol/Resultset.java b/src/main/core-api/java/com/mysql/cj/protocol/Resultset.java index 46aeec44a..4c3347af8 100644 --- a/src/main/core-api/java/com/mysql/cj/protocol/Resultset.java +++ b/src/main/core-api/java/com/mysql/cj/protocol/Resultset.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-api/java/com/mysql/cj/protocol/ResultsetRow.java b/src/main/core-api/java/com/mysql/cj/protocol/ResultsetRow.java index d54a125e5..1335d44fb 100644 --- a/src/main/core-api/java/com/mysql/cj/protocol/ResultsetRow.java +++ b/src/main/core-api/java/com/mysql/cj/protocol/ResultsetRow.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-api/java/com/mysql/cj/protocol/ResultsetRows.java b/src/main/core-api/java/com/mysql/cj/protocol/ResultsetRows.java index a6f70eb72..7277c4c0a 100644 --- a/src/main/core-api/java/com/mysql/cj/protocol/ResultsetRows.java +++ b/src/main/core-api/java/com/mysql/cj/protocol/ResultsetRows.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-api/java/com/mysql/cj/protocol/ResultsetRowsOwner.java b/src/main/core-api/java/com/mysql/cj/protocol/ResultsetRowsOwner.java index c6333740c..f94ce44ec 100644 --- a/src/main/core-api/java/com/mysql/cj/protocol/ResultsetRowsOwner.java +++ b/src/main/core-api/java/com/mysql/cj/protocol/ResultsetRowsOwner.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-api/java/com/mysql/cj/protocol/ServerCapabilities.java b/src/main/core-api/java/com/mysql/cj/protocol/ServerCapabilities.java index 884f0dec3..c62a1e021 100644 --- a/src/main/core-api/java/com/mysql/cj/protocol/ServerCapabilities.java +++ b/src/main/core-api/java/com/mysql/cj/protocol/ServerCapabilities.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-api/java/com/mysql/cj/protocol/ServerSession.java b/src/main/core-api/java/com/mysql/cj/protocol/ServerSession.java index 72f8261be..adc5fa920 100644 --- a/src/main/core-api/java/com/mysql/cj/protocol/ServerSession.java +++ b/src/main/core-api/java/com/mysql/cj/protocol/ServerSession.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-api/java/com/mysql/cj/protocol/ServerSessionStateController.java b/src/main/core-api/java/com/mysql/cj/protocol/ServerSessionStateController.java index b6afe30c3..6be7e0708 100644 --- a/src/main/core-api/java/com/mysql/cj/protocol/ServerSessionStateController.java +++ b/src/main/core-api/java/com/mysql/cj/protocol/ServerSessionStateController.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2021, 2023, Oracle and/or its affiliates. + * Copyright (c) 2021, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-api/java/com/mysql/cj/protocol/SocketConnection.java b/src/main/core-api/java/com/mysql/cj/protocol/SocketConnection.java index 5b7c9196d..37a800e4e 100644 --- a/src/main/core-api/java/com/mysql/cj/protocol/SocketConnection.java +++ b/src/main/core-api/java/com/mysql/cj/protocol/SocketConnection.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-api/java/com/mysql/cj/protocol/SocketFactory.java b/src/main/core-api/java/com/mysql/cj/protocol/SocketFactory.java index 9e77aa46b..ce3f0d14f 100644 --- a/src/main/core-api/java/com/mysql/cj/protocol/SocketFactory.java +++ b/src/main/core-api/java/com/mysql/cj/protocol/SocketFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-api/java/com/mysql/cj/protocol/SocketMetadata.java b/src/main/core-api/java/com/mysql/cj/protocol/SocketMetadata.java index 801a7775a..eab23666e 100644 --- a/src/main/core-api/java/com/mysql/cj/protocol/SocketMetadata.java +++ b/src/main/core-api/java/com/mysql/cj/protocol/SocketMetadata.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2011, 2020, Oracle and/or its affiliates. + * Copyright (c) 2011, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-api/java/com/mysql/cj/protocol/ValueDecoder.java b/src/main/core-api/java/com/mysql/cj/protocol/ValueDecoder.java index abe28911e..e00bb37d2 100644 --- a/src/main/core-api/java/com/mysql/cj/protocol/ValueDecoder.java +++ b/src/main/core-api/java/com/mysql/cj/protocol/ValueDecoder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-api/java/com/mysql/cj/protocol/ValueEncoder.java b/src/main/core-api/java/com/mysql/cj/protocol/ValueEncoder.java index 343d700fe..2035a81b8 100644 --- a/src/main/core-api/java/com/mysql/cj/protocol/ValueEncoder.java +++ b/src/main/core-api/java/com/mysql/cj/protocol/ValueEncoder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2022, 2023, Oracle and/or its affiliates. + * Copyright (c) 2022, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-api/java/com/mysql/cj/protocol/Warning.java b/src/main/core-api/java/com/mysql/cj/protocol/Warning.java index 57b684e14..60bd529b8 100644 --- a/src/main/core-api/java/com/mysql/cj/protocol/Warning.java +++ b/src/main/core-api/java/com/mysql/cj/protocol/Warning.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-api/java/com/mysql/cj/protocol/WatchableStream.java b/src/main/core-api/java/com/mysql/cj/protocol/WatchableStream.java index b9092e020..42fe89c28 100644 --- a/src/main/core-api/java/com/mysql/cj/protocol/WatchableStream.java +++ b/src/main/core-api/java/com/mysql/cj/protocol/WatchableStream.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2020, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-api/java/com/mysql/cj/result/Field.java b/src/main/core-api/java/com/mysql/cj/result/Field.java index ffd79e80a..414786264 100644 --- a/src/main/core-api/java/com/mysql/cj/result/Field.java +++ b/src/main/core-api/java/com/mysql/cj/result/Field.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/main/core-api/java/com/mysql/cj/result/Row.java b/src/main/core-api/java/com/mysql/cj/result/Row.java index 8448beb6b..b279b5569 100644 --- a/src/main/core-api/java/com/mysql/cj/result/Row.java +++ b/src/main/core-api/java/com/mysql/cj/result/Row.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/main/core-api/java/com/mysql/cj/result/RowList.java b/src/main/core-api/java/com/mysql/cj/result/RowList.java index 829c8d6b3..636089367 100644 --- a/src/main/core-api/java/com/mysql/cj/result/RowList.java +++ b/src/main/core-api/java/com/mysql/cj/result/RowList.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/main/core-api/java/com/mysql/cj/result/ValueFactory.java b/src/main/core-api/java/com/mysql/cj/result/ValueFactory.java index 84cb25008..5f126df7b 100644 --- a/src/main/core-api/java/com/mysql/cj/result/ValueFactory.java +++ b/src/main/core-api/java/com/mysql/cj/result/ValueFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/main/core-api/java/com/mysql/cj/util/Base64Decoder.java b/src/main/core-api/java/com/mysql/cj/util/Base64Decoder.java index fc2e6af83..c98118a3c 100644 --- a/src/main/core-api/java/com/mysql/cj/util/Base64Decoder.java +++ b/src/main/core-api/java/com/mysql/cj/util/Base64Decoder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2014, 2023, Oracle and/or its affiliates. + * Copyright (c) 2014, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.util; diff --git a/src/main/core-api/java/com/mysql/cj/util/DataTypeUtil.java b/src/main/core-api/java/com/mysql/cj/util/DataTypeUtil.java index 90a34e2ab..597d46612 100644 --- a/src/main/core-api/java/com/mysql/cj/util/DataTypeUtil.java +++ b/src/main/core-api/java/com/mysql/cj/util/DataTypeUtil.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2018, 2023, Oracle and/or its affiliates. + * Copyright (c) 2018, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.util; diff --git a/src/main/core-api/java/com/mysql/cj/util/DnsSrv.java b/src/main/core-api/java/com/mysql/cj/util/DnsSrv.java index dc013a7e1..3751e0b6f 100644 --- a/src/main/core-api/java/com/mysql/cj/util/DnsSrv.java +++ b/src/main/core-api/java/com/mysql/cj/util/DnsSrv.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.util; diff --git a/src/main/core-api/java/com/mysql/cj/util/EscapeTokenizer.java b/src/main/core-api/java/com/mysql/cj/util/EscapeTokenizer.java index e252711c5..fd0d0e241 100644 --- a/src/main/core-api/java/com/mysql/cj/util/EscapeTokenizer.java +++ b/src/main/core-api/java/com/mysql/cj/util/EscapeTokenizer.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.util; diff --git a/src/main/core-api/java/com/mysql/cj/util/LRUCache.java b/src/main/core-api/java/com/mysql/cj/util/LRUCache.java index 0661d8408..8b4d79e16 100644 --- a/src/main/core-api/java/com/mysql/cj/util/LRUCache.java +++ b/src/main/core-api/java/com/mysql/cj/util/LRUCache.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.util; diff --git a/src/main/core-api/java/com/mysql/cj/util/LazyString.java b/src/main/core-api/java/com/mysql/cj/util/LazyString.java index f61c81184..76eda3f3b 100644 --- a/src/main/core-api/java/com/mysql/cj/util/LazyString.java +++ b/src/main/core-api/java/com/mysql/cj/util/LazyString.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.util; diff --git a/src/main/core-api/java/com/mysql/cj/util/LogUtils.java b/src/main/core-api/java/com/mysql/cj/util/LogUtils.java index c5ce3733d..c5aea7142 100644 --- a/src/main/core-api/java/com/mysql/cj/util/LogUtils.java +++ b/src/main/core-api/java/com/mysql/cj/util/LogUtils.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2005, 2020, Oracle and/or its affiliates. + * Copyright (c) 2005, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.util; diff --git a/src/main/core-api/java/com/mysql/cj/util/PerVmServerConfigCacheFactory.java b/src/main/core-api/java/com/mysql/cj/util/PerVmServerConfigCacheFactory.java index 9cee96aa8..bdaa0e5e5 100644 --- a/src/main/core-api/java/com/mysql/cj/util/PerVmServerConfigCacheFactory.java +++ b/src/main/core-api/java/com/mysql/cj/util/PerVmServerConfigCacheFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2013, 2023, Oracle and/or its affiliates. + * Copyright (c) 2013, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.util; diff --git a/src/main/core-api/java/com/mysql/cj/util/SaslPrep.java b/src/main/core-api/java/com/mysql/cj/util/SaslPrep.java index 66e94d7d0..522de1943 100644 --- a/src/main/core-api/java/com/mysql/cj/util/SaslPrep.java +++ b/src/main/core-api/java/com/mysql/cj/util/SaslPrep.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2020, 2023, Oracle and/or its affiliates. + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.util; diff --git a/src/main/core-api/java/com/mysql/cj/util/SearchMode.java b/src/main/core-api/java/com/mysql/cj/util/SearchMode.java index 61244bf28..e53dc177c 100644 --- a/src/main/core-api/java/com/mysql/cj/util/SearchMode.java +++ b/src/main/core-api/java/com/mysql/cj/util/SearchMode.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2021, 2023, Oracle and/or its affiliates. + * Copyright (c) 2021, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.util; diff --git a/src/main/core-api/java/com/mysql/cj/util/SequentialIdLease.java b/src/main/core-api/java/com/mysql/cj/util/SequentialIdLease.java index 9e4a01cca..baaacee07 100644 --- a/src/main/core-api/java/com/mysql/cj/util/SequentialIdLease.java +++ b/src/main/core-api/java/com/mysql/cj/util/SequentialIdLease.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.util; diff --git a/src/main/core-api/java/com/mysql/cj/util/StringInspector.java b/src/main/core-api/java/com/mysql/cj/util/StringInspector.java index 69e31502f..86c2996b5 100644 --- a/src/main/core-api/java/com/mysql/cj/util/StringInspector.java +++ b/src/main/core-api/java/com/mysql/cj/util/StringInspector.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2021, 2023, Oracle and/or its affiliates. + * Copyright (c) 2021, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.util; diff --git a/src/main/core-api/java/com/mysql/cj/util/StringUtils.java b/src/main/core-api/java/com/mysql/cj/util/StringUtils.java index be0315976..7dd47d1fc 100644 --- a/src/main/core-api/java/com/mysql/cj/util/StringUtils.java +++ b/src/main/core-api/java/com/mysql/cj/util/StringUtils.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.util; diff --git a/src/main/core-api/java/com/mysql/cj/util/TestUtils.java b/src/main/core-api/java/com/mysql/cj/util/TestUtils.java index ae2017f92..bb4a5391e 100644 --- a/src/main/core-api/java/com/mysql/cj/util/TestUtils.java +++ b/src/main/core-api/java/com/mysql/cj/util/TestUtils.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2020, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.util; diff --git a/src/main/core-api/java/com/mysql/cj/util/TimeUtil.java b/src/main/core-api/java/com/mysql/cj/util/TimeUtil.java index d5ec29d67..a0b2b8313 100644 --- a/src/main/core-api/java/com/mysql/cj/util/TimeUtil.java +++ b/src/main/core-api/java/com/mysql/cj/util/TimeUtil.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.util; diff --git a/src/main/core-api/java/com/mysql/cj/util/Util.java b/src/main/core-api/java/com/mysql/cj/util/Util.java index 237cfd7b5..451662be7 100644 --- a/src/main/core-api/java/com/mysql/cj/util/Util.java +++ b/src/main/core-api/java/com/mysql/cj/util/Util.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.util; diff --git a/src/main/core-impl/java/com/mysql/cj/AbstractQuery.java b/src/main/core-impl/java/com/mysql/cj/AbstractQuery.java index 73b55731a..9a3f33682 100644 --- a/src/main/core-impl/java/com/mysql/cj/AbstractQuery.java +++ b/src/main/core-impl/java/com/mysql/cj/AbstractQuery.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2017, 2023, Oracle and/or its affiliates. + * Copyright (c) 2017, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-impl/java/com/mysql/cj/CancelQueryTaskImpl.java b/src/main/core-impl/java/com/mysql/cj/CancelQueryTaskImpl.java index 9dfe02617..7231a92f7 100644 --- a/src/main/core-impl/java/com/mysql/cj/CancelQueryTaskImpl.java +++ b/src/main/core-impl/java/com/mysql/cj/CancelQueryTaskImpl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2017, 2023, Oracle and/or its affiliates. + * Copyright (c) 2017, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-impl/java/com/mysql/cj/ClientPreparedQuery.java b/src/main/core-impl/java/com/mysql/cj/ClientPreparedQuery.java index c9abaedb3..242b34020 100644 --- a/src/main/core-impl/java/com/mysql/cj/ClientPreparedQuery.java +++ b/src/main/core-impl/java/com/mysql/cj/ClientPreparedQuery.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2017, 2023, Oracle and/or its affiliates. + * Copyright (c) 2017, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-impl/java/com/mysql/cj/CoreSession.java b/src/main/core-impl/java/com/mysql/cj/CoreSession.java index 047189eda..7e762a05c 100644 --- a/src/main/core-impl/java/com/mysql/cj/CoreSession.java +++ b/src/main/core-impl/java/com/mysql/cj/CoreSession.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-impl/java/com/mysql/cj/DataStoreMetadataImpl.java b/src/main/core-impl/java/com/mysql/cj/DataStoreMetadataImpl.java index 33de48977..032df04b8 100644 --- a/src/main/core-impl/java/com/mysql/cj/DataStoreMetadataImpl.java +++ b/src/main/core-impl/java/com/mysql/cj/DataStoreMetadataImpl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2018, 2023, Oracle and/or its affiliates. + * Copyright (c) 2018, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-impl/java/com/mysql/cj/LicenseConfiguration.java b/src/main/core-impl/java/com/mysql/cj/LicenseConfiguration.java index c3c87599b..8844d0f50 100644 --- a/src/main/core-impl/java/com/mysql/cj/LicenseConfiguration.java +++ b/src/main/core-impl/java/com/mysql/cj/LicenseConfiguration.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-impl/java/com/mysql/cj/MysqlxSession.java b/src/main/core-impl/java/com/mysql/cj/MysqlxSession.java index 80e3212d8..8261bcd49 100644 --- a/src/main/core-impl/java/com/mysql/cj/MysqlxSession.java +++ b/src/main/core-impl/java/com/mysql/cj/MysqlxSession.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-impl/java/com/mysql/cj/NativeCharsetSettings.java b/src/main/core-impl/java/com/mysql/cj/NativeCharsetSettings.java index c469ca8e0..7d2d319b4 100644 --- a/src/main/core-impl/java/com/mysql/cj/NativeCharsetSettings.java +++ b/src/main/core-impl/java/com/mysql/cj/NativeCharsetSettings.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2021, 2023, Oracle and/or its affiliates. + * Copyright (c) 2021, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-impl/java/com/mysql/cj/NativeQueryAttributesBindings.java b/src/main/core-impl/java/com/mysql/cj/NativeQueryAttributesBindings.java index 45d7c9ed7..56dfec2e3 100644 --- a/src/main/core-impl/java/com/mysql/cj/NativeQueryAttributesBindings.java +++ b/src/main/core-impl/java/com/mysql/cj/NativeQueryAttributesBindings.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2021, 2023, Oracle and/or its affiliates. + * Copyright (c) 2021, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-impl/java/com/mysql/cj/NativeQueryBindValue.java b/src/main/core-impl/java/com/mysql/cj/NativeQueryBindValue.java index 476d8c82b..90098e5ae 100644 --- a/src/main/core-impl/java/com/mysql/cj/NativeQueryBindValue.java +++ b/src/main/core-impl/java/com/mysql/cj/NativeQueryBindValue.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2017, 2023, Oracle and/or its affiliates. + * Copyright (c) 2017, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-impl/java/com/mysql/cj/NativeQueryBindings.java b/src/main/core-impl/java/com/mysql/cj/NativeQueryBindings.java index 7559f43cd..e81efb89c 100644 --- a/src/main/core-impl/java/com/mysql/cj/NativeQueryBindings.java +++ b/src/main/core-impl/java/com/mysql/cj/NativeQueryBindings.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2017, 2023, Oracle and/or its affiliates. + * Copyright (c) 2017, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-impl/java/com/mysql/cj/NativeSession.java b/src/main/core-impl/java/com/mysql/cj/NativeSession.java index 03b86a1bd..379aaa34d 100644 --- a/src/main/core-impl/java/com/mysql/cj/NativeSession.java +++ b/src/main/core-impl/java/com/mysql/cj/NativeSession.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-impl/java/com/mysql/cj/NoSubInterceptorWrapper.java b/src/main/core-impl/java/com/mysql/cj/NoSubInterceptorWrapper.java index a5557de4f..3fdd2ac22 100644 --- a/src/main/core-impl/java/com/mysql/cj/NoSubInterceptorWrapper.java +++ b/src/main/core-impl/java/com/mysql/cj/NoSubInterceptorWrapper.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2009, 2023, Oracle and/or its affiliates. + * Copyright (c) 2009, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-impl/java/com/mysql/cj/ServerPreparedQuery.java b/src/main/core-impl/java/com/mysql/cj/ServerPreparedQuery.java index f91ebb98a..9047b6f6e 100644 --- a/src/main/core-impl/java/com/mysql/cj/ServerPreparedQuery.java +++ b/src/main/core-impl/java/com/mysql/cj/ServerPreparedQuery.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2017, 2023, Oracle and/or its affiliates. + * Copyright (c) 2017, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-impl/java/com/mysql/cj/ServerPreparedQueryTestcaseGenerator.java b/src/main/core-impl/java/com/mysql/cj/ServerPreparedQueryTestcaseGenerator.java index 912177a19..d3ad19fb8 100644 --- a/src/main/core-impl/java/com/mysql/cj/ServerPreparedQueryTestcaseGenerator.java +++ b/src/main/core-impl/java/com/mysql/cj/ServerPreparedQueryTestcaseGenerator.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2017, 2023, Oracle and/or its affiliates. + * Copyright (c) 2017, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-impl/java/com/mysql/cj/SimpleQuery.java b/src/main/core-impl/java/com/mysql/cj/SimpleQuery.java index b84fc913e..b084c0b53 100644 --- a/src/main/core-impl/java/com/mysql/cj/SimpleQuery.java +++ b/src/main/core-impl/java/com/mysql/cj/SimpleQuery.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2017, 2020, Oracle and/or its affiliates. + * Copyright (c) 2017, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/main/core-impl/java/com/mysql/cj/admin/ServerController.java b/src/main/core-impl/java/com/mysql/cj/admin/ServerController.java index 2089b96e6..8cd9f48f2 100644 --- a/src/main/core-impl/java/com/mysql/cj/admin/ServerController.java +++ b/src/main/core-impl/java/com/mysql/cj/admin/ServerController.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.admin; diff --git a/src/main/core-impl/java/com/mysql/cj/conf/AbstractPropertyDefinition.java b/src/main/core-impl/java/com/mysql/cj/conf/AbstractPropertyDefinition.java index a74527d32..b19f0cbaf 100644 --- a/src/main/core-impl/java/com/mysql/cj/conf/AbstractPropertyDefinition.java +++ b/src/main/core-impl/java/com/mysql/cj/conf/AbstractPropertyDefinition.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.conf; diff --git a/src/main/core-impl/java/com/mysql/cj/conf/AbstractRuntimeProperty.java b/src/main/core-impl/java/com/mysql/cj/conf/AbstractRuntimeProperty.java index 96db0aff2..b1011f0a0 100644 --- a/src/main/core-impl/java/com/mysql/cj/conf/AbstractRuntimeProperty.java +++ b/src/main/core-impl/java/com/mysql/cj/conf/AbstractRuntimeProperty.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.conf; diff --git a/src/main/core-impl/java/com/mysql/cj/conf/BooleanProperty.java b/src/main/core-impl/java/com/mysql/cj/conf/BooleanProperty.java index 412bfd23e..0b01c7645 100644 --- a/src/main/core-impl/java/com/mysql/cj/conf/BooleanProperty.java +++ b/src/main/core-impl/java/com/mysql/cj/conf/BooleanProperty.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.conf; diff --git a/src/main/core-impl/java/com/mysql/cj/conf/BooleanPropertyDefinition.java b/src/main/core-impl/java/com/mysql/cj/conf/BooleanPropertyDefinition.java index 7e018442b..77d90f971 100644 --- a/src/main/core-impl/java/com/mysql/cj/conf/BooleanPropertyDefinition.java +++ b/src/main/core-impl/java/com/mysql/cj/conf/BooleanPropertyDefinition.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.conf; diff --git a/src/main/core-impl/java/com/mysql/cj/conf/DefaultPropertySet.java b/src/main/core-impl/java/com/mysql/cj/conf/DefaultPropertySet.java index b55c5de40..11785fdae 100644 --- a/src/main/core-impl/java/com/mysql/cj/conf/DefaultPropertySet.java +++ b/src/main/core-impl/java/com/mysql/cj/conf/DefaultPropertySet.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.conf; diff --git a/src/main/core-impl/java/com/mysql/cj/conf/EnumProperty.java b/src/main/core-impl/java/com/mysql/cj/conf/EnumProperty.java index 8bd4f5e9c..5f02ed2ed 100644 --- a/src/main/core-impl/java/com/mysql/cj/conf/EnumProperty.java +++ b/src/main/core-impl/java/com/mysql/cj/conf/EnumProperty.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2017, 2023, Oracle and/or its affiliates. + * Copyright (c) 2017, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.conf; diff --git a/src/main/core-impl/java/com/mysql/cj/conf/EnumPropertyDefinition.java b/src/main/core-impl/java/com/mysql/cj/conf/EnumPropertyDefinition.java index 07f5977be..6105da551 100644 --- a/src/main/core-impl/java/com/mysql/cj/conf/EnumPropertyDefinition.java +++ b/src/main/core-impl/java/com/mysql/cj/conf/EnumPropertyDefinition.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2017, 2023, Oracle and/or its affiliates. + * Copyright (c) 2017, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.conf; diff --git a/src/main/core-impl/java/com/mysql/cj/conf/IntegerProperty.java b/src/main/core-impl/java/com/mysql/cj/conf/IntegerProperty.java index 61f47c2c3..a31e4fdbb 100644 --- a/src/main/core-impl/java/com/mysql/cj/conf/IntegerProperty.java +++ b/src/main/core-impl/java/com/mysql/cj/conf/IntegerProperty.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.conf; diff --git a/src/main/core-impl/java/com/mysql/cj/conf/IntegerPropertyDefinition.java b/src/main/core-impl/java/com/mysql/cj/conf/IntegerPropertyDefinition.java index ebad0f722..6684b2578 100644 --- a/src/main/core-impl/java/com/mysql/cj/conf/IntegerPropertyDefinition.java +++ b/src/main/core-impl/java/com/mysql/cj/conf/IntegerPropertyDefinition.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.conf; diff --git a/src/main/core-impl/java/com/mysql/cj/conf/LongProperty.java b/src/main/core-impl/java/com/mysql/cj/conf/LongProperty.java index af8a6c4e2..5dbb612bb 100644 --- a/src/main/core-impl/java/com/mysql/cj/conf/LongProperty.java +++ b/src/main/core-impl/java/com/mysql/cj/conf/LongProperty.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.conf; diff --git a/src/main/core-impl/java/com/mysql/cj/conf/LongPropertyDefinition.java b/src/main/core-impl/java/com/mysql/cj/conf/LongPropertyDefinition.java index 3e31733e6..0ca9d827c 100644 --- a/src/main/core-impl/java/com/mysql/cj/conf/LongPropertyDefinition.java +++ b/src/main/core-impl/java/com/mysql/cj/conf/LongPropertyDefinition.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.conf; diff --git a/src/main/core-impl/java/com/mysql/cj/conf/MemorySizeProperty.java b/src/main/core-impl/java/com/mysql/cj/conf/MemorySizeProperty.java index 2a9d66ea3..3fa9736a4 100644 --- a/src/main/core-impl/java/com/mysql/cj/conf/MemorySizeProperty.java +++ b/src/main/core-impl/java/com/mysql/cj/conf/MemorySizeProperty.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.conf; diff --git a/src/main/core-impl/java/com/mysql/cj/conf/MemorySizePropertyDefinition.java b/src/main/core-impl/java/com/mysql/cj/conf/MemorySizePropertyDefinition.java index b7e48e471..8783cc3b0 100644 --- a/src/main/core-impl/java/com/mysql/cj/conf/MemorySizePropertyDefinition.java +++ b/src/main/core-impl/java/com/mysql/cj/conf/MemorySizePropertyDefinition.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.conf; diff --git a/src/main/core-impl/java/com/mysql/cj/conf/StringProperty.java b/src/main/core-impl/java/com/mysql/cj/conf/StringProperty.java index 8770d11fe..2a8688697 100644 --- a/src/main/core-impl/java/com/mysql/cj/conf/StringProperty.java +++ b/src/main/core-impl/java/com/mysql/cj/conf/StringProperty.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.conf; diff --git a/src/main/core-impl/java/com/mysql/cj/conf/StringPropertyDefinition.java b/src/main/core-impl/java/com/mysql/cj/conf/StringPropertyDefinition.java index 8f9e41e44..443e958f6 100644 --- a/src/main/core-impl/java/com/mysql/cj/conf/StringPropertyDefinition.java +++ b/src/main/core-impl/java/com/mysql/cj/conf/StringPropertyDefinition.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.conf; diff --git a/src/main/core-impl/java/com/mysql/cj/conf/url/FailoverConnectionUrl.java b/src/main/core-impl/java/com/mysql/cj/conf/url/FailoverConnectionUrl.java index f0625ed7d..8a2e3717d 100644 --- a/src/main/core-impl/java/com/mysql/cj/conf/url/FailoverConnectionUrl.java +++ b/src/main/core-impl/java/com/mysql/cj/conf/url/FailoverConnectionUrl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.conf.url; diff --git a/src/main/core-impl/java/com/mysql/cj/conf/url/FailoverDnsSrvConnectionUrl.java b/src/main/core-impl/java/com/mysql/cj/conf/url/FailoverDnsSrvConnectionUrl.java index bdeaff72f..53e7d0af6 100644 --- a/src/main/core-impl/java/com/mysql/cj/conf/url/FailoverDnsSrvConnectionUrl.java +++ b/src/main/core-impl/java/com/mysql/cj/conf/url/FailoverDnsSrvConnectionUrl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.conf.url; diff --git a/src/main/core-impl/java/com/mysql/cj/conf/url/LoadBalanceConnectionUrl.java b/src/main/core-impl/java/com/mysql/cj/conf/url/LoadBalanceConnectionUrl.java index 9349b26b8..c4ba9e6c8 100644 --- a/src/main/core-impl/java/com/mysql/cj/conf/url/LoadBalanceConnectionUrl.java +++ b/src/main/core-impl/java/com/mysql/cj/conf/url/LoadBalanceConnectionUrl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.conf.url; diff --git a/src/main/core-impl/java/com/mysql/cj/conf/url/LoadBalanceDnsSrvConnectionUrl.java b/src/main/core-impl/java/com/mysql/cj/conf/url/LoadBalanceDnsSrvConnectionUrl.java index 0681f9f7b..fa4173497 100644 --- a/src/main/core-impl/java/com/mysql/cj/conf/url/LoadBalanceDnsSrvConnectionUrl.java +++ b/src/main/core-impl/java/com/mysql/cj/conf/url/LoadBalanceDnsSrvConnectionUrl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.conf.url; diff --git a/src/main/core-impl/java/com/mysql/cj/conf/url/ReplicationConnectionUrl.java b/src/main/core-impl/java/com/mysql/cj/conf/url/ReplicationConnectionUrl.java index 0d8fef1d2..cb5f4b695 100644 --- a/src/main/core-impl/java/com/mysql/cj/conf/url/ReplicationConnectionUrl.java +++ b/src/main/core-impl/java/com/mysql/cj/conf/url/ReplicationConnectionUrl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.conf.url; diff --git a/src/main/core-impl/java/com/mysql/cj/conf/url/ReplicationDnsSrvConnectionUrl.java b/src/main/core-impl/java/com/mysql/cj/conf/url/ReplicationDnsSrvConnectionUrl.java index 472fe2dbf..c78a97c81 100644 --- a/src/main/core-impl/java/com/mysql/cj/conf/url/ReplicationDnsSrvConnectionUrl.java +++ b/src/main/core-impl/java/com/mysql/cj/conf/url/ReplicationDnsSrvConnectionUrl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.conf.url; diff --git a/src/main/core-impl/java/com/mysql/cj/conf/url/SingleConnectionUrl.java b/src/main/core-impl/java/com/mysql/cj/conf/url/SingleConnectionUrl.java index 148d73808..e5aefbc11 100644 --- a/src/main/core-impl/java/com/mysql/cj/conf/url/SingleConnectionUrl.java +++ b/src/main/core-impl/java/com/mysql/cj/conf/url/SingleConnectionUrl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.conf.url; diff --git a/src/main/core-impl/java/com/mysql/cj/conf/url/XDevApiConnectionUrl.java b/src/main/core-impl/java/com/mysql/cj/conf/url/XDevApiConnectionUrl.java index 32de9b557..566f8dc1d 100644 --- a/src/main/core-impl/java/com/mysql/cj/conf/url/XDevApiConnectionUrl.java +++ b/src/main/core-impl/java/com/mysql/cj/conf/url/XDevApiConnectionUrl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.conf.url; diff --git a/src/main/core-impl/java/com/mysql/cj/conf/url/XDevApiDnsSrvConnectionUrl.java b/src/main/core-impl/java/com/mysql/cj/conf/url/XDevApiDnsSrvConnectionUrl.java index 583dc94dc..585bb80f1 100644 --- a/src/main/core-impl/java/com/mysql/cj/conf/url/XDevApiDnsSrvConnectionUrl.java +++ b/src/main/core-impl/java/com/mysql/cj/conf/url/XDevApiDnsSrvConnectionUrl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.conf.url; diff --git a/src/main/core-impl/java/com/mysql/cj/log/BaseMetricsHolder.java b/src/main/core-impl/java/com/mysql/cj/log/BaseMetricsHolder.java index b360ab909..31aaaa012 100644 --- a/src/main/core-impl/java/com/mysql/cj/log/BaseMetricsHolder.java +++ b/src/main/core-impl/java/com/mysql/cj/log/BaseMetricsHolder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2017, 2023, Oracle and/or its affiliates. + * Copyright (c) 2017, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.log; diff --git a/src/main/core-impl/java/com/mysql/cj/log/LogFactory.java b/src/main/core-impl/java/com/mysql/cj/log/LogFactory.java index a229194b5..bc88a0719 100644 --- a/src/main/core-impl/java/com/mysql/cj/log/LogFactory.java +++ b/src/main/core-impl/java/com/mysql/cj/log/LogFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.log; diff --git a/src/main/core-impl/java/com/mysql/cj/log/LoggingProfilerEventHandler.java b/src/main/core-impl/java/com/mysql/cj/log/LoggingProfilerEventHandler.java index ddc53672c..1343f5aa6 100644 --- a/src/main/core-impl/java/com/mysql/cj/log/LoggingProfilerEventHandler.java +++ b/src/main/core-impl/java/com/mysql/cj/log/LoggingProfilerEventHandler.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2007, 2023, Oracle and/or its affiliates. + * Copyright (c) 2007, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.log; diff --git a/src/main/core-impl/java/com/mysql/cj/log/ProfilerEventImpl.java b/src/main/core-impl/java/com/mysql/cj/log/ProfilerEventImpl.java index fb37a3822..0ab2b41b3 100644 --- a/src/main/core-impl/java/com/mysql/cj/log/ProfilerEventImpl.java +++ b/src/main/core-impl/java/com/mysql/cj/log/ProfilerEventImpl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.log; diff --git a/src/main/core-impl/java/com/mysql/cj/protocol/AbstractProtocol.java b/src/main/core-impl/java/com/mysql/cj/protocol/AbstractProtocol.java index 5314e2e0c..f401a4751 100644 --- a/src/main/core-impl/java/com/mysql/cj/protocol/AbstractProtocol.java +++ b/src/main/core-impl/java/com/mysql/cj/protocol/AbstractProtocol.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-impl/java/com/mysql/cj/protocol/AbstractSocketConnection.java b/src/main/core-impl/java/com/mysql/cj/protocol/AbstractSocketConnection.java index fe57eee27..7cf57932f 100644 --- a/src/main/core-impl/java/com/mysql/cj/protocol/AbstractSocketConnection.java +++ b/src/main/core-impl/java/com/mysql/cj/protocol/AbstractSocketConnection.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-impl/java/com/mysql/cj/protocol/ExportControlled.java b/src/main/core-impl/java/com/mysql/cj/protocol/ExportControlled.java index 6a5a3cfda..fdece4c04 100644 --- a/src/main/core-impl/java/com/mysql/cj/protocol/ExportControlled.java +++ b/src/main/core-impl/java/com/mysql/cj/protocol/ExportControlled.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-impl/java/com/mysql/cj/protocol/NamedPipeSocketFactory.java b/src/main/core-impl/java/com/mysql/cj/protocol/NamedPipeSocketFactory.java index a945436a7..ebc0a25b4 100644 --- a/src/main/core-impl/java/com/mysql/cj/protocol/NamedPipeSocketFactory.java +++ b/src/main/core-impl/java/com/mysql/cj/protocol/NamedPipeSocketFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-impl/java/com/mysql/cj/protocol/ReadAheadInputStream.java b/src/main/core-impl/java/com/mysql/cj/protocol/ReadAheadInputStream.java index 649e33c84..e0e5f6814 100644 --- a/src/main/core-impl/java/com/mysql/cj/protocol/ReadAheadInputStream.java +++ b/src/main/core-impl/java/com/mysql/cj/protocol/ReadAheadInputStream.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-impl/java/com/mysql/cj/protocol/Security.java b/src/main/core-impl/java/com/mysql/cj/protocol/Security.java index f39a562fb..3e7c3bd74 100644 --- a/src/main/core-impl/java/com/mysql/cj/protocol/Security.java +++ b/src/main/core-impl/java/com/mysql/cj/protocol/Security.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-impl/java/com/mysql/cj/protocol/SocksProxySocketFactory.java b/src/main/core-impl/java/com/mysql/cj/protocol/SocksProxySocketFactory.java index 577caef97..7c9b1d629 100644 --- a/src/main/core-impl/java/com/mysql/cj/protocol/SocksProxySocketFactory.java +++ b/src/main/core-impl/java/com/mysql/cj/protocol/SocksProxySocketFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2014, 2022, Oracle and/or its affiliates. + * Copyright (c) 2014, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-impl/java/com/mysql/cj/protocol/StandardSocketFactory.java b/src/main/core-impl/java/com/mysql/cj/protocol/StandardSocketFactory.java index f1c398171..5d1514a04 100644 --- a/src/main/core-impl/java/com/mysql/cj/protocol/StandardSocketFactory.java +++ b/src/main/core-impl/java/com/mysql/cj/protocol/StandardSocketFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-impl/java/com/mysql/cj/protocol/WatchableOutputStream.java b/src/main/core-impl/java/com/mysql/cj/protocol/WatchableOutputStream.java index ad59e5d6f..aa833aabf 100644 --- a/src/main/core-impl/java/com/mysql/cj/protocol/WatchableOutputStream.java +++ b/src/main/core-impl/java/com/mysql/cj/protocol/WatchableOutputStream.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-impl/java/com/mysql/cj/protocol/WatchableWriter.java b/src/main/core-impl/java/com/mysql/cj/protocol/WatchableWriter.java index 408040f74..23c047918 100644 --- a/src/main/core-impl/java/com/mysql/cj/protocol/WatchableWriter.java +++ b/src/main/core-impl/java/com/mysql/cj/protocol/WatchableWriter.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-impl/java/com/mysql/cj/protocol/WriterWatcher.java b/src/main/core-impl/java/com/mysql/cj/protocol/WriterWatcher.java index b6f18b18c..db0786861 100644 --- a/src/main/core-impl/java/com/mysql/cj/protocol/WriterWatcher.java +++ b/src/main/core-impl/java/com/mysql/cj/protocol/WriterWatcher.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol; diff --git a/src/main/core-impl/java/com/mysql/cj/protocol/result/AbstractResultsetRow.java b/src/main/core-impl/java/com/mysql/cj/protocol/result/AbstractResultsetRow.java index 4982a46e3..d4a3ac31b 100644 --- a/src/main/core-impl/java/com/mysql/cj/protocol/result/AbstractResultsetRow.java +++ b/src/main/core-impl/java/com/mysql/cj/protocol/result/AbstractResultsetRow.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2007, 2023, Oracle and/or its affiliates. + * Copyright (c) 2007, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.result; diff --git a/src/main/core-impl/java/com/mysql/cj/result/AbstractDateTimeValueFactory.java b/src/main/core-impl/java/com/mysql/cj/result/AbstractDateTimeValueFactory.java index b5f1e61c2..b3727664c 100644 --- a/src/main/core-impl/java/com/mysql/cj/result/AbstractDateTimeValueFactory.java +++ b/src/main/core-impl/java/com/mysql/cj/result/AbstractDateTimeValueFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/main/core-impl/java/com/mysql/cj/result/AbstractNumericValueFactory.java b/src/main/core-impl/java/com/mysql/cj/result/AbstractNumericValueFactory.java index 0327c40c6..303b8b01c 100644 --- a/src/main/core-impl/java/com/mysql/cj/result/AbstractNumericValueFactory.java +++ b/src/main/core-impl/java/com/mysql/cj/result/AbstractNumericValueFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/main/core-impl/java/com/mysql/cj/result/BigDecimalValueFactory.java b/src/main/core-impl/java/com/mysql/cj/result/BigDecimalValueFactory.java index 3b0ac5cde..d6c88b41f 100644 --- a/src/main/core-impl/java/com/mysql/cj/result/BigDecimalValueFactory.java +++ b/src/main/core-impl/java/com/mysql/cj/result/BigDecimalValueFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/main/core-impl/java/com/mysql/cj/result/BinaryStreamValueFactory.java b/src/main/core-impl/java/com/mysql/cj/result/BinaryStreamValueFactory.java index 91a9acaac..27f2f9aff 100644 --- a/src/main/core-impl/java/com/mysql/cj/result/BinaryStreamValueFactory.java +++ b/src/main/core-impl/java/com/mysql/cj/result/BinaryStreamValueFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/main/core-impl/java/com/mysql/cj/result/BooleanValueFactory.java b/src/main/core-impl/java/com/mysql/cj/result/BooleanValueFactory.java index f54b135f1..523b13fce 100644 --- a/src/main/core-impl/java/com/mysql/cj/result/BooleanValueFactory.java +++ b/src/main/core-impl/java/com/mysql/cj/result/BooleanValueFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/main/core-impl/java/com/mysql/cj/result/BufferedRowList.java b/src/main/core-impl/java/com/mysql/cj/result/BufferedRowList.java index 1fe1ac183..ecb785a0c 100644 --- a/src/main/core-impl/java/com/mysql/cj/result/BufferedRowList.java +++ b/src/main/core-impl/java/com/mysql/cj/result/BufferedRowList.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/main/core-impl/java/com/mysql/cj/result/ByteValueFactory.java b/src/main/core-impl/java/com/mysql/cj/result/ByteValueFactory.java index dde91715b..d0d46604f 100644 --- a/src/main/core-impl/java/com/mysql/cj/result/ByteValueFactory.java +++ b/src/main/core-impl/java/com/mysql/cj/result/ByteValueFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/main/core-impl/java/com/mysql/cj/result/DefaultColumnDefinition.java b/src/main/core-impl/java/com/mysql/cj/result/DefaultColumnDefinition.java index 48611d071..c418a9b88 100644 --- a/src/main/core-impl/java/com/mysql/cj/result/DefaultColumnDefinition.java +++ b/src/main/core-impl/java/com/mysql/cj/result/DefaultColumnDefinition.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/main/core-impl/java/com/mysql/cj/result/DefaultValueFactory.java b/src/main/core-impl/java/com/mysql/cj/result/DefaultValueFactory.java index eb4ddc09c..cb75d2fd2 100644 --- a/src/main/core-impl/java/com/mysql/cj/result/DefaultValueFactory.java +++ b/src/main/core-impl/java/com/mysql/cj/result/DefaultValueFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/main/core-impl/java/com/mysql/cj/result/DoubleValueFactory.java b/src/main/core-impl/java/com/mysql/cj/result/DoubleValueFactory.java index fcafb5ef8..4a1980a5d 100644 --- a/src/main/core-impl/java/com/mysql/cj/result/DoubleValueFactory.java +++ b/src/main/core-impl/java/com/mysql/cj/result/DoubleValueFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/main/core-impl/java/com/mysql/cj/result/DurationValueFactory.java b/src/main/core-impl/java/com/mysql/cj/result/DurationValueFactory.java index f24cc402e..63d52e261 100644 --- a/src/main/core-impl/java/com/mysql/cj/result/DurationValueFactory.java +++ b/src/main/core-impl/java/com/mysql/cj/result/DurationValueFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2021, 2023, Oracle and/or its affiliates. + * Copyright (c) 2021, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/main/core-impl/java/com/mysql/cj/result/FloatValueFactory.java b/src/main/core-impl/java/com/mysql/cj/result/FloatValueFactory.java index 76b054983..b8211b331 100644 --- a/src/main/core-impl/java/com/mysql/cj/result/FloatValueFactory.java +++ b/src/main/core-impl/java/com/mysql/cj/result/FloatValueFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/main/core-impl/java/com/mysql/cj/result/IntegerValueFactory.java b/src/main/core-impl/java/com/mysql/cj/result/IntegerValueFactory.java index 7f38cba23..db1047d69 100644 --- a/src/main/core-impl/java/com/mysql/cj/result/IntegerValueFactory.java +++ b/src/main/core-impl/java/com/mysql/cj/result/IntegerValueFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/main/core-impl/java/com/mysql/cj/result/LocalDateTimeValueFactory.java b/src/main/core-impl/java/com/mysql/cj/result/LocalDateTimeValueFactory.java index 7474199a9..a4e32cf80 100644 --- a/src/main/core-impl/java/com/mysql/cj/result/LocalDateTimeValueFactory.java +++ b/src/main/core-impl/java/com/mysql/cj/result/LocalDateTimeValueFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/main/core-impl/java/com/mysql/cj/result/LocalDateValueFactory.java b/src/main/core-impl/java/com/mysql/cj/result/LocalDateValueFactory.java index 93dc3f6b0..91348164a 100644 --- a/src/main/core-impl/java/com/mysql/cj/result/LocalDateValueFactory.java +++ b/src/main/core-impl/java/com/mysql/cj/result/LocalDateValueFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/main/core-impl/java/com/mysql/cj/result/LocalTimeValueFactory.java b/src/main/core-impl/java/com/mysql/cj/result/LocalTimeValueFactory.java index f87e83f79..ae70cacad 100644 --- a/src/main/core-impl/java/com/mysql/cj/result/LocalTimeValueFactory.java +++ b/src/main/core-impl/java/com/mysql/cj/result/LocalTimeValueFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/main/core-impl/java/com/mysql/cj/result/LongValueFactory.java b/src/main/core-impl/java/com/mysql/cj/result/LongValueFactory.java index 8f9152f46..672186ce8 100644 --- a/src/main/core-impl/java/com/mysql/cj/result/LongValueFactory.java +++ b/src/main/core-impl/java/com/mysql/cj/result/LongValueFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/main/core-impl/java/com/mysql/cj/result/OffsetDateTimeValueFactory.java b/src/main/core-impl/java/com/mysql/cj/result/OffsetDateTimeValueFactory.java index 5dbc8096e..89adb107b 100644 --- a/src/main/core-impl/java/com/mysql/cj/result/OffsetDateTimeValueFactory.java +++ b/src/main/core-impl/java/com/mysql/cj/result/OffsetDateTimeValueFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2020, 2023, Oracle and/or its affiliates. + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/main/core-impl/java/com/mysql/cj/result/OffsetTimeValueFactory.java b/src/main/core-impl/java/com/mysql/cj/result/OffsetTimeValueFactory.java index 745791ed1..6e8c5d63d 100644 --- a/src/main/core-impl/java/com/mysql/cj/result/OffsetTimeValueFactory.java +++ b/src/main/core-impl/java/com/mysql/cj/result/OffsetTimeValueFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2020, 2023, Oracle and/or its affiliates. + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/main/core-impl/java/com/mysql/cj/result/ShortValueFactory.java b/src/main/core-impl/java/com/mysql/cj/result/ShortValueFactory.java index e6fa63f47..7ffe20ddb 100644 --- a/src/main/core-impl/java/com/mysql/cj/result/ShortValueFactory.java +++ b/src/main/core-impl/java/com/mysql/cj/result/ShortValueFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/main/core-impl/java/com/mysql/cj/result/SqlDateValueFactory.java b/src/main/core-impl/java/com/mysql/cj/result/SqlDateValueFactory.java index 2277303b0..d903db8b7 100644 --- a/src/main/core-impl/java/com/mysql/cj/result/SqlDateValueFactory.java +++ b/src/main/core-impl/java/com/mysql/cj/result/SqlDateValueFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/main/core-impl/java/com/mysql/cj/result/SqlTimeValueFactory.java b/src/main/core-impl/java/com/mysql/cj/result/SqlTimeValueFactory.java index d02fc49a0..9c1f6a308 100644 --- a/src/main/core-impl/java/com/mysql/cj/result/SqlTimeValueFactory.java +++ b/src/main/core-impl/java/com/mysql/cj/result/SqlTimeValueFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/main/core-impl/java/com/mysql/cj/result/SqlTimestampValueFactory.java b/src/main/core-impl/java/com/mysql/cj/result/SqlTimestampValueFactory.java index c9612a91a..3ea109609 100644 --- a/src/main/core-impl/java/com/mysql/cj/result/SqlTimestampValueFactory.java +++ b/src/main/core-impl/java/com/mysql/cj/result/SqlTimestampValueFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/main/core-impl/java/com/mysql/cj/result/StringValueFactory.java b/src/main/core-impl/java/com/mysql/cj/result/StringValueFactory.java index dbaf1a5a7..81cf1500a 100644 --- a/src/main/core-impl/java/com/mysql/cj/result/StringValueFactory.java +++ b/src/main/core-impl/java/com/mysql/cj/result/StringValueFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/main/core-impl/java/com/mysql/cj/result/UtilCalendarValueFactory.java b/src/main/core-impl/java/com/mysql/cj/result/UtilCalendarValueFactory.java index 102f531ed..17e9a7df3 100644 --- a/src/main/core-impl/java/com/mysql/cj/result/UtilCalendarValueFactory.java +++ b/src/main/core-impl/java/com/mysql/cj/result/UtilCalendarValueFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2020, 2023, Oracle and/or its affiliates. + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/main/core-impl/java/com/mysql/cj/result/ZonedDateTimeValueFactory.java b/src/main/core-impl/java/com/mysql/cj/result/ZonedDateTimeValueFactory.java index ed6c74491..2e98cf24d 100644 --- a/src/main/core-impl/java/com/mysql/cj/result/ZonedDateTimeValueFactory.java +++ b/src/main/core-impl/java/com/mysql/cj/result/ZonedDateTimeValueFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2020, 2023, Oracle and/or its affiliates. + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/main/core-impl/java/com/mysql/cj/sasl/ScramSha1SaslClient.java b/src/main/core-impl/java/com/mysql/cj/sasl/ScramSha1SaslClient.java index d6d3a0245..960b50f4b 100644 --- a/src/main/core-impl/java/com/mysql/cj/sasl/ScramSha1SaslClient.java +++ b/src/main/core-impl/java/com/mysql/cj/sasl/ScramSha1SaslClient.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2020, 2023, Oracle and/or its affiliates. + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.sasl; diff --git a/src/main/core-impl/java/com/mysql/cj/sasl/ScramSha256SaslClient.java b/src/main/core-impl/java/com/mysql/cj/sasl/ScramSha256SaslClient.java index 21f1ceebd..4e370253a 100644 --- a/src/main/core-impl/java/com/mysql/cj/sasl/ScramSha256SaslClient.java +++ b/src/main/core-impl/java/com/mysql/cj/sasl/ScramSha256SaslClient.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2020, 2023, Oracle and/or its affiliates. + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.sasl; diff --git a/src/main/core-impl/java/com/mysql/cj/sasl/ScramShaSaslClient.java b/src/main/core-impl/java/com/mysql/cj/sasl/ScramShaSaslClient.java index a7dd40f44..febd47407 100644 --- a/src/main/core-impl/java/com/mysql/cj/sasl/ScramShaSaslClient.java +++ b/src/main/core-impl/java/com/mysql/cj/sasl/ScramShaSaslClient.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2020, 2023, Oracle and/or its affiliates. + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.sasl; diff --git a/src/main/core-impl/java/com/mysql/cj/sasl/ScramShaSaslClientFactory.java b/src/main/core-impl/java/com/mysql/cj/sasl/ScramShaSaslClientFactory.java index 86a574e25..dd6dedd52 100644 --- a/src/main/core-impl/java/com/mysql/cj/sasl/ScramShaSaslClientFactory.java +++ b/src/main/core-impl/java/com/mysql/cj/sasl/ScramShaSaslClientFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2020, 2023, Oracle and/or its affiliates. + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.sasl; diff --git a/src/main/core-impl/java/com/mysql/cj/sasl/ScramShaSaslProvider.java b/src/main/core-impl/java/com/mysql/cj/sasl/ScramShaSaslProvider.java index 557c21979..acc229448 100644 --- a/src/main/core-impl/java/com/mysql/cj/sasl/ScramShaSaslProvider.java +++ b/src/main/core-impl/java/com/mysql/cj/sasl/ScramShaSaslProvider.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2020, 2023, Oracle and/or its affiliates. + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.sasl; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/AbstractRowFactory.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/AbstractRowFactory.java index f73ea3dc7..d2862d9ba 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/AbstractRowFactory.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/AbstractRowFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2020, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/AbstractValueEncoder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/AbstractValueEncoder.java index 2bf300eaa..6b6ee831b 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/AbstractValueEncoder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/AbstractValueEncoder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2022, 2023, Oracle and/or its affiliates. + * Copyright (c) 2022, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/BinaryResultsetReader.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/BinaryResultsetReader.java index ef217d1fe..b3410c6c7 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/BinaryResultsetReader.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/BinaryResultsetReader.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/BinaryRowFactory.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/BinaryRowFactory.java index 54659faa8..76808f936 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/BinaryRowFactory.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/BinaryRowFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/BlobValueEncoder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/BlobValueEncoder.java index de1931b74..817eeae33 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/BlobValueEncoder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/BlobValueEncoder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2022, Oracle and/or its affiliates. + * Copyright (c) 2022, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/BooleanValueEncoder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/BooleanValueEncoder.java index f55e73dec..e1818d452 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/BooleanValueEncoder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/BooleanValueEncoder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2022, 2023, Oracle and/or its affiliates. + * Copyright (c) 2022, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/ByteArrayValueEncoder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/ByteArrayValueEncoder.java index 8d0a73168..df2a3152a 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/ByteArrayValueEncoder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/ByteArrayValueEncoder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2022, 2023, Oracle and/or its affiliates. + * Copyright (c) 2022, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/ClobValueEncoder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/ClobValueEncoder.java index 4dd96115f..ddf107320 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/ClobValueEncoder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/ClobValueEncoder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2022, 2023, Oracle and/or its affiliates. + * Copyright (c) 2022, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/ColumnDefinitionFactory.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/ColumnDefinitionFactory.java index b47f78e8a..c3d014b88 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/ColumnDefinitionFactory.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/ColumnDefinitionFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/ColumnDefinitionReader.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/ColumnDefinitionReader.java index 3e014390f..2a891bfc3 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/ColumnDefinitionReader.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/ColumnDefinitionReader.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/CompressedInputStream.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/CompressedInputStream.java index 6279167a8..681ba55bf 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/CompressedInputStream.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/CompressedInputStream.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/CompressedPacketSender.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/CompressedPacketSender.java index 7a3ab87a1..a6becb403 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/CompressedPacketSender.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/CompressedPacketSender.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/DebugBufferingPacketReader.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/DebugBufferingPacketReader.java index 2dba5f4a8..1f6c5a12e 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/DebugBufferingPacketReader.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/DebugBufferingPacketReader.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/DebugBufferingPacketSender.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/DebugBufferingPacketSender.java index 50d5dd5b3..bb9d9b939 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/DebugBufferingPacketSender.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/DebugBufferingPacketSender.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/DurationValueEncoder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/DurationValueEncoder.java index 5c475ea71..c1dd53a6d 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/DurationValueEncoder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/DurationValueEncoder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2022, 2023, Oracle and/or its affiliates. + * Copyright (c) 2022, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/InputStreamValueEncoder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/InputStreamValueEncoder.java index 275ee73a3..a98796105 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/InputStreamValueEncoder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/InputStreamValueEncoder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2022, 2023, Oracle and/or its affiliates. + * Copyright (c) 2022, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/InstantValueEncoder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/InstantValueEncoder.java index dcc67227d..63bbd30b3 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/InstantValueEncoder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/InstantValueEncoder.java @@ -1,30 +1,21 @@ /* * Copyright (c) 2022, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/LocalDateTimeValueEncoder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/LocalDateTimeValueEncoder.java index fba98c81b..bd4e00853 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/LocalDateTimeValueEncoder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/LocalDateTimeValueEncoder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2022, 2023, Oracle and/or its affiliates. + * Copyright (c) 2022, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/LocalDateValueEncoder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/LocalDateValueEncoder.java index c4f7a8359..253091357 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/LocalDateValueEncoder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/LocalDateValueEncoder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2022, 2023, Oracle and/or its affiliates. + * Copyright (c) 2022, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/LocalTimeValueEncoder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/LocalTimeValueEncoder.java index c380d7deb..111090627 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/LocalTimeValueEncoder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/LocalTimeValueEncoder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2022, 2023, Oracle and/or its affiliates. + * Copyright (c) 2022, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/MergingColumnDefinitionFactory.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/MergingColumnDefinitionFactory.java index 287b63f4a..a6f5f5a5d 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/MergingColumnDefinitionFactory.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/MergingColumnDefinitionFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/MultiPacketReader.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/MultiPacketReader.java index 17930b7e4..422566547 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/MultiPacketReader.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/MultiPacketReader.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/MysqlBinaryValueDecoder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/MysqlBinaryValueDecoder.java index 7985ead14..0221d4e81 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/MysqlBinaryValueDecoder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/MysqlBinaryValueDecoder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/MysqlTextValueDecoder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/MysqlTextValueDecoder.java index 8cb9bbff4..f213f8bf8 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/MysqlTextValueDecoder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/MysqlTextValueDecoder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeAuthenticationProvider.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeAuthenticationProvider.java index ea8e637df..06863cd82 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeAuthenticationProvider.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeAuthenticationProvider.java @@ -1,30 +1,21 @@ /* * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeCapabilities.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeCapabilities.java index 40815588a..f1fe75dbb 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeCapabilities.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeCapabilities.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeConstants.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeConstants.java index 6c8059dff..9d8d575f5 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeConstants.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeConstants.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeMessageBuilder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeMessageBuilder.java index 3653b7cbc..e71ae9699 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeMessageBuilder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeMessageBuilder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2017, 2023, Oracle and/or its affiliates. + * Copyright (c) 2017, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativePacketHeader.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativePacketHeader.java index d546748ff..bfa2d05c6 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativePacketHeader.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativePacketHeader.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativePacketPayload.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativePacketPayload.java index fc063b0c7..41d5ff453 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativePacketPayload.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativePacketPayload.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeProtocol.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeProtocol.java index 5e07b0536..f6febd52c 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeProtocol.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeProtocol.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeServerSession.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeServerSession.java index ca40f2fce..dfe26e910 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeServerSession.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeServerSession.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeServerSessionStateController.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeServerSessionStateController.java index 1d3e12c0c..1c75c2cb0 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeServerSessionStateController.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeServerSessionStateController.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2021, 2023, Oracle and/or its affiliates. + * Copyright (c) 2021, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeSocketConnection.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeSocketConnection.java index e5b0f581d..969b88272 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeSocketConnection.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeSocketConnection.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeUtils.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeUtils.java index 4242a8d48..39194ff69 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeUtils.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeUtils.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NullValueEncoder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NullValueEncoder.java index f3d6a40fd..5b9a98e29 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NullValueEncoder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NullValueEncoder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2022, 2023, Oracle and/or its affiliates. + * Copyright (c) 2022, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NumberValueEncoder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NumberValueEncoder.java index 7737d595f..c18bfe1b8 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NumberValueEncoder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NumberValueEncoder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2022, 2023, Oracle and/or its affiliates. + * Copyright (c) 2022, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/OffsetDateTimeValueEncoder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/OffsetDateTimeValueEncoder.java index 257b0722c..4b0f84aad 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/OffsetDateTimeValueEncoder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/OffsetDateTimeValueEncoder.java @@ -1,30 +1,21 @@ /* * Copyright (c) 2022, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/OffsetTimeValueEncoder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/OffsetTimeValueEncoder.java index 9022fe86d..377215cec 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/OffsetTimeValueEncoder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/OffsetTimeValueEncoder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2022, 2023, Oracle and/or its affiliates. + * Copyright (c) 2022, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/PacketSplitter.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/PacketSplitter.java index 19edab9a5..10d01343d 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/PacketSplitter.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/PacketSplitter.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/ReaderValueEncoder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/ReaderValueEncoder.java index f0ce6b59f..54f1a16a6 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/ReaderValueEncoder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/ReaderValueEncoder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2022, 2023, Oracle and/or its affiliates. + * Copyright (c) 2022, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/ResultsetFactory.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/ResultsetFactory.java index 781e6ea6a..401194161 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/ResultsetFactory.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/ResultsetFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/ResultsetRowReader.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/ResultsetRowReader.java index 610931fdc..e7ef93dee 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/ResultsetRowReader.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/ResultsetRowReader.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/SimplePacketReader.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/SimplePacketReader.java index 26efed3cf..f9da802f6 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/SimplePacketReader.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/SimplePacketReader.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2021, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/SimplePacketSender.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/SimplePacketSender.java index 67d45b94d..209d08a6e 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/SimplePacketSender.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/SimplePacketSender.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/SqlDateValueEncoder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/SqlDateValueEncoder.java index 43fb86d41..23042050e 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/SqlDateValueEncoder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/SqlDateValueEncoder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2022, 2023, Oracle and/or its affiliates. + * Copyright (c) 2022, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/SqlTimeValueEncoder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/SqlTimeValueEncoder.java index a3e1aab33..0546dbb7d 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/SqlTimeValueEncoder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/SqlTimeValueEncoder.java @@ -1,30 +1,21 @@ /* * Copyright (c) 2022, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/SqlTimestampValueEncoder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/SqlTimestampValueEncoder.java index 8c84d84b8..2b02c8aff 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/SqlTimestampValueEncoder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/SqlTimestampValueEncoder.java @@ -1,30 +1,21 @@ /* * Copyright (c) 2022, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/StringValueEncoder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/StringValueEncoder.java index 8543ed204..b1d5e1283 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/StringValueEncoder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/StringValueEncoder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2022, 2023, Oracle and/or its affiliates. + * Copyright (c) 2022, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/TextResultsetReader.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/TextResultsetReader.java index 3023fe916..7453c4962 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/TextResultsetReader.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/TextResultsetReader.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/TextRowFactory.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/TextRowFactory.java index 2e5a41287..550250f88 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/TextRowFactory.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/TextRowFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/TimeTrackingPacketReader.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/TimeTrackingPacketReader.java index f063d9a8a..044966791 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/TimeTrackingPacketReader.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/TimeTrackingPacketReader.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2021, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/TimeTrackingPacketSender.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/TimeTrackingPacketSender.java index 362094248..6b3136bb2 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/TimeTrackingPacketSender.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/TimeTrackingPacketSender.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/TracingPacketReader.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/TracingPacketReader.java index 980148c82..b8ad3e396 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/TracingPacketReader.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/TracingPacketReader.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2021, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/TracingPacketSender.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/TracingPacketSender.java index 16df49591..915d61bbc 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/TracingPacketSender.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/TracingPacketSender.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/UtilCalendarValueEncoder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/UtilCalendarValueEncoder.java index 364ec7165..25f4ae4d0 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/UtilCalendarValueEncoder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/UtilCalendarValueEncoder.java @@ -1,30 +1,21 @@ /* * Copyright (c) 2022, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/UtilDateValueEncoder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/UtilDateValueEncoder.java index 9104af667..8ba737b4c 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/UtilDateValueEncoder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/UtilDateValueEncoder.java @@ -1,30 +1,21 @@ /* * Copyright (c) 2022, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/ZonedDateTimeValueEncoder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/ZonedDateTimeValueEncoder.java index 2d8fdf72e..c3cbdecbc 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/ZonedDateTimeValueEncoder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/ZonedDateTimeValueEncoder.java @@ -1,30 +1,21 @@ /* * Copyright (c) 2022, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/AuthenticationKerberosClient.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/AuthenticationKerberosClient.java index 2675d829c..4ab2f30c1 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/AuthenticationKerberosClient.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/AuthenticationKerberosClient.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2021, 2023, Oracle and/or its affiliates. + * Copyright (c) 2021, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a.authentication; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/AuthenticationLdapSaslClientPlugin.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/AuthenticationLdapSaslClientPlugin.java index 5834a54d1..dfd946a1e 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/AuthenticationLdapSaslClientPlugin.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/AuthenticationLdapSaslClientPlugin.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2020, 2023, Oracle and/or its affiliates. + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a.authentication; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/AuthenticationOciClient.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/AuthenticationOciClient.java index c52dd9a5b..a729c62cb 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/AuthenticationOciClient.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/AuthenticationOciClient.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2021, 2023, Oracle and/or its affiliates. + * Copyright (c) 2021, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a.authentication; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/AuthenticationWebAuthnClient.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/AuthenticationWebAuthnClient.java index 21d787563..d4e5fc2cd 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/AuthenticationWebAuthnClient.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/AuthenticationWebAuthnClient.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2023, Oracle and/or its affiliates. + * Copyright (c) 2023, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a.authentication; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/CachingSha2PasswordPlugin.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/CachingSha2PasswordPlugin.java index 25bc510b0..b11099bb8 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/CachingSha2PasswordPlugin.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/CachingSha2PasswordPlugin.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2017, 2023, Oracle and/or its affiliates. + * Copyright (c) 2017, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a.authentication; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/MysqlClearPasswordPlugin.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/MysqlClearPasswordPlugin.java index bac71174f..4fb930ed5 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/MysqlClearPasswordPlugin.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/MysqlClearPasswordPlugin.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2012, 2023, Oracle and/or its affiliates. + * Copyright (c) 2012, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a.authentication; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/MysqlNativePasswordPlugin.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/MysqlNativePasswordPlugin.java index 966906d99..d5cc3fd38 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/MysqlNativePasswordPlugin.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/MysqlNativePasswordPlugin.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2012, 2023, Oracle and/or its affiliates. + * Copyright (c) 2012, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a.authentication; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/MysqlOldPasswordPlugin.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/MysqlOldPasswordPlugin.java index 18971e745..5e3eabf67 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/MysqlOldPasswordPlugin.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/MysqlOldPasswordPlugin.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2012, 2023, Oracle and/or its affiliates. + * Copyright (c) 2012, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a.authentication; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/Sha256PasswordPlugin.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/Sha256PasswordPlugin.java index 98c8e770a..9b2bc469d 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/Sha256PasswordPlugin.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/authentication/Sha256PasswordPlugin.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2012, 2023, Oracle and/or its affiliates. + * Copyright (c) 2012, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a.authentication; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/AbstractBufferRow.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/AbstractBufferRow.java index 00ab16867..d8375b3bc 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/AbstractBufferRow.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/AbstractBufferRow.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a.result; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/AbstractResultsetRows.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/AbstractResultsetRows.java index ae5031410..b23cd9f3b 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/AbstractResultsetRows.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/AbstractResultsetRows.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a.result; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/BinaryBufferRow.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/BinaryBufferRow.java index d0000838a..d42430a3f 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/BinaryBufferRow.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/BinaryBufferRow.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a.result; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/ByteArrayRow.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/ByteArrayRow.java index 738a54ef4..d35a6b941 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/ByteArrayRow.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/ByteArrayRow.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2007, 2023, Oracle and/or its affiliates. + * Copyright (c) 2007, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a.result; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/NativeResultset.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/NativeResultset.java index 680c7e317..6048aa221 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/NativeResultset.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/NativeResultset.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a.result; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/OkPacket.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/OkPacket.java index 09a8b0313..f06a77d23 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/OkPacket.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/OkPacket.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a.result; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/ResultsetRowsCursor.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/ResultsetRowsCursor.java index 7cce60aa3..1320a9380 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/ResultsetRowsCursor.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/ResultsetRowsCursor.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a.result; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/ResultsetRowsStatic.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/ResultsetRowsStatic.java index 3ae6e5ec3..e0ef68479 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/ResultsetRowsStatic.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/ResultsetRowsStatic.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a.result; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/ResultsetRowsStreaming.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/ResultsetRowsStreaming.java index b8b02ea4b..6b7bcebd4 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/ResultsetRowsStreaming.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/ResultsetRowsStreaming.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a.result; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/TextBufferRow.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/TextBufferRow.java index c2a0a31a9..793f0a306 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/TextBufferRow.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/TextBufferRow.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2007, 2023, Oracle and/or its affiliates. + * Copyright (c) 2007, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a.result; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/CompressionAlgorithm.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/CompressionAlgorithm.java index a049b8d92..dbaa1cc3b 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/CompressionAlgorithm.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/CompressionAlgorithm.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2020, 2023, Oracle and/or its affiliates. + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/CompressionMode.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/CompressionMode.java index 9eb3ba58d..6caac2579 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/CompressionMode.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/CompressionMode.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2020, Oracle and/or its affiliates. + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/CompressionSplittedInputStream.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/CompressionSplittedInputStream.java index 8039678df..cf7a83852 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/CompressionSplittedInputStream.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/CompressionSplittedInputStream.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2020, 2023, Oracle and/or its affiliates. + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/CompressionSplittedOutputStream.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/CompressionSplittedOutputStream.java index 5630702ad..d45edc461 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/CompressionSplittedOutputStream.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/CompressionSplittedOutputStream.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2020, 2023, Oracle and/or its affiliates. + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/CompressorStreamsFactory.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/CompressorStreamsFactory.java index b8e069950..ca7c5d151 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/CompressorStreamsFactory.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/CompressorStreamsFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2020, 2023, Oracle and/or its affiliates. + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/ConfinedInputStream.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/ConfinedInputStream.java index 5e090a771..a30b60712 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/ConfinedInputStream.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/ConfinedInputStream.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2020, 2023, Oracle and/or its affiliates. + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/ContinuousInputStream.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/ContinuousInputStream.java index 97fd07984..dab2ef0db 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/ContinuousInputStream.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/ContinuousInputStream.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2021, 2023, Oracle and/or its affiliates. + * Copyright (c) 2021, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/ContinuousOutputStream.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/ContinuousOutputStream.java index 8c6f31318..7de12cd3f 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/ContinuousOutputStream.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/ContinuousOutputStream.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2020, 2023, Oracle and/or its affiliates. + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/ErrorToFutureCompletionHandler.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/ErrorToFutureCompletionHandler.java index e34e07aaa..52d27a7d7 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/ErrorToFutureCompletionHandler.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/ErrorToFutureCompletionHandler.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/FetchDoneEntity.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/FetchDoneEntity.java index c10a2e27e..d0fe070c6 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/FetchDoneEntity.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/FetchDoneEntity.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/FetchDoneEntityFactory.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/FetchDoneEntityFactory.java index d95c989d6..56ff19a3d 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/FetchDoneEntityFactory.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/FetchDoneEntityFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/FetchDoneMoreResults.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/FetchDoneMoreResults.java index 7e402f8f0..9fb816d88 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/FetchDoneMoreResults.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/FetchDoneMoreResults.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/FetchDoneMoreResultsFactory.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/FetchDoneMoreResultsFactory.java index c583252e2..1b0b29955 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/FetchDoneMoreResultsFactory.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/FetchDoneMoreResultsFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/FieldFactory.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/FieldFactory.java index 7c22d18d6..7b1753099 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/FieldFactory.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/FieldFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2018, 2023, Oracle and/or its affiliates. + * Copyright (c) 2018, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/MessageConstants.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/MessageConstants.java index 93502a3fe..063b6c6cd 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/MessageConstants.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/MessageConstants.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/Notice.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/Notice.java index daff7bc9c..cb599b512 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/Notice.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/Notice.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2018, 2023, Oracle and/or its affiliates. + * Copyright (c) 2018, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/NoticeFactory.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/NoticeFactory.java index 5a939585d..7b0bb8ffd 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/NoticeFactory.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/NoticeFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/Ok.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/Ok.java index 0ecbd118b..7f418e3f6 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/Ok.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/Ok.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2020, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/OkBuilder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/OkBuilder.java index eb06edb35..e7ead0ffc 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/OkBuilder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/OkBuilder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/OkFactory.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/OkFactory.java index 39f1d48b1..a30796f4f 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/OkFactory.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/OkFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/ResultMessageListener.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/ResultMessageListener.java index 437d669b3..a41be5da8 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/ResultMessageListener.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/ResultMessageListener.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/ReusableOutputStream.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/ReusableOutputStream.java index f912d4b87..041e60adb 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/ReusableOutputStream.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/ReusableOutputStream.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2020, 2023, Oracle and/or its affiliates. + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/StatementExecuteOk.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/StatementExecuteOk.java index 2277a7503..ca5476da9 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/StatementExecuteOk.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/StatementExecuteOk.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/StatementExecuteOkBuilder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/StatementExecuteOkBuilder.java index 395457dbf..e552ff210 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/StatementExecuteOkBuilder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/StatementExecuteOkBuilder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/StatementExecuteOkFactory.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/StatementExecuteOkFactory.java index 3061e8109..fa55355aa 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/StatementExecuteOkFactory.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/StatementExecuteOkFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/SyncFlushDeflaterOutputStream.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/SyncFlushDeflaterOutputStream.java index f960987ca..62475af50 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/SyncFlushDeflaterOutputStream.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/SyncFlushDeflaterOutputStream.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2020, 2023, Oracle and/or its affiliates. + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/SyncMessageReader.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/SyncMessageReader.java index 216aaba07..8fed735aa 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/SyncMessageReader.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/SyncMessageReader.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/SyncMessageSender.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/SyncMessageSender.java index ecda8a5ef..1fe13b33d 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/SyncMessageSender.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/SyncMessageSender.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XAuthenticationProvider.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XAuthenticationProvider.java index 0af197f65..31742fd2d 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XAuthenticationProvider.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XAuthenticationProvider.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2018, 2021, Oracle and/or its affiliates. + * Copyright (c) 2018, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XMessage.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XMessage.java index 9b0fc2ad9..54b523274 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XMessage.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XMessage.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2018, 2020, Oracle and/or its affiliates. + * Copyright (c) 2018, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XMessageBuilder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XMessageBuilder.java index 32ec36919..2da131be6 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XMessageBuilder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XMessageBuilder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XMessageHeader.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XMessageHeader.java index e4393875d..b32681951 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XMessageHeader.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XMessageHeader.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2018, 2023, Oracle and/or its affiliates. + * Copyright (c) 2018, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XProtocol.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XProtocol.java index 4c7f990b6..283660983 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XProtocol.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XProtocol.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XProtocolDecoder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XProtocolDecoder.java index 7b82b454b..43e70feb1 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XProtocolDecoder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XProtocolDecoder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XProtocolError.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XProtocolError.java index 08eae9850..fc6ae4906 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XProtocolError.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XProtocolError.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2018, 2023, Oracle and/or its affiliates. + * Copyright (c) 2018, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XProtocolRow.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XProtocolRow.java index 2dd17cd8d..a5c75449b 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XProtocolRow.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XProtocolRow.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XProtocolRowFactory.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XProtocolRowFactory.java index 727e9468d..7ae1866ef 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XProtocolRowFactory.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XProtocolRowFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XProtocolRowInputStream.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XProtocolRowInputStream.java index 0b782a3b9..28b7c9959 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XProtocolRowInputStream.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XProtocolRowInputStream.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XServerCapabilities.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XServerCapabilities.java index b0971c8b8..f18edbca1 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XServerCapabilities.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XServerCapabilities.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2018, 2023, Oracle and/or its affiliates. + * Copyright (c) 2018, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XServerSession.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XServerSession.java index ce543edb5..faace2959 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XServerSession.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XServerSession.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2018, 2023, Oracle and/or its affiliates. + * Copyright (c) 2018, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XpluginStatementCommand.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XpluginStatementCommand.java index 8365c780f..aca09284d 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XpluginStatementCommand.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XpluginStatementCommand.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties b/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties index 2e459926c..72b9a076e 100644 --- a/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties +++ b/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties @@ -1,29 +1,20 @@ # Copyright (c) 2007, 2024, Oracle and/or its affiliates. # -# This program is free software; you can redistribute it and/or modify it under -# the terms of the GNU General Public License, version 2.0, as published by the -# Free Software Foundation. +# This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by +# the Free Software Foundation. # -# This program is also distributed with certain software (including but not -# limited to OpenSSL) that is licensed under separate terms, as designated in a -# particular file or component or in included license documentation. The -# authors of MySQL hereby grant you an additional permission to link the -# program and your derivative works with the separately licensed software that -# they have included with MySQL. +# This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in +# included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the +# separately licensed software that they have either included with the program or referenced in the documentation. # -# Without limiting anything contained in the foregoing, this file, which is -# part of MySQL Connector/J, is also subject to the Universal FOSS Exception, -# version 1.0, a copy of which can be found at -# http://oss.oracle.com/licenses/universal-foss-exception. +# Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, +# version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. # -# This program is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -# FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, -# for more details. +# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. # -# You should have received a copy of the GNU General Public License along with -# this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # # Common diff --git a/src/main/resources/com/mysql/cj/TlsSettings.properties b/src/main/resources/com/mysql/cj/TlsSettings.properties index 96a855d63..e58c9fc8e 100644 --- a/src/main/resources/com/mysql/cj/TlsSettings.properties +++ b/src/main/resources/com/mysql/cj/TlsSettings.properties @@ -1,29 +1,20 @@ -# Copyright (c) 2019, 2021, 2023 Oracle and/or its affiliates. +# Copyright (c) 2019, 2024, 2023 Oracle and/or its affiliates. # -# This program is free software; you can redistribute it and/or modify it under -# the terms of the GNU General Public License, version 2.0, as published by the -# Free Software Foundation. +# This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by +# the Free Software Foundation. # -# This program is also distributed with certain software (including but not -# limited to OpenSSL) that is licensed under separate terms, as designated in a -# particular file or component or in included license documentation. The -# authors of MySQL hereby grant you an additional permission to link the -# program and your derivative works with the separately licensed software that -# they have included with MySQL. +# This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in +# included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the +# separately licensed software that they have either included with the program or referenced in the documentation. # -# Without limiting anything contained in the foregoing, this file, which is -# part of MySQL Connector/J, is also subject to the Universal FOSS Exception, -# version 1.0, a copy of which can be found at -# http://oss.oracle.com/licenses/universal-foss-exception. +# Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, +# version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. # -# This program is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -# FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, -# for more details. +# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. # -# You should have received a copy of the GNU General Public License along with -# this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # Mandatory TLS Ciphers TLSCiphers.Mandatory=\ diff --git a/src/main/resources/com/mysql/cj/util/TimeZoneMapping.properties b/src/main/resources/com/mysql/cj/util/TimeZoneMapping.properties index 675c2494b..a5d233de5 100644 --- a/src/main/resources/com/mysql/cj/util/TimeZoneMapping.properties +++ b/src/main/resources/com/mysql/cj/util/TimeZoneMapping.properties @@ -1,29 +1,20 @@ -# Copyright (c) 2014, 2020, Oracle and/or its affiliates. +# Copyright (c) 2014, 2024, Oracle and/or its affiliates. # -# This program is free software; you can redistribute it and/or modify it under -# the terms of the GNU General Public License, version 2.0, as published by the -# Free Software Foundation. +# This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by +# the Free Software Foundation. # -# This program is also distributed with certain software (including but not -# limited to OpenSSL) that is licensed under separate terms, as designated in a -# particular file or component or in included license documentation. The -# authors of MySQL hereby grant you an additional permission to link the -# program and your derivative works with the separately licensed software that -# they have included with MySQL. +# This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in +# included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the +# separately licensed software that they have either included with the program or referenced in the documentation. # -# Without limiting anything contained in the foregoing, this file, which is -# part of MySQL Connector/J, is also subject to the Universal FOSS Exception, -# version 1.0, a copy of which can be found at -# http://oss.oracle.com/licenses/universal-foss-exception. +# Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, +# version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. # -# This program is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -# FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, -# for more details. +# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. # -# You should have received a copy of the GNU General Public License along with -# this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +# You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #Windows Zones #Mon Apr 24 23:22:45 WEST 2017 diff --git a/src/main/user-api/java/com/mysql/cj/jdbc/ClientInfoProvider.java b/src/main/user-api/java/com/mysql/cj/jdbc/ClientInfoProvider.java index 01459bb5f..2a154de85 100644 --- a/src/main/user-api/java/com/mysql/cj/jdbc/ClientInfoProvider.java +++ b/src/main/user-api/java/com/mysql/cj/jdbc/ClientInfoProvider.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2007, 2023, Oracle and/or its affiliates. + * Copyright (c) 2007, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-api/java/com/mysql/cj/jdbc/JdbcConnection.java b/src/main/user-api/java/com/mysql/cj/jdbc/JdbcConnection.java index e32e7165b..869a21234 100644 --- a/src/main/user-api/java/com/mysql/cj/jdbc/JdbcConnection.java +++ b/src/main/user-api/java/com/mysql/cj/jdbc/JdbcConnection.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2007, 2023, Oracle and/or its affiliates. + * Copyright (c) 2007, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-api/java/com/mysql/cj/jdbc/JdbcPreparedStatement.java b/src/main/user-api/java/com/mysql/cj/jdbc/JdbcPreparedStatement.java index ace663f24..18157ef1c 100644 --- a/src/main/user-api/java/com/mysql/cj/jdbc/JdbcPreparedStatement.java +++ b/src/main/user-api/java/com/mysql/cj/jdbc/JdbcPreparedStatement.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2018, 2023, Oracle and/or its affiliates. + * Copyright (c) 2018, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-api/java/com/mysql/cj/jdbc/JdbcPropertySet.java b/src/main/user-api/java/com/mysql/cj/jdbc/JdbcPropertySet.java index 187616948..c002ae552 100644 --- a/src/main/user-api/java/com/mysql/cj/jdbc/JdbcPropertySet.java +++ b/src/main/user-api/java/com/mysql/cj/jdbc/JdbcPropertySet.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-api/java/com/mysql/cj/jdbc/JdbcStatement.java b/src/main/user-api/java/com/mysql/cj/jdbc/JdbcStatement.java index 97df83544..9b9ec08d7 100644 --- a/src/main/user-api/java/com/mysql/cj/jdbc/JdbcStatement.java +++ b/src/main/user-api/java/com/mysql/cj/jdbc/JdbcStatement.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2007, 2023, Oracle and/or its affiliates. + * Copyright (c) 2007, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-api/java/com/mysql/cj/jdbc/ParameterBindings.java b/src/main/user-api/java/com/mysql/cj/jdbc/ParameterBindings.java index 249df1fa1..b36307e6e 100644 --- a/src/main/user-api/java/com/mysql/cj/jdbc/ParameterBindings.java +++ b/src/main/user-api/java/com/mysql/cj/jdbc/ParameterBindings.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2007, 2023, Oracle and/or its affiliates. + * Copyright (c) 2007, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-api/java/com/mysql/cj/jdbc/ha/BalanceStrategy.java b/src/main/user-api/java/com/mysql/cj/jdbc/ha/BalanceStrategy.java index 9143cc911..b23ed3cc3 100644 --- a/src/main/user-api/java/com/mysql/cj/jdbc/ha/BalanceStrategy.java +++ b/src/main/user-api/java/com/mysql/cj/jdbc/ha/BalanceStrategy.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2007, 2023, Oracle and/or its affiliates. + * Copyright (c) 2007, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.ha; diff --git a/src/main/user-api/java/com/mysql/cj/jdbc/ha/LoadBalanceExceptionChecker.java b/src/main/user-api/java/com/mysql/cj/jdbc/ha/LoadBalanceExceptionChecker.java index 9cbfd2896..1c403699a 100644 --- a/src/main/user-api/java/com/mysql/cj/jdbc/ha/LoadBalanceExceptionChecker.java +++ b/src/main/user-api/java/com/mysql/cj/jdbc/ha/LoadBalanceExceptionChecker.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2010, 2023, Oracle and/or its affiliates. + * Copyright (c) 2010, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.ha; diff --git a/src/main/user-api/java/com/mysql/cj/jdbc/ha/LoadBalancedConnection.java b/src/main/user-api/java/com/mysql/cj/jdbc/ha/LoadBalancedConnection.java index 35da5d2d5..4772a248b 100644 --- a/src/main/user-api/java/com/mysql/cj/jdbc/ha/LoadBalancedConnection.java +++ b/src/main/user-api/java/com/mysql/cj/jdbc/ha/LoadBalancedConnection.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2013, 2020, Oracle and/or its affiliates. + * Copyright (c) 2013, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.ha; diff --git a/src/main/user-api/java/com/mysql/cj/jdbc/ha/ReplicationConnection.java b/src/main/user-api/java/com/mysql/cj/jdbc/ha/ReplicationConnection.java index e8ff42966..d2c900d7d 100644 --- a/src/main/user-api/java/com/mysql/cj/jdbc/ha/ReplicationConnection.java +++ b/src/main/user-api/java/com/mysql/cj/jdbc/ha/ReplicationConnection.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.ha; diff --git a/src/main/user-api/java/com/mysql/cj/jdbc/interceptors/ConnectionLifecycleInterceptor.java b/src/main/user-api/java/com/mysql/cj/jdbc/interceptors/ConnectionLifecycleInterceptor.java index 666b39d0b..0d19dfb7f 100644 --- a/src/main/user-api/java/com/mysql/cj/jdbc/interceptors/ConnectionLifecycleInterceptor.java +++ b/src/main/user-api/java/com/mysql/cj/jdbc/interceptors/ConnectionLifecycleInterceptor.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2007, 2023, Oracle and/or its affiliates. + * Copyright (c) 2007, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.interceptors; diff --git a/src/main/user-api/java/com/mysql/cj/jdbc/result/CachedResultSetMetaData.java b/src/main/user-api/java/com/mysql/cj/jdbc/result/CachedResultSetMetaData.java index 91d935393..15fdbcb55 100644 --- a/src/main/user-api/java/com/mysql/cj/jdbc/result/CachedResultSetMetaData.java +++ b/src/main/user-api/java/com/mysql/cj/jdbc/result/CachedResultSetMetaData.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2018, 2023, Oracle and/or its affiliates. + * Copyright (c) 2018, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.result; diff --git a/src/main/user-api/java/com/mysql/cj/jdbc/result/ResultSetInternalMethods.java b/src/main/user-api/java/com/mysql/cj/jdbc/result/ResultSetInternalMethods.java index 4dcaad620..ca3685129 100644 --- a/src/main/user-api/java/com/mysql/cj/jdbc/result/ResultSetInternalMethods.java +++ b/src/main/user-api/java/com/mysql/cj/jdbc/result/ResultSetInternalMethods.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2007, 2023, Oracle and/or its affiliates. + * Copyright (c) 2007, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.result; diff --git a/src/main/user-api/java/com/mysql/cj/xdevapi/AddResult.java b/src/main/user-api/java/com/mysql/cj/xdevapi/AddResult.java index 2f9a45ef7..5d9f62a23 100644 --- a/src/main/user-api/java/com/mysql/cj/xdevapi/AddResult.java +++ b/src/main/user-api/java/com/mysql/cj/xdevapi/AddResult.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2017, 2023, Oracle and/or its affiliates. + * Copyright (c) 2017, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-api/java/com/mysql/cj/xdevapi/AddStatement.java b/src/main/user-api/java/com/mysql/cj/xdevapi/AddStatement.java index c30893f7a..28946986e 100644 --- a/src/main/user-api/java/com/mysql/cj/xdevapi/AddStatement.java +++ b/src/main/user-api/java/com/mysql/cj/xdevapi/AddStatement.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-api/java/com/mysql/cj/xdevapi/Client.java b/src/main/user-api/java/com/mysql/cj/xdevapi/Client.java index 643b7afa5..b0e530804 100644 --- a/src/main/user-api/java/com/mysql/cj/xdevapi/Client.java +++ b/src/main/user-api/java/com/mysql/cj/xdevapi/Client.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2018, 2023, Oracle and/or its affiliates. + * Copyright (c) 2018, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-api/java/com/mysql/cj/xdevapi/ClientFactory.java b/src/main/user-api/java/com/mysql/cj/xdevapi/ClientFactory.java index 2b8a7b873..1ca1c6e11 100644 --- a/src/main/user-api/java/com/mysql/cj/xdevapi/ClientFactory.java +++ b/src/main/user-api/java/com/mysql/cj/xdevapi/ClientFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2018, 2023, Oracle and/or its affiliates. + * Copyright (c) 2018, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-api/java/com/mysql/cj/xdevapi/Collection.java b/src/main/user-api/java/com/mysql/cj/xdevapi/Collection.java index bae8a4e90..6b48c258e 100644 --- a/src/main/user-api/java/com/mysql/cj/xdevapi/Collection.java +++ b/src/main/user-api/java/com/mysql/cj/xdevapi/Collection.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-api/java/com/mysql/cj/xdevapi/Column.java b/src/main/user-api/java/com/mysql/cj/xdevapi/Column.java index 73cdaeb78..9ae63d262 100644 --- a/src/main/user-api/java/com/mysql/cj/xdevapi/Column.java +++ b/src/main/user-api/java/com/mysql/cj/xdevapi/Column.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-api/java/com/mysql/cj/xdevapi/DatabaseObject.java b/src/main/user-api/java/com/mysql/cj/xdevapi/DatabaseObject.java index 29db0dc0d..228f628d6 100644 --- a/src/main/user-api/java/com/mysql/cj/xdevapi/DatabaseObject.java +++ b/src/main/user-api/java/com/mysql/cj/xdevapi/DatabaseObject.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-api/java/com/mysql/cj/xdevapi/DbDoc.java b/src/main/user-api/java/com/mysql/cj/xdevapi/DbDoc.java index 2e8d21dd5..c6fbfe1c2 100644 --- a/src/main/user-api/java/com/mysql/cj/xdevapi/DbDoc.java +++ b/src/main/user-api/java/com/mysql/cj/xdevapi/DbDoc.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2018, 2023, Oracle and/or its affiliates. + * Copyright (c) 2018, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-api/java/com/mysql/cj/xdevapi/DeleteStatement.java b/src/main/user-api/java/com/mysql/cj/xdevapi/DeleteStatement.java index a5f1fe374..51e0228ba 100644 --- a/src/main/user-api/java/com/mysql/cj/xdevapi/DeleteStatement.java +++ b/src/main/user-api/java/com/mysql/cj/xdevapi/DeleteStatement.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-api/java/com/mysql/cj/xdevapi/DocResult.java b/src/main/user-api/java/com/mysql/cj/xdevapi/DocResult.java index 810814cdc..0a8a6f8d5 100644 --- a/src/main/user-api/java/com/mysql/cj/xdevapi/DocResult.java +++ b/src/main/user-api/java/com/mysql/cj/xdevapi/DocResult.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2020, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-api/java/com/mysql/cj/xdevapi/Expression.java b/src/main/user-api/java/com/mysql/cj/xdevapi/Expression.java index 4cc9d897d..ca536fb7d 100644 --- a/src/main/user-api/java/com/mysql/cj/xdevapi/Expression.java +++ b/src/main/user-api/java/com/mysql/cj/xdevapi/Expression.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-api/java/com/mysql/cj/xdevapi/FetchResult.java b/src/main/user-api/java/com/mysql/cj/xdevapi/FetchResult.java index 82b16ab60..536792aa0 100644 --- a/src/main/user-api/java/com/mysql/cj/xdevapi/FetchResult.java +++ b/src/main/user-api/java/com/mysql/cj/xdevapi/FetchResult.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-api/java/com/mysql/cj/xdevapi/FilterParams.java b/src/main/user-api/java/com/mysql/cj/xdevapi/FilterParams.java index 9e43153cc..6cf6c5b65 100644 --- a/src/main/user-api/java/com/mysql/cj/xdevapi/FilterParams.java +++ b/src/main/user-api/java/com/mysql/cj/xdevapi/FilterParams.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2018, 2023, Oracle and/or its affiliates. + * Copyright (c) 2018, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-api/java/com/mysql/cj/xdevapi/FindStatement.java b/src/main/user-api/java/com/mysql/cj/xdevapi/FindStatement.java index 648547ca4..8080dbf73 100644 --- a/src/main/user-api/java/com/mysql/cj/xdevapi/FindStatement.java +++ b/src/main/user-api/java/com/mysql/cj/xdevapi/FindStatement.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-api/java/com/mysql/cj/xdevapi/InsertResult.java b/src/main/user-api/java/com/mysql/cj/xdevapi/InsertResult.java index ba21a42ac..12ebdef8a 100644 --- a/src/main/user-api/java/com/mysql/cj/xdevapi/InsertResult.java +++ b/src/main/user-api/java/com/mysql/cj/xdevapi/InsertResult.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2017, 2023, Oracle and/or its affiliates. + * Copyright (c) 2017, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-api/java/com/mysql/cj/xdevapi/InsertStatement.java b/src/main/user-api/java/com/mysql/cj/xdevapi/InsertStatement.java index 58d815fbf..f15253116 100644 --- a/src/main/user-api/java/com/mysql/cj/xdevapi/InsertStatement.java +++ b/src/main/user-api/java/com/mysql/cj/xdevapi/InsertStatement.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-api/java/com/mysql/cj/xdevapi/JsonValue.java b/src/main/user-api/java/com/mysql/cj/xdevapi/JsonValue.java index c2a675699..c694d3da2 100644 --- a/src/main/user-api/java/com/mysql/cj/xdevapi/JsonValue.java +++ b/src/main/user-api/java/com/mysql/cj/xdevapi/JsonValue.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-api/java/com/mysql/cj/xdevapi/ModifyStatement.java b/src/main/user-api/java/com/mysql/cj/xdevapi/ModifyStatement.java index 0ce046f08..4d5234411 100644 --- a/src/main/user-api/java/com/mysql/cj/xdevapi/ModifyStatement.java +++ b/src/main/user-api/java/com/mysql/cj/xdevapi/ModifyStatement.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-api/java/com/mysql/cj/xdevapi/RemoveStatement.java b/src/main/user-api/java/com/mysql/cj/xdevapi/RemoveStatement.java index 2dccef54c..bbeacc2aa 100644 --- a/src/main/user-api/java/com/mysql/cj/xdevapi/RemoveStatement.java +++ b/src/main/user-api/java/com/mysql/cj/xdevapi/RemoveStatement.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-api/java/com/mysql/cj/xdevapi/Result.java b/src/main/user-api/java/com/mysql/cj/xdevapi/Result.java index b2f912685..9ec99a012 100644 --- a/src/main/user-api/java/com/mysql/cj/xdevapi/Result.java +++ b/src/main/user-api/java/com/mysql/cj/xdevapi/Result.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-api/java/com/mysql/cj/xdevapi/Row.java b/src/main/user-api/java/com/mysql/cj/xdevapi/Row.java index 311a58b6e..a6cd12530 100644 --- a/src/main/user-api/java/com/mysql/cj/xdevapi/Row.java +++ b/src/main/user-api/java/com/mysql/cj/xdevapi/Row.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-api/java/com/mysql/cj/xdevapi/RowResult.java b/src/main/user-api/java/com/mysql/cj/xdevapi/RowResult.java index 012f1f1bb..a394c0cda 100644 --- a/src/main/user-api/java/com/mysql/cj/xdevapi/RowResult.java +++ b/src/main/user-api/java/com/mysql/cj/xdevapi/RowResult.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-api/java/com/mysql/cj/xdevapi/Schema.java b/src/main/user-api/java/com/mysql/cj/xdevapi/Schema.java index d45824ba7..4fbb8c397 100644 --- a/src/main/user-api/java/com/mysql/cj/xdevapi/Schema.java +++ b/src/main/user-api/java/com/mysql/cj/xdevapi/Schema.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-api/java/com/mysql/cj/xdevapi/SelectStatement.java b/src/main/user-api/java/com/mysql/cj/xdevapi/SelectStatement.java index 91266936a..632eb7572 100644 --- a/src/main/user-api/java/com/mysql/cj/xdevapi/SelectStatement.java +++ b/src/main/user-api/java/com/mysql/cj/xdevapi/SelectStatement.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-api/java/com/mysql/cj/xdevapi/Session.java b/src/main/user-api/java/com/mysql/cj/xdevapi/Session.java index cbd2b289a..1b7b626ef 100644 --- a/src/main/user-api/java/com/mysql/cj/xdevapi/Session.java +++ b/src/main/user-api/java/com/mysql/cj/xdevapi/Session.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-api/java/com/mysql/cj/xdevapi/SessionFactory.java b/src/main/user-api/java/com/mysql/cj/xdevapi/SessionFactory.java index 69beb426f..17f1f76aa 100644 --- a/src/main/user-api/java/com/mysql/cj/xdevapi/SessionFactory.java +++ b/src/main/user-api/java/com/mysql/cj/xdevapi/SessionFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-api/java/com/mysql/cj/xdevapi/SqlResult.java b/src/main/user-api/java/com/mysql/cj/xdevapi/SqlResult.java index 8e770ea9a..63e2e91a3 100644 --- a/src/main/user-api/java/com/mysql/cj/xdevapi/SqlResult.java +++ b/src/main/user-api/java/com/mysql/cj/xdevapi/SqlResult.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-api/java/com/mysql/cj/xdevapi/SqlStatement.java b/src/main/user-api/java/com/mysql/cj/xdevapi/SqlStatement.java index 438588455..c51b04f30 100644 --- a/src/main/user-api/java/com/mysql/cj/xdevapi/SqlStatement.java +++ b/src/main/user-api/java/com/mysql/cj/xdevapi/SqlStatement.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2020, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-api/java/com/mysql/cj/xdevapi/Statement.java b/src/main/user-api/java/com/mysql/cj/xdevapi/Statement.java index 8dd609903..aa7ef2f0a 100644 --- a/src/main/user-api/java/com/mysql/cj/xdevapi/Statement.java +++ b/src/main/user-api/java/com/mysql/cj/xdevapi/Statement.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-api/java/com/mysql/cj/xdevapi/Table.java b/src/main/user-api/java/com/mysql/cj/xdevapi/Table.java index 589af0311..0fe0de545 100644 --- a/src/main/user-api/java/com/mysql/cj/xdevapi/Table.java +++ b/src/main/user-api/java/com/mysql/cj/xdevapi/Table.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-api/java/com/mysql/cj/xdevapi/Type.java b/src/main/user-api/java/com/mysql/cj/xdevapi/Type.java index c06123b50..11831899c 100644 --- a/src/main/user-api/java/com/mysql/cj/xdevapi/Type.java +++ b/src/main/user-api/java/com/mysql/cj/xdevapi/Type.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2020, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-api/java/com/mysql/cj/xdevapi/UpdateStatement.java b/src/main/user-api/java/com/mysql/cj/xdevapi/UpdateStatement.java index 24266e88c..a033d0f87 100644 --- a/src/main/user-api/java/com/mysql/cj/xdevapi/UpdateStatement.java +++ b/src/main/user-api/java/com/mysql/cj/xdevapi/UpdateStatement.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-api/java/com/mysql/cj/xdevapi/UpdateType.java b/src/main/user-api/java/com/mysql/cj/xdevapi/UpdateType.java index be056b4a5..2698b9070 100644 --- a/src/main/user-api/java/com/mysql/cj/xdevapi/UpdateType.java +++ b/src/main/user-api/java/com/mysql/cj/xdevapi/UpdateType.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2020, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-api/java/com/mysql/cj/xdevapi/Warning.java b/src/main/user-api/java/com/mysql/cj/xdevapi/Warning.java index 216e20aed..cb1de1990 100644 --- a/src/main/user-api/java/com/mysql/cj/xdevapi/Warning.java +++ b/src/main/user-api/java/com/mysql/cj/xdevapi/Warning.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2020, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-api/java/com/mysql/cj/xdevapi/XDevAPIError.java b/src/main/user-api/java/com/mysql/cj/xdevapi/XDevAPIError.java index d09a40588..7e0e317e6 100644 --- a/src/main/user-api/java/com/mysql/cj/xdevapi/XDevAPIError.java +++ b/src/main/user-api/java/com/mysql/cj/xdevapi/XDevAPIError.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-api/java/com/mysql/cj/xdevapi/package-info.java b/src/main/user-api/java/com/mysql/cj/xdevapi/package-info.java index 058143f48..28728a45e 100644 --- a/src/main/user-api/java/com/mysql/cj/xdevapi/package-info.java +++ b/src/main/user-api/java/com/mysql/cj/xdevapi/package-info.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2020, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ /** diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/AbandonedConnectionCleanupThread.java b/src/main/user-impl/java/com/mysql/cj/jdbc/AbandonedConnectionCleanupThread.java index 125c0c1e7..3eb8e863b 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/AbandonedConnectionCleanupThread.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/AbandonedConnectionCleanupThread.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2013, 2023, Oracle and/or its affiliates. + * Copyright (c) 2013, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/Blob.java b/src/main/user-impl/java/com/mysql/cj/jdbc/Blob.java index daa5ac26b..d7d899086 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/Blob.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/Blob.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/BlobFromLocator.java b/src/main/user-impl/java/com/mysql/cj/jdbc/BlobFromLocator.java index 47fe30b9d..36b30fc3e 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/BlobFromLocator.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/BlobFromLocator.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/CallableStatement.java b/src/main/user-impl/java/com/mysql/cj/jdbc/CallableStatement.java index 0450b6358..4ac3693f7 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/CallableStatement.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/CallableStatement.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/CallableStatementWrapper.java b/src/main/user-impl/java/com/mysql/cj/jdbc/CallableStatementWrapper.java index cff4a8560..97bd8e7ea 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/CallableStatementWrapper.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/CallableStatementWrapper.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/ClientInfoProviderSP.java b/src/main/user-impl/java/com/mysql/cj/jdbc/ClientInfoProviderSP.java index 71f0e8b31..c59aaf69d 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/ClientInfoProviderSP.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/ClientInfoProviderSP.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/ClientPreparedStatement.java b/src/main/user-impl/java/com/mysql/cj/jdbc/ClientPreparedStatement.java index e7b85133f..f9295230c 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/ClientPreparedStatement.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/ClientPreparedStatement.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/Clob.java b/src/main/user-impl/java/com/mysql/cj/jdbc/Clob.java index 6830a74cb..a1988f237 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/Clob.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/Clob.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/CommentClientInfoProvider.java b/src/main/user-impl/java/com/mysql/cj/jdbc/CommentClientInfoProvider.java index 9448d5fad..fe3c2b8f8 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/CommentClientInfoProvider.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/CommentClientInfoProvider.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/ConnectionGroup.java b/src/main/user-impl/java/com/mysql/cj/jdbc/ConnectionGroup.java index fe3b8fe85..9dab3c8d3 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/ConnectionGroup.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/ConnectionGroup.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2010, 2023, Oracle and/or its affiliates. + * Copyright (c) 2010, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/ConnectionGroupManager.java b/src/main/user-impl/java/com/mysql/cj/jdbc/ConnectionGroupManager.java index 34232e272..f32b737d2 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/ConnectionGroupManager.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/ConnectionGroupManager.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2010, 2023, Oracle and/or its affiliates. + * Copyright (c) 2010, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/ConnectionImpl.java b/src/main/user-impl/java/com/mysql/cj/jdbc/ConnectionImpl.java index 06ef01ffc..128cd984a 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/ConnectionImpl.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/ConnectionImpl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/ConnectionWrapper.java b/src/main/user-impl/java/com/mysql/cj/jdbc/ConnectionWrapper.java index 8cbc0bcc8..69dcab9b2 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/ConnectionWrapper.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/ConnectionWrapper.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/DatabaseMetaData.java b/src/main/user-impl/java/com/mysql/cj/jdbc/DatabaseMetaData.java index abcb59552..4e7bac5ab 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/DatabaseMetaData.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/DatabaseMetaData.java @@ -1,30 +1,21 @@ /* * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/DatabaseMetaDataUsingInfoSchema.java b/src/main/user-impl/java/com/mysql/cj/jdbc/DatabaseMetaDataUsingInfoSchema.java index 1020bf461..b15d43b34 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/DatabaseMetaDataUsingInfoSchema.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/DatabaseMetaDataUsingInfoSchema.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2005, 2023, Oracle and/or its affiliates. + * Copyright (c) 2005, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/Driver.java b/src/main/user-impl/java/com/mysql/cj/jdbc/Driver.java index 5f3cc8a64..85f065ce7 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/Driver.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/Driver.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/EscapeProcessor.java b/src/main/user-impl/java/com/mysql/cj/jdbc/EscapeProcessor.java index b0a5237f2..eb89c4aca 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/EscapeProcessor.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/EscapeProcessor.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/EscapeProcessorResult.java b/src/main/user-impl/java/com/mysql/cj/jdbc/EscapeProcessorResult.java index 540ca63d3..e691ba9d4 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/EscapeProcessorResult.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/EscapeProcessorResult.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/IterateBlock.java b/src/main/user-impl/java/com/mysql/cj/jdbc/IterateBlock.java index 9f1d770c7..ec4a188f1 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/IterateBlock.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/IterateBlock.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2007, 2023, Oracle and/or its affiliates. + * Copyright (c) 2007, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/JdbcPropertySetImpl.java b/src/main/user-impl/java/com/mysql/cj/jdbc/JdbcPropertySetImpl.java index 0c8666e1f..e8236637f 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/JdbcPropertySetImpl.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/JdbcPropertySetImpl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlConnectionPoolDataSource.java b/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlConnectionPoolDataSource.java index daf555add..c72eae857 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlConnectionPoolDataSource.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlConnectionPoolDataSource.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlDataSource.java b/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlDataSource.java index a9df39e5a..454f01070 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlDataSource.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlDataSource.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlDataSourceFactory.java b/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlDataSourceFactory.java index 2aeef6853..c4fa5a485 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlDataSourceFactory.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlDataSourceFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlParameterMetadata.java b/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlParameterMetadata.java index 7af558cef..a8b223d35 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlParameterMetadata.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlParameterMetadata.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2005, 2023, Oracle and/or its affiliates. + * Copyright (c) 2005, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlPooledConnection.java b/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlPooledConnection.java index b1b3746f6..32c786573 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlPooledConnection.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlPooledConnection.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlSQLXML.java b/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlSQLXML.java index e58f066bb..b5ef13e5a 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlSQLXML.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlSQLXML.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlSavepoint.java b/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlSavepoint.java index 1591641d9..1ba5d9861 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlSavepoint.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlSavepoint.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlXAConnection.java b/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlXAConnection.java index 4e1351695..c20d5f89c 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlXAConnection.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlXAConnection.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2005, 2023, Oracle and/or its affiliates. + * Copyright (c) 2005, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlXADataSource.java b/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlXADataSource.java index 62323180e..d8b06de32 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlXADataSource.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlXADataSource.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2005, 2023, Oracle and/or its affiliates. + * Copyright (c) 2005, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlXAException.java b/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlXAException.java index 28c45c317..c2b7e7c29 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlXAException.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlXAException.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2005, 2023, Oracle and/or its affiliates. + * Copyright (c) 2005, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlXid.java b/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlXid.java index cdcc5b775..424b64f78 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlXid.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/MysqlXid.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2005, 2023, Oracle and/or its affiliates. + * Copyright (c) 2005, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/NClob.java b/src/main/user-impl/java/com/mysql/cj/jdbc/NClob.java index 8fffb3515..43d0d823b 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/NClob.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/NClob.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/NonRegisteringDriver.java b/src/main/user-impl/java/com/mysql/cj/jdbc/NonRegisteringDriver.java index f9a1a0123..4fc3475e2 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/NonRegisteringDriver.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/NonRegisteringDriver.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/ParameterBindingsImpl.java b/src/main/user-impl/java/com/mysql/cj/jdbc/ParameterBindingsImpl.java index 2613160c5..ba384cb84 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/ParameterBindingsImpl.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/ParameterBindingsImpl.java @@ -1,30 +1,21 @@ /* * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/PreparedStatementWrapper.java b/src/main/user-impl/java/com/mysql/cj/jdbc/PreparedStatementWrapper.java index 724936763..6551e6f3b 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/PreparedStatementWrapper.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/PreparedStatementWrapper.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/ServerPreparedStatement.java b/src/main/user-impl/java/com/mysql/cj/jdbc/ServerPreparedStatement.java index 29f4983bb..a2c405a70 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/ServerPreparedStatement.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/ServerPreparedStatement.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/StatementImpl.java b/src/main/user-impl/java/com/mysql/cj/jdbc/StatementImpl.java index 625d9b49e..ef92b41c9 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/StatementImpl.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/StatementImpl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/StatementWrapper.java b/src/main/user-impl/java/com/mysql/cj/jdbc/StatementWrapper.java index 662f52bcb..353f7e599 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/StatementWrapper.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/StatementWrapper.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/SuspendableXAConnection.java b/src/main/user-impl/java/com/mysql/cj/jdbc/SuspendableXAConnection.java index fd24b8fb5..94abbac4e 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/SuspendableXAConnection.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/SuspendableXAConnection.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/WrapperBase.java b/src/main/user-impl/java/com/mysql/cj/jdbc/WrapperBase.java index 6106a6292..98fd78e3a 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/WrapperBase.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/WrapperBase.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/admin/MiniAdmin.java b/src/main/user-impl/java/com/mysql/cj/jdbc/admin/MiniAdmin.java index 8ec68615c..128008c26 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/admin/MiniAdmin.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/admin/MiniAdmin.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.admin; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/CommunicationsException.java b/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/CommunicationsException.java index 1dce500f1..b5fe73564 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/CommunicationsException.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/CommunicationsException.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.exceptions; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/ConnectionFeatureNotAvailableException.java b/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/ConnectionFeatureNotAvailableException.java index 5e5e9b1d5..24cbc171a 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/ConnectionFeatureNotAvailableException.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/ConnectionFeatureNotAvailableException.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.exceptions; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/MySQLQueryInterruptedException.java b/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/MySQLQueryInterruptedException.java index 035b99515..d00c475ac 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/MySQLQueryInterruptedException.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/MySQLQueryInterruptedException.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2020, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.exceptions; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/MySQLStatementCancelledException.java b/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/MySQLStatementCancelledException.java index d47b73485..a7d4b7d49 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/MySQLStatementCancelledException.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/MySQLStatementCancelledException.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2005, 2023, Oracle and/or its affiliates. + * Copyright (c) 2005, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.exceptions; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/MySQLTimeoutException.java b/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/MySQLTimeoutException.java index cff9cc279..cc4c8b728 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/MySQLTimeoutException.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/MySQLTimeoutException.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2005, 2023, Oracle and/or its affiliates. + * Copyright (c) 2005, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.exceptions; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/MySQLTransactionRollbackException.java b/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/MySQLTransactionRollbackException.java index 60c092177..eb996356a 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/MySQLTransactionRollbackException.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/MySQLTransactionRollbackException.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2005, 2023, Oracle and/or its affiliates. + * Copyright (c) 2005, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.exceptions; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/MysqlDataTruncation.java b/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/MysqlDataTruncation.java index 99300387f..b27b5ad47 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/MysqlDataTruncation.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/MysqlDataTruncation.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.exceptions; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/NotUpdatable.java b/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/NotUpdatable.java index b522dff75..e980f2b56 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/NotUpdatable.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/NotUpdatable.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.exceptions; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/OperationNotSupportedException.java b/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/OperationNotSupportedException.java index 412618034..d1dae3655 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/OperationNotSupportedException.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/OperationNotSupportedException.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2004, 2023, Oracle and/or its affiliates. + * Copyright (c) 2004, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.exceptions; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/PacketTooBigException.java b/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/PacketTooBigException.java index fe7a66ecc..53402c40a 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/PacketTooBigException.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/PacketTooBigException.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.exceptions; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/SQLError.java b/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/SQLError.java index f1976cab3..12bd8d6e3 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/SQLError.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/SQLError.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.exceptions; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/SQLExceptionsMapping.java b/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/SQLExceptionsMapping.java index 556eab43a..0dca5768e 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/SQLExceptionsMapping.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/exceptions/SQLExceptionsMapping.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.exceptions; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/ha/BestResponseTimeBalanceStrategy.java b/src/main/user-impl/java/com/mysql/cj/jdbc/ha/BestResponseTimeBalanceStrategy.java index 0e6516300..d24909164 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/ha/BestResponseTimeBalanceStrategy.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/ha/BestResponseTimeBalanceStrategy.java @@ -1,30 +1,21 @@ /* * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.ha; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/ha/FailoverConnectionProxy.java b/src/main/user-impl/java/com/mysql/cj/jdbc/ha/FailoverConnectionProxy.java index de2d6d320..2e1edce84 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/ha/FailoverConnectionProxy.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/ha/FailoverConnectionProxy.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2010, 2023, Oracle and/or its affiliates. + * Copyright (c) 2010, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.ha; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/ha/LoadBalancedAutoCommitInterceptor.java b/src/main/user-impl/java/com/mysql/cj/jdbc/ha/LoadBalancedAutoCommitInterceptor.java index 699abe2de..aa3ed80ae 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/ha/LoadBalancedAutoCommitInterceptor.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/ha/LoadBalancedAutoCommitInterceptor.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2010, 2023, Oracle and/or its affiliates. + * Copyright (c) 2010, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.ha; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/ha/LoadBalancedConnectionProxy.java b/src/main/user-impl/java/com/mysql/cj/jdbc/ha/LoadBalancedConnectionProxy.java index 443854490..aa5c2397a 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/ha/LoadBalancedConnectionProxy.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/ha/LoadBalancedConnectionProxy.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2007, 2023, Oracle and/or its affiliates. + * Copyright (c) 2007, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.ha; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/ha/LoadBalancedMySQLConnection.java b/src/main/user-impl/java/com/mysql/cj/jdbc/ha/LoadBalancedMySQLConnection.java index c41ed8f04..133c8eace 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/ha/LoadBalancedMySQLConnection.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/ha/LoadBalancedMySQLConnection.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2007, 2023, Oracle and/or its affiliates. + * Copyright (c) 2007, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.ha; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/ha/MultiHostConnectionProxy.java b/src/main/user-impl/java/com/mysql/cj/jdbc/ha/MultiHostConnectionProxy.java index a61c7af10..5e6cbfd08 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/ha/MultiHostConnectionProxy.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/ha/MultiHostConnectionProxy.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.ha; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/ha/MultiHostMySQLConnection.java b/src/main/user-impl/java/com/mysql/cj/jdbc/ha/MultiHostMySQLConnection.java index 9e690ec99..610e39578 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/ha/MultiHostMySQLConnection.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/ha/MultiHostMySQLConnection.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.ha; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/ha/NdbLoadBalanceExceptionChecker.java b/src/main/user-impl/java/com/mysql/cj/jdbc/ha/NdbLoadBalanceExceptionChecker.java index 9a6d53e82..fce1e4cff 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/ha/NdbLoadBalanceExceptionChecker.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/ha/NdbLoadBalanceExceptionChecker.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2010, 2023, Oracle and/or its affiliates. + * Copyright (c) 2010, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.ha; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/ha/RandomBalanceStrategy.java b/src/main/user-impl/java/com/mysql/cj/jdbc/ha/RandomBalanceStrategy.java index b07c459d8..f0a867e1f 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/ha/RandomBalanceStrategy.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/ha/RandomBalanceStrategy.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2007, 2023, Oracle and/or its affiliates. + * Copyright (c) 2007, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.ha; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/ha/ReplicationConnectionGroup.java b/src/main/user-impl/java/com/mysql/cj/jdbc/ha/ReplicationConnectionGroup.java index be8bd7d88..dddd923df 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/ha/ReplicationConnectionGroup.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/ha/ReplicationConnectionGroup.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2013, 2023, Oracle and/or its affiliates. + * Copyright (c) 2013, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.ha; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/ha/ReplicationConnectionGroupManager.java b/src/main/user-impl/java/com/mysql/cj/jdbc/ha/ReplicationConnectionGroupManager.java index 38fe511e7..651c29628 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/ha/ReplicationConnectionGroupManager.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/ha/ReplicationConnectionGroupManager.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2013, 2023, Oracle and/or its affiliates. + * Copyright (c) 2013, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.ha; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/ha/ReplicationConnectionProxy.java b/src/main/user-impl/java/com/mysql/cj/jdbc/ha/ReplicationConnectionProxy.java index b08320169..9095609bc 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/ha/ReplicationConnectionProxy.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/ha/ReplicationConnectionProxy.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.ha; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/ha/ReplicationMySQLConnection.java b/src/main/user-impl/java/com/mysql/cj/jdbc/ha/ReplicationMySQLConnection.java index 92dc5bfe5..cf4d7e362 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/ha/ReplicationMySQLConnection.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/ha/ReplicationMySQLConnection.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.ha; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/ha/SequentialBalanceStrategy.java b/src/main/user-impl/java/com/mysql/cj/jdbc/ha/SequentialBalanceStrategy.java index eb4397d63..8fc43833d 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/ha/SequentialBalanceStrategy.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/ha/SequentialBalanceStrategy.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2007, 2023, Oracle and/or its affiliates. + * Copyright (c) 2007, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.ha; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/ha/ServerAffinityStrategy.java b/src/main/user-impl/java/com/mysql/cj/jdbc/ha/ServerAffinityStrategy.java index 1680587d9..8370c4103 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/ha/ServerAffinityStrategy.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/ha/ServerAffinityStrategy.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2017, 2023, Oracle and/or its affiliates. + * Copyright (c) 2017, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.ha; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/ha/StandardLoadBalanceExceptionChecker.java b/src/main/user-impl/java/com/mysql/cj/jdbc/ha/StandardLoadBalanceExceptionChecker.java index 1aa48b908..6c1ed399c 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/ha/StandardLoadBalanceExceptionChecker.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/ha/StandardLoadBalanceExceptionChecker.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2010, 2023, Oracle and/or its affiliates. + * Copyright (c) 2010, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.ha; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/integration/c3p0/MysqlConnectionTester.java b/src/main/user-impl/java/com/mysql/cj/jdbc/integration/c3p0/MysqlConnectionTester.java index 2305f6a63..ebceb6a9f 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/integration/c3p0/MysqlConnectionTester.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/integration/c3p0/MysqlConnectionTester.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.integration.c3p0; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/interceptors/ResultSetScannerInterceptor.java b/src/main/user-impl/java/com/mysql/cj/jdbc/interceptors/ResultSetScannerInterceptor.java index 2d7c00076..dc29b7243 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/interceptors/ResultSetScannerInterceptor.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/interceptors/ResultSetScannerInterceptor.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2007, 2023, Oracle and/or its affiliates. + * Copyright (c) 2007, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.interceptors; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/interceptors/ServerStatusDiffInterceptor.java b/src/main/user-impl/java/com/mysql/cj/jdbc/interceptors/ServerStatusDiffInterceptor.java index a8e61ec6d..51c270703 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/interceptors/ServerStatusDiffInterceptor.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/interceptors/ServerStatusDiffInterceptor.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2007, 2023, Oracle and/or its affiliates. + * Copyright (c) 2007, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.interceptors; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/interceptors/SessionAssociationInterceptor.java b/src/main/user-impl/java/com/mysql/cj/jdbc/interceptors/SessionAssociationInterceptor.java index 6edbb8321..6c93ac0de 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/interceptors/SessionAssociationInterceptor.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/interceptors/SessionAssociationInterceptor.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2010, 2023, Oracle and/or its affiliates. + * Copyright (c) 2010, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.interceptors; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/jmx/LoadBalanceConnectionGroupManager.java b/src/main/user-impl/java/com/mysql/cj/jdbc/jmx/LoadBalanceConnectionGroupManager.java index 17335c73b..477f7b28d 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/jmx/LoadBalanceConnectionGroupManager.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/jmx/LoadBalanceConnectionGroupManager.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2010, 2023, Oracle and/or its affiliates. + * Copyright (c) 2010, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.jmx; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/jmx/LoadBalanceConnectionGroupManagerMBean.java b/src/main/user-impl/java/com/mysql/cj/jdbc/jmx/LoadBalanceConnectionGroupManagerMBean.java index 2a3a97f44..54839d261 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/jmx/LoadBalanceConnectionGroupManagerMBean.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/jmx/LoadBalanceConnectionGroupManagerMBean.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2010, 2020, Oracle and/or its affiliates. + * Copyright (c) 2010, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.jmx; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/jmx/ReplicationGroupManager.java b/src/main/user-impl/java/com/mysql/cj/jdbc/jmx/ReplicationGroupManager.java index d76fb547b..70235edc9 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/jmx/ReplicationGroupManager.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/jmx/ReplicationGroupManager.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2013, 2023, Oracle and/or its affiliates. + * Copyright (c) 2013, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.jmx; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/jmx/ReplicationGroupManagerMBean.java b/src/main/user-impl/java/com/mysql/cj/jdbc/jmx/ReplicationGroupManagerMBean.java index d677b2406..4cba048ce 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/jmx/ReplicationGroupManagerMBean.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/jmx/ReplicationGroupManagerMBean.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2013, 2023, Oracle and/or its affiliates. + * Copyright (c) 2013, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.jmx; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/result/CachedResultSetMetaDataImpl.java b/src/main/user-impl/java/com/mysql/cj/jdbc/result/CachedResultSetMetaDataImpl.java index dd1e06725..2498b9f55 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/result/CachedResultSetMetaDataImpl.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/result/CachedResultSetMetaDataImpl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2007, 2023, Oracle and/or its affiliates. + * Copyright (c) 2007, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.result; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/result/ResultSetFactory.java b/src/main/user-impl/java/com/mysql/cj/jdbc/result/ResultSetFactory.java index 05fa042c0..245a3d58e 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/result/ResultSetFactory.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/result/ResultSetFactory.java @@ -1,30 +1,21 @@ /* * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.result; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/result/ResultSetImpl.java b/src/main/user-impl/java/com/mysql/cj/jdbc/result/ResultSetImpl.java index 40b0011fa..b3a610bb7 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/result/ResultSetImpl.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/result/ResultSetImpl.java @@ -1,30 +1,21 @@ /* * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.result; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/result/ResultSetMetaData.java b/src/main/user-impl/java/com/mysql/cj/jdbc/result/ResultSetMetaData.java index a7dd4b054..7abc638b1 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/result/ResultSetMetaData.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/result/ResultSetMetaData.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.result; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/result/UpdatableResultSet.java b/src/main/user-impl/java/com/mysql/cj/jdbc/result/UpdatableResultSet.java index 03bb7d1e1..4de159a9e 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/result/UpdatableResultSet.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/result/UpdatableResultSet.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.result; diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/util/BaseBugReport.java b/src/main/user-impl/java/com/mysql/cj/jdbc/util/BaseBugReport.java index 09cedba01..cbbc7ec51 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/util/BaseBugReport.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/util/BaseBugReport.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. - * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. - * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. - * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. - * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. + * + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. + * + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. + * + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. + * + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.jdbc.util; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/AbstractDataResult.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/AbstractDataResult.java index 1e0a2dcbe..f5efaa35d 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/AbstractDataResult.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/AbstractDataResult.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/AbstractFilterParams.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/AbstractFilterParams.java index 646e17e72..16ff339a7 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/AbstractFilterParams.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/AbstractFilterParams.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/AddResultBuilder.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/AddResultBuilder.java index 2fd1a27cb..fb1f0f0be 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/AddResultBuilder.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/AddResultBuilder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/AddResultImpl.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/AddResultImpl.java index b5dc634ca..95d9f703b 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/AddResultImpl.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/AddResultImpl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2017, 2023, Oracle and/or its affiliates. + * Copyright (c) 2017, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/AddStatementImpl.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/AddStatementImpl.java index 07e85e24c..0b491dc03 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/AddStatementImpl.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/AddStatementImpl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/ClientImpl.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/ClientImpl.java index 36f44c668..5e49a396b 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/ClientImpl.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/ClientImpl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2018, 2023, Oracle and/or its affiliates. + * Copyright (c) 2018, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/CollectionImpl.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/CollectionImpl.java index eda9ebce4..acd2e9b5f 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/CollectionImpl.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/CollectionImpl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/ColumnImpl.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/ColumnImpl.java index 1adf82e46..3128b0a02 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/ColumnImpl.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/ColumnImpl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/CreateIndexParams.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/CreateIndexParams.java index 6bdd7765c..11b8f2848 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/CreateIndexParams.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/CreateIndexParams.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/DatabaseObjectDescription.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/DatabaseObjectDescription.java index 5759558ad..68727de8c 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/DatabaseObjectDescription.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/DatabaseObjectDescription.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/DbDocFactory.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/DbDocFactory.java index 31784327f..0c15b5811 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/DbDocFactory.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/DbDocFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2018, 2020, Oracle and/or its affiliates. + * Copyright (c) 2018, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/DbDocImpl.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/DbDocImpl.java index 44b035aad..92c20c0cf 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/DbDocImpl.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/DbDocImpl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/DbDocValueFactory.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/DbDocValueFactory.java index 3bf819039..079b0a244 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/DbDocValueFactory.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/DbDocValueFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/DeleteStatementImpl.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/DeleteStatementImpl.java index fb9672ed4..603c26d8a 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/DeleteStatementImpl.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/DeleteStatementImpl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/DocFilterParams.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/DocFilterParams.java index 05768c0bd..89fa70593 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/DocFilterParams.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/DocFilterParams.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/DocResultBuilder.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/DocResultBuilder.java index 80bb24ac6..ae842952b 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/DocResultBuilder.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/DocResultBuilder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/DocResultImpl.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/DocResultImpl.java index a93767220..4f73aa27a 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/DocResultImpl.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/DocResultImpl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/ExprParser.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/ExprParser.java index 792b08e46..08dc41fff 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/ExprParser.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/ExprParser.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/ExprUnparser.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/ExprUnparser.java index f1b419322..5325da453 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/ExprUnparser.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/ExprUnparser.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/ExprUtil.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/ExprUtil.java index 0246b60bb..5a9564dee 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/ExprUtil.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/ExprUtil.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/FilterableStatement.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/FilterableStatement.java index 628e6b28f..fdda5b139 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/FilterableStatement.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/FilterableStatement.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/FindStatementImpl.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/FindStatementImpl.java index 8ed7f04fe..e6f6a273b 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/FindStatementImpl.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/FindStatementImpl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/InsertParams.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/InsertParams.java index d5b9f698c..efa9019aa 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/InsertParams.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/InsertParams.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/InsertResultBuilder.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/InsertResultBuilder.java index 357f45b39..12a74d36e 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/InsertResultBuilder.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/InsertResultBuilder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/InsertResultImpl.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/InsertResultImpl.java index 3788dbe1d..4e4f843a3 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/InsertResultImpl.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/InsertResultImpl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2017, 2020, Oracle and/or its affiliates. + * Copyright (c) 2017, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/InsertStatementImpl.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/InsertStatementImpl.java index f02f37dd5..98bf3557f 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/InsertStatementImpl.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/InsertStatementImpl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/JsonArray.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/JsonArray.java index 9591aef40..91c94a673 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/JsonArray.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/JsonArray.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/JsonLiteral.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/JsonLiteral.java index 0479e8595..be4bf02fd 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/JsonLiteral.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/JsonLiteral.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2020, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/JsonNumber.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/JsonNumber.java index 60978ce5a..c9b570bba 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/JsonNumber.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/JsonNumber.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/JsonParser.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/JsonParser.java index 37caaee01..aa7f011cb 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/JsonParser.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/JsonParser.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/JsonString.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/JsonString.java index 037497d7b..ca1f17f34 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/JsonString.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/JsonString.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/ModifyStatementImpl.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/ModifyStatementImpl.java index a263b3620..04554a571 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/ModifyStatementImpl.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/ModifyStatementImpl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/PreparableStatement.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/PreparableStatement.java index 0fd0f77ac..95b142257 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/PreparableStatement.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/PreparableStatement.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/RemoveStatementImpl.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/RemoveStatementImpl.java index 84b6bb8f9..236f8671d 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/RemoveStatementImpl.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/RemoveStatementImpl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/RowFactory.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/RowFactory.java index c22bb9b54..ba4b20c96 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/RowFactory.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/RowFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/RowImpl.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/RowImpl.java index 7660d7fb8..025988cad 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/RowImpl.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/RowImpl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/RowResultBuilder.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/RowResultBuilder.java index 3ef85557d..de4fe58e0 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/RowResultBuilder.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/RowResultBuilder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/RowResultImpl.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/RowResultImpl.java index 741a22be5..312defbda 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/RowResultImpl.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/RowResultImpl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/SchemaImpl.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/SchemaImpl.java index 3778ac1e5..909aba054 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/SchemaImpl.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/SchemaImpl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/SelectStatementImpl.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/SelectStatementImpl.java index fa0a7b2dd..9ced96e6b 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/SelectStatementImpl.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/SelectStatementImpl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/SessionImpl.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/SessionImpl.java index b9e0ecb70..f700114d2 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/SessionImpl.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/SessionImpl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/SqlMultiResult.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/SqlMultiResult.java index 8a1cae20b..c26b25d50 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/SqlMultiResult.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/SqlMultiResult.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/SqlResultBuilder.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/SqlResultBuilder.java index 3101b6366..124b66810 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/SqlResultBuilder.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/SqlResultBuilder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/SqlSingleResult.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/SqlSingleResult.java index 54edc5642..3c54a2a12 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/SqlSingleResult.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/SqlSingleResult.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/SqlStatementImpl.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/SqlStatementImpl.java index 570af86af..338d9c84c 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/SqlStatementImpl.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/SqlStatementImpl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/SqlUpdateResult.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/SqlUpdateResult.java index 6a8c2359b..8ff70ed31 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/SqlUpdateResult.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/SqlUpdateResult.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/StreamingDocResultBuilder.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/StreamingDocResultBuilder.java index 699fe9e19..b63706cbf 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/StreamingDocResultBuilder.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/StreamingDocResultBuilder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/StreamingRowResultBuilder.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/StreamingRowResultBuilder.java index 2872a56e6..d9e0b50a7 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/StreamingRowResultBuilder.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/StreamingRowResultBuilder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/StreamingSqlResultBuilder.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/StreamingSqlResultBuilder.java index 2fa8b6152..21e39f693 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/StreamingSqlResultBuilder.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/StreamingSqlResultBuilder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/TableFilterParams.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/TableFilterParams.java index ccc1517a2..e15144a09 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/TableFilterParams.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/TableFilterParams.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/TableImpl.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/TableImpl.java index fa3bbb73a..22edcd6ae 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/TableImpl.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/TableImpl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/UpdateParams.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/UpdateParams.java index d963966fb..b9461bd9e 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/UpdateParams.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/UpdateParams.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/UpdateResult.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/UpdateResult.java index 952b9772c..954518917 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/UpdateResult.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/UpdateResult.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/UpdateResultBuilder.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/UpdateResultBuilder.java index 9677e60a2..d1d399def 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/UpdateResultBuilder.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/UpdateResultBuilder.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/UpdateSpec.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/UpdateSpec.java index 4b45eca04..d32061a10 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/UpdateSpec.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/UpdateSpec.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/UpdateStatementImpl.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/UpdateStatementImpl.java index 4637bca92..b26bd2791 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/UpdateStatementImpl.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/UpdateStatementImpl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/main/user-impl/java/com/mysql/cj/xdevapi/WarningImpl.java b/src/main/user-impl/java/com/mysql/cj/xdevapi/WarningImpl.java index cf4be663e..0865a2a44 100644 --- a/src/main/user-impl/java/com/mysql/cj/xdevapi/WarningImpl.java +++ b/src/main/user-impl/java/com/mysql/cj/xdevapi/WarningImpl.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/test/java/com/mysql/cj/CharsetMappingWrapper.java b/src/test/java/com/mysql/cj/CharsetMappingWrapper.java index 223cbff0f..fab418850 100644 --- a/src/test/java/com/mysql/cj/CharsetMappingWrapper.java +++ b/src/test/java/com/mysql/cj/CharsetMappingWrapper.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2021, 2023, Oracle and/or its affiliates. + * Copyright (c) 2021, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/test/java/com/mysql/cj/ConnectionUrlTest.java b/src/test/java/com/mysql/cj/ConnectionUrlTest.java index f14bf3d75..5fba34a69 100644 --- a/src/test/java/com/mysql/cj/ConnectionUrlTest.java +++ b/src/test/java/com/mysql/cj/ConnectionUrlTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/test/java/com/mysql/cj/MessagesTest.java b/src/test/java/com/mysql/cj/MessagesTest.java index 7f0619f87..4658897d1 100644 --- a/src/test/java/com/mysql/cj/MessagesTest.java +++ b/src/test/java/com/mysql/cj/MessagesTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/test/java/com/mysql/cj/ServerVersionTest.java b/src/test/java/com/mysql/cj/ServerVersionTest.java index d60c33eed..dde77fb48 100644 --- a/src/test/java/com/mysql/cj/ServerVersionTest.java +++ b/src/test/java/com/mysql/cj/ServerVersionTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj; diff --git a/src/test/java/com/mysql/cj/protocol/a/CompressedPacketSenderTest.java b/src/test/java/com/mysql/cj/protocol/a/CompressedPacketSenderTest.java index 377dd1e2d..de8d21382 100644 --- a/src/test/java/com/mysql/cj/protocol/a/CompressedPacketSenderTest.java +++ b/src/test/java/com/mysql/cj/protocol/a/CompressedPacketSenderTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/test/java/com/mysql/cj/protocol/a/DebugBufferingPacketSenderTest.java b/src/test/java/com/mysql/cj/protocol/a/DebugBufferingPacketSenderTest.java index 1a97c0cb0..87627eac4 100644 --- a/src/test/java/com/mysql/cj/protocol/a/DebugBufferingPacketSenderTest.java +++ b/src/test/java/com/mysql/cj/protocol/a/DebugBufferingPacketSenderTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/test/java/com/mysql/cj/protocol/a/MysqlBinaryValueDecoderTest.java b/src/test/java/com/mysql/cj/protocol/a/MysqlBinaryValueDecoderTest.java index c273ef576..543aa39b7 100644 --- a/src/test/java/com/mysql/cj/protocol/a/MysqlBinaryValueDecoderTest.java +++ b/src/test/java/com/mysql/cj/protocol/a/MysqlBinaryValueDecoderTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/test/java/com/mysql/cj/protocol/a/MysqlTextValueDecoderTest.java b/src/test/java/com/mysql/cj/protocol/a/MysqlTextValueDecoderTest.java index bf299ca30..575e34746 100644 --- a/src/test/java/com/mysql/cj/protocol/a/MysqlTextValueDecoderTest.java +++ b/src/test/java/com/mysql/cj/protocol/a/MysqlTextValueDecoderTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/test/java/com/mysql/cj/protocol/a/PacketSenderTestBase.java b/src/test/java/com/mysql/cj/protocol/a/PacketSenderTestBase.java index 68e27ec0e..f72cfd8c1 100644 --- a/src/test/java/com/mysql/cj/protocol/a/PacketSenderTestBase.java +++ b/src/test/java/com/mysql/cj/protocol/a/PacketSenderTestBase.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/test/java/com/mysql/cj/protocol/a/SimplePacketReaderTest.java b/src/test/java/com/mysql/cj/protocol/a/SimplePacketReaderTest.java index 46ce7edda..493a4b3a6 100644 --- a/src/test/java/com/mysql/cj/protocol/a/SimplePacketReaderTest.java +++ b/src/test/java/com/mysql/cj/protocol/a/SimplePacketReaderTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/test/java/com/mysql/cj/protocol/a/SimplePacketSenderTest.java b/src/test/java/com/mysql/cj/protocol/a/SimplePacketSenderTest.java index d86b6c6a2..eec626624 100644 --- a/src/test/java/com/mysql/cj/protocol/a/SimplePacketSenderTest.java +++ b/src/test/java/com/mysql/cj/protocol/a/SimplePacketSenderTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.a; diff --git a/src/test/java/com/mysql/cj/protocol/x/CompressionTest.java b/src/test/java/com/mysql/cj/protocol/x/CompressionTest.java index 86fe78b27..29d6dfb20 100644 --- a/src/test/java/com/mysql/cj/protocol/x/CompressionTest.java +++ b/src/test/java/com/mysql/cj/protocol/x/CompressionTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2020, 2023, Oracle and/or its affiliates. + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/test/java/com/mysql/cj/protocol/x/SyncMessageReaderTest.java b/src/test/java/com/mysql/cj/protocol/x/SyncMessageReaderTest.java index 1dcf438b5..84e8d2bba 100644 --- a/src/test/java/com/mysql/cj/protocol/x/SyncMessageReaderTest.java +++ b/src/test/java/com/mysql/cj/protocol/x/SyncMessageReaderTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/test/java/com/mysql/cj/protocol/x/SyncMessageWriterTest.java b/src/test/java/com/mysql/cj/protocol/x/SyncMessageWriterTest.java index 2ab584336..96c7f034d 100644 --- a/src/test/java/com/mysql/cj/protocol/x/SyncMessageWriterTest.java +++ b/src/test/java/com/mysql/cj/protocol/x/SyncMessageWriterTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.protocol.x; diff --git a/src/test/java/com/mysql/cj/result/BigDecimalValueFactoryTest.java b/src/test/java/com/mysql/cj/result/BigDecimalValueFactoryTest.java index 6b35d0ee2..030d7c514 100644 --- a/src/test/java/com/mysql/cj/result/BigDecimalValueFactoryTest.java +++ b/src/test/java/com/mysql/cj/result/BigDecimalValueFactoryTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/test/java/com/mysql/cj/result/BinaryStreamValueFactoryTest.java b/src/test/java/com/mysql/cj/result/BinaryStreamValueFactoryTest.java index d677fab7b..75f09ee97 100644 --- a/src/test/java/com/mysql/cj/result/BinaryStreamValueFactoryTest.java +++ b/src/test/java/com/mysql/cj/result/BinaryStreamValueFactoryTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2018, 2023, Oracle and/or its affiliates. + * Copyright (c) 2018, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/test/java/com/mysql/cj/result/BooleanValueFactoryTest.java b/src/test/java/com/mysql/cj/result/BooleanValueFactoryTest.java index 05cffd3c4..7b1ac26a0 100644 --- a/src/test/java/com/mysql/cj/result/BooleanValueFactoryTest.java +++ b/src/test/java/com/mysql/cj/result/BooleanValueFactoryTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/test/java/com/mysql/cj/result/ByteValueFactoryTest.java b/src/test/java/com/mysql/cj/result/ByteValueFactoryTest.java index 1be16e2e3..6bc2001e4 100644 --- a/src/test/java/com/mysql/cj/result/ByteValueFactoryTest.java +++ b/src/test/java/com/mysql/cj/result/ByteValueFactoryTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/test/java/com/mysql/cj/result/CommonAsserts.java b/src/test/java/com/mysql/cj/result/CommonAsserts.java index 55433aff8..051a48d21 100644 --- a/src/test/java/com/mysql/cj/result/CommonAsserts.java +++ b/src/test/java/com/mysql/cj/result/CommonAsserts.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2018, 2023, Oracle and/or its affiliates. + * Copyright (c) 2018, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/test/java/com/mysql/cj/result/DoubleValueFactoryTest.java b/src/test/java/com/mysql/cj/result/DoubleValueFactoryTest.java index e61273444..511c0a556 100644 --- a/src/test/java/com/mysql/cj/result/DoubleValueFactoryTest.java +++ b/src/test/java/com/mysql/cj/result/DoubleValueFactoryTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/test/java/com/mysql/cj/result/FloatValueFactoryTest.java b/src/test/java/com/mysql/cj/result/FloatValueFactoryTest.java index fdb2af202..b2af70b39 100644 --- a/src/test/java/com/mysql/cj/result/FloatValueFactoryTest.java +++ b/src/test/java/com/mysql/cj/result/FloatValueFactoryTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2018, 2023, Oracle and/or its affiliates. + * Copyright (c) 2018, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/test/java/com/mysql/cj/result/IntegerValueFactoryTest.java b/src/test/java/com/mysql/cj/result/IntegerValueFactoryTest.java index dfff5a160..409649476 100644 --- a/src/test/java/com/mysql/cj/result/IntegerValueFactoryTest.java +++ b/src/test/java/com/mysql/cj/result/IntegerValueFactoryTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/test/java/com/mysql/cj/result/LocalDateTimeValueFactoryTest.java b/src/test/java/com/mysql/cj/result/LocalDateTimeValueFactoryTest.java index 575f9afa9..2b5cbc7e2 100644 --- a/src/test/java/com/mysql/cj/result/LocalDateTimeValueFactoryTest.java +++ b/src/test/java/com/mysql/cj/result/LocalDateTimeValueFactoryTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2018, 2023, Oracle and/or its affiliates. + * Copyright (c) 2018, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/test/java/com/mysql/cj/result/LocalDateValueFactoryTest.java b/src/test/java/com/mysql/cj/result/LocalDateValueFactoryTest.java index 194cea313..ce1f8b4de 100644 --- a/src/test/java/com/mysql/cj/result/LocalDateValueFactoryTest.java +++ b/src/test/java/com/mysql/cj/result/LocalDateValueFactoryTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/test/java/com/mysql/cj/result/LocalTimeValueFactoryTest.java b/src/test/java/com/mysql/cj/result/LocalTimeValueFactoryTest.java index a6917a84c..bd4b11e70 100644 --- a/src/test/java/com/mysql/cj/result/LocalTimeValueFactoryTest.java +++ b/src/test/java/com/mysql/cj/result/LocalTimeValueFactoryTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2018, 2023, Oracle and/or its affiliates. + * Copyright (c) 2018, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/test/java/com/mysql/cj/result/LongValueFactoryTest.java b/src/test/java/com/mysql/cj/result/LongValueFactoryTest.java index d3e960616..d6413697e 100644 --- a/src/test/java/com/mysql/cj/result/LongValueFactoryTest.java +++ b/src/test/java/com/mysql/cj/result/LongValueFactoryTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/test/java/com/mysql/cj/result/ShortValueFactoryTest.java b/src/test/java/com/mysql/cj/result/ShortValueFactoryTest.java index 33dce743b..4e6c0542c 100644 --- a/src/test/java/com/mysql/cj/result/ShortValueFactoryTest.java +++ b/src/test/java/com/mysql/cj/result/ShortValueFactoryTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/test/java/com/mysql/cj/result/SqlDateValueFactoryTest.java b/src/test/java/com/mysql/cj/result/SqlDateValueFactoryTest.java index 552708e39..057ae0331 100644 --- a/src/test/java/com/mysql/cj/result/SqlDateValueFactoryTest.java +++ b/src/test/java/com/mysql/cj/result/SqlDateValueFactoryTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/test/java/com/mysql/cj/result/SqlTimeValueFactoryTest.java b/src/test/java/com/mysql/cj/result/SqlTimeValueFactoryTest.java index c2677cefa..9be0d01e0 100644 --- a/src/test/java/com/mysql/cj/result/SqlTimeValueFactoryTest.java +++ b/src/test/java/com/mysql/cj/result/SqlTimeValueFactoryTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/test/java/com/mysql/cj/result/SqlTimestampValueFactoryTest.java b/src/test/java/com/mysql/cj/result/SqlTimestampValueFactoryTest.java index 9d917a94a..de89fc79f 100644 --- a/src/test/java/com/mysql/cj/result/SqlTimestampValueFactoryTest.java +++ b/src/test/java/com/mysql/cj/result/SqlTimestampValueFactoryTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/test/java/com/mysql/cj/result/StringValueFactoryTest.java b/src/test/java/com/mysql/cj/result/StringValueFactoryTest.java index d4af28e72..3cdd70d45 100644 --- a/src/test/java/com/mysql/cj/result/StringValueFactoryTest.java +++ b/src/test/java/com/mysql/cj/result/StringValueFactoryTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/test/java/com/mysql/cj/result/ZeroDateTimeToNullValueFactoryTest.java b/src/test/java/com/mysql/cj/result/ZeroDateTimeToNullValueFactoryTest.java index 090744ee1..d24599436 100644 --- a/src/test/java/com/mysql/cj/result/ZeroDateTimeToNullValueFactoryTest.java +++ b/src/test/java/com/mysql/cj/result/ZeroDateTimeToNullValueFactoryTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2018, 2023, Oracle and/or its affiliates. + * Copyright (c) 2018, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.result; diff --git a/src/test/java/com/mysql/cj/util/StringInspectorTest.java b/src/test/java/com/mysql/cj/util/StringInspectorTest.java index ce3d0d27b..0055cc320 100644 --- a/src/test/java/com/mysql/cj/util/StringInspectorTest.java +++ b/src/test/java/com/mysql/cj/util/StringInspectorTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2022, 2023, Oracle and/or its affiliates. + * Copyright (c) 2022, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.util; diff --git a/src/test/java/com/mysql/cj/util/StringUtilsTest.java b/src/test/java/com/mysql/cj/util/StringUtilsTest.java index d95ac14cf..a7ec58961 100644 --- a/src/test/java/com/mysql/cj/util/StringUtilsTest.java +++ b/src/test/java/com/mysql/cj/util/StringUtilsTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.util; diff --git a/src/test/java/com/mysql/cj/util/TimeUtilTest.java b/src/test/java/com/mysql/cj/util/TimeUtilTest.java index 063d56537..13ef56a00 100644 --- a/src/test/java/com/mysql/cj/util/TimeUtilTest.java +++ b/src/test/java/com/mysql/cj/util/TimeUtilTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2020, 2023, Oracle and/or its affiliates. + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.util; diff --git a/src/test/java/com/mysql/cj/xdevapi/ExprParserTest.java b/src/test/java/com/mysql/cj/xdevapi/ExprParserTest.java index c460da63b..635781180 100644 --- a/src/test/java/com/mysql/cj/xdevapi/ExprParserTest.java +++ b/src/test/java/com/mysql/cj/xdevapi/ExprParserTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/test/java/com/mysql/cj/xdevapi/JsonDocTest.java b/src/test/java/com/mysql/cj/xdevapi/JsonDocTest.java index bff060e58..7febbe14b 100644 --- a/src/test/java/com/mysql/cj/xdevapi/JsonDocTest.java +++ b/src/test/java/com/mysql/cj/xdevapi/JsonDocTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.cj.xdevapi; diff --git a/src/test/java/testsuite/BaseQueryInterceptor.java b/src/test/java/testsuite/BaseQueryInterceptor.java index 7e5a664e6..f63394dcc 100644 --- a/src/test/java/testsuite/BaseQueryInterceptor.java +++ b/src/test/java/testsuite/BaseQueryInterceptor.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite; diff --git a/src/test/java/testsuite/BaseTestCase.java b/src/test/java/testsuite/BaseTestCase.java index e4a77a5f3..86535ddb0 100644 --- a/src/test/java/testsuite/BaseTestCase.java +++ b/src/test/java/testsuite/BaseTestCase.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite; diff --git a/src/test/java/testsuite/BufferingLogger.java b/src/test/java/testsuite/BufferingLogger.java index d6e92ea34..68bc887b1 100644 --- a/src/test/java/testsuite/BufferingLogger.java +++ b/src/test/java/testsuite/BufferingLogger.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite; diff --git a/src/test/java/testsuite/InjectedSocketFactory.java b/src/test/java/testsuite/InjectedSocketFactory.java index c9a7008ee..22f5374a8 100644 --- a/src/test/java/testsuite/InjectedSocketFactory.java +++ b/src/test/java/testsuite/InjectedSocketFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2020, 2023, Oracle and/or its affiliates. + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite; diff --git a/src/test/java/testsuite/JUnitSummary.java b/src/test/java/testsuite/JUnitSummary.java index 25f363ec3..ad1475f45 100644 --- a/src/test/java/testsuite/JUnitSummary.java +++ b/src/test/java/testsuite/JUnitSummary.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2020, 2023, Oracle and/or its affiliates. + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite; diff --git a/src/test/java/testsuite/MockJndiContextFactory.java b/src/test/java/testsuite/MockJndiContextFactory.java index e201d88e7..41e7d8a26 100644 --- a/src/test/java/testsuite/MockJndiContextFactory.java +++ b/src/test/java/testsuite/MockJndiContextFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2020, 2023, Oracle and/or its affiliates. + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite; diff --git a/src/test/java/testsuite/TestUtils.java b/src/test/java/testsuite/TestUtils.java index 90d37a6c5..d40c21251 100644 --- a/src/test/java/testsuite/TestUtils.java +++ b/src/test/java/testsuite/TestUtils.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite; diff --git a/src/test/java/testsuite/UnreliableSocketFactory.java b/src/test/java/testsuite/UnreliableSocketFactory.java index 2e1db012b..c6b3deccf 100644 --- a/src/test/java/testsuite/UnreliableSocketFactory.java +++ b/src/test/java/testsuite/UnreliableSocketFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2008, 2023, Oracle and/or its affiliates. + * Copyright (c) 2008, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite; diff --git a/src/test/java/testsuite/perf/BasePerfTest.java b/src/test/java/testsuite/perf/BasePerfTest.java index 48005e2dd..a8f618606 100644 --- a/src/test/java/testsuite/perf/BasePerfTest.java +++ b/src/test/java/testsuite/perf/BasePerfTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.perf; diff --git a/src/test/java/testsuite/perf/LoadStorePerfTest.java b/src/test/java/testsuite/perf/LoadStorePerfTest.java index 5a8df0a7e..c9f1f77ad 100644 --- a/src/test/java/testsuite/perf/LoadStorePerfTest.java +++ b/src/test/java/testsuite/perf/LoadStorePerfTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.perf; diff --git a/src/test/java/testsuite/perf/RetrievalPerfTest.java b/src/test/java/testsuite/perf/RetrievalPerfTest.java index d215ca7f4..09e3d23e1 100644 --- a/src/test/java/testsuite/perf/RetrievalPerfTest.java +++ b/src/test/java/testsuite/perf/RetrievalPerfTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.perf; diff --git a/src/test/java/testsuite/regression/BlobRegressionTest.java b/src/test/java/testsuite/regression/BlobRegressionTest.java index b96bc98d8..40dd610fe 100644 --- a/src/test/java/testsuite/regression/BlobRegressionTest.java +++ b/src/test/java/testsuite/regression/BlobRegressionTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.regression; diff --git a/src/test/java/testsuite/regression/CachedRowsetTest.java b/src/test/java/testsuite/regression/CachedRowsetTest.java index 6eafbb584..fb7cd54e6 100644 --- a/src/test/java/testsuite/regression/CachedRowsetTest.java +++ b/src/test/java/testsuite/regression/CachedRowsetTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.regression; diff --git a/src/test/java/testsuite/regression/CallableStatementRegressionTest.java b/src/test/java/testsuite/regression/CallableStatementRegressionTest.java index 33c2a59b7..1fb30a385 100644 --- a/src/test/java/testsuite/regression/CallableStatementRegressionTest.java +++ b/src/test/java/testsuite/regression/CallableStatementRegressionTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.regression; @@ -1878,4 +1869,4 @@ public void testBug111107() throws Exception { } } -} \ No newline at end of file +} diff --git a/src/test/java/testsuite/regression/CharsetRegressionTest.java b/src/test/java/testsuite/regression/CharsetRegressionTest.java index 616c27d99..165dcf606 100644 --- a/src/test/java/testsuite/regression/CharsetRegressionTest.java +++ b/src/test/java/testsuite/regression/CharsetRegressionTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2014, 2023, Oracle and/or its affiliates. + * Copyright (c) 2014, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.regression; diff --git a/src/test/java/testsuite/regression/ConnectionRegressionTest.java b/src/test/java/testsuite/regression/ConnectionRegressionTest.java index c69a78de3..d954b7950 100644 --- a/src/test/java/testsuite/regression/ConnectionRegressionTest.java +++ b/src/test/java/testsuite/regression/ConnectionRegressionTest.java @@ -1,30 +1,21 @@ /* * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.regression; diff --git a/src/test/java/testsuite/regression/DataSourceRegressionTest.java b/src/test/java/testsuite/regression/DataSourceRegressionTest.java index ac4f31a18..58f15aa61 100644 --- a/src/test/java/testsuite/regression/DataSourceRegressionTest.java +++ b/src/test/java/testsuite/regression/DataSourceRegressionTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.regression; diff --git a/src/test/java/testsuite/regression/DateTimeRegressionTest.java b/src/test/java/testsuite/regression/DateTimeRegressionTest.java index 9644df3fd..0d4741763 100644 --- a/src/test/java/testsuite/regression/DateTimeRegressionTest.java +++ b/src/test/java/testsuite/regression/DateTimeRegressionTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2021, 2023, Oracle and/or its affiliates. + * Copyright (c) 2021, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.regression; diff --git a/src/test/java/testsuite/regression/EscapeProcessorRegressionTest.java b/src/test/java/testsuite/regression/EscapeProcessorRegressionTest.java index 002b05e42..91463e534 100644 --- a/src/test/java/testsuite/regression/EscapeProcessorRegressionTest.java +++ b/src/test/java/testsuite/regression/EscapeProcessorRegressionTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2005, 2023, Oracle and/or its affiliates. + * Copyright (c) 2005, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.regression; diff --git a/src/test/java/testsuite/regression/ExceptionSubclassesTest.java b/src/test/java/testsuite/regression/ExceptionSubclassesTest.java index 3760cd865..9e7f443ef 100644 --- a/src/test/java/testsuite/regression/ExceptionSubclassesTest.java +++ b/src/test/java/testsuite/regression/ExceptionSubclassesTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2013, 2023, Oracle and/or its affiliates. + * Copyright (c) 2013, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.regression; diff --git a/src/test/java/testsuite/regression/MetaDataRegressionTest.java b/src/test/java/testsuite/regression/MetaDataRegressionTest.java index 366d09071..9b97fd012 100644 --- a/src/test/java/testsuite/regression/MetaDataRegressionTest.java +++ b/src/test/java/testsuite/regression/MetaDataRegressionTest.java @@ -1,30 +1,21 @@ /* * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.regression; diff --git a/src/test/java/testsuite/regression/MicroPerformanceRegressionTest.java b/src/test/java/testsuite/regression/MicroPerformanceRegressionTest.java index 09fdf062c..65074c2c1 100644 --- a/src/test/java/testsuite/regression/MicroPerformanceRegressionTest.java +++ b/src/test/java/testsuite/regression/MicroPerformanceRegressionTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.regression; diff --git a/src/test/java/testsuite/regression/NonLocalSocketFactory.java b/src/test/java/testsuite/regression/NonLocalSocketFactory.java index 4ed6036f0..8676171a4 100644 --- a/src/test/java/testsuite/regression/NonLocalSocketFactory.java +++ b/src/test/java/testsuite/regression/NonLocalSocketFactory.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.regression; diff --git a/src/test/java/testsuite/regression/NumbersRegressionTest.java b/src/test/java/testsuite/regression/NumbersRegressionTest.java index b5ff9665c..8711ccd5c 100644 --- a/src/test/java/testsuite/regression/NumbersRegressionTest.java +++ b/src/test/java/testsuite/regression/NumbersRegressionTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.regression; diff --git a/src/test/java/testsuite/regression/PooledConnectionRegressionTest.java b/src/test/java/testsuite/regression/PooledConnectionRegressionTest.java index 196fda0f5..65475856c 100644 --- a/src/test/java/testsuite/regression/PooledConnectionRegressionTest.java +++ b/src/test/java/testsuite/regression/PooledConnectionRegressionTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.regression; diff --git a/src/test/java/testsuite/regression/ResultSetRegressionTest.java b/src/test/java/testsuite/regression/ResultSetRegressionTest.java index 0d4757db9..896b83a3d 100644 --- a/src/test/java/testsuite/regression/ResultSetRegressionTest.java +++ b/src/test/java/testsuite/regression/ResultSetRegressionTest.java @@ -1,30 +1,21 @@ /* * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.regression; diff --git a/src/test/java/testsuite/regression/StatementRegressionTest.java b/src/test/java/testsuite/regression/StatementRegressionTest.java index 5c1c3ac46..6798e80c5 100644 --- a/src/test/java/testsuite/regression/StatementRegressionTest.java +++ b/src/test/java/testsuite/regression/StatementRegressionTest.java @@ -1,30 +1,21 @@ /* * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.regression; diff --git a/src/test/java/testsuite/regression/StressRegressionTest.java b/src/test/java/testsuite/regression/StressRegressionTest.java index 83fcc33b3..06c23fb99 100644 --- a/src/test/java/testsuite/regression/StressRegressionTest.java +++ b/src/test/java/testsuite/regression/StressRegressionTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.regression; diff --git a/src/test/java/testsuite/regression/StringRegressionTest.java b/src/test/java/testsuite/regression/StringRegressionTest.java index 729b22618..210cb85cc 100644 --- a/src/test/java/testsuite/regression/StringRegressionTest.java +++ b/src/test/java/testsuite/regression/StringRegressionTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.regression; diff --git a/src/test/java/testsuite/regression/SubqueriesRegressionTest.java b/src/test/java/testsuite/regression/SubqueriesRegressionTest.java index 7838bf2c3..9d0781fa5 100644 --- a/src/test/java/testsuite/regression/SubqueriesRegressionTest.java +++ b/src/test/java/testsuite/regression/SubqueriesRegressionTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.regression; diff --git a/src/test/java/testsuite/regression/SyntaxRegressionTest.java b/src/test/java/testsuite/regression/SyntaxRegressionTest.java index b3cc78ed8..a378cfd3e 100644 --- a/src/test/java/testsuite/regression/SyntaxRegressionTest.java +++ b/src/test/java/testsuite/regression/SyntaxRegressionTest.java @@ -1,30 +1,21 @@ /* * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.regression; diff --git a/src/test/java/testsuite/regression/UtilsRegressionTest.java b/src/test/java/testsuite/regression/UtilsRegressionTest.java index 141208708..b5b8a7d86 100644 --- a/src/test/java/testsuite/regression/UtilsRegressionTest.java +++ b/src/test/java/testsuite/regression/UtilsRegressionTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2014, 2023, Oracle and/or its affiliates. + * Copyright (c) 2014, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.regression; diff --git a/src/test/java/testsuite/simple/AuthenticationTest.java b/src/test/java/testsuite/simple/AuthenticationTest.java index b23b14f75..05acd32ea 100644 --- a/src/test/java/testsuite/simple/AuthenticationTest.java +++ b/src/test/java/testsuite/simple/AuthenticationTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2020, 2023, Oracle and/or its affiliates. + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.simple; diff --git a/src/test/java/testsuite/simple/BlobTest.java b/src/test/java/testsuite/simple/BlobTest.java index b452689e9..95b4bf652 100644 --- a/src/test/java/testsuite/simple/BlobTest.java +++ b/src/test/java/testsuite/simple/BlobTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.simple; diff --git a/src/test/java/testsuite/simple/CallableStatementTest.java b/src/test/java/testsuite/simple/CallableStatementTest.java index a52897c9a..b8876afcb 100644 --- a/src/test/java/testsuite/simple/CallableStatementTest.java +++ b/src/test/java/testsuite/simple/CallableStatementTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.simple; diff --git a/src/test/java/testsuite/simple/CharsetTest.java b/src/test/java/testsuite/simple/CharsetTest.java index 9f781950d..daa7f75a5 100644 --- a/src/test/java/testsuite/simple/CharsetTest.java +++ b/src/test/java/testsuite/simple/CharsetTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2005, 2023, Oracle and/or its affiliates. + * Copyright (c) 2005, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.simple; diff --git a/src/test/java/testsuite/simple/ConnectionTest.java b/src/test/java/testsuite/simple/ConnectionTest.java index 26b723652..50c0d1b77 100644 --- a/src/test/java/testsuite/simple/ConnectionTest.java +++ b/src/test/java/testsuite/simple/ConnectionTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.simple; diff --git a/src/test/java/testsuite/simple/DataSourceTest.java b/src/test/java/testsuite/simple/DataSourceTest.java index eecce456d..c32053004 100644 --- a/src/test/java/testsuite/simple/DataSourceTest.java +++ b/src/test/java/testsuite/simple/DataSourceTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.simple; diff --git a/src/test/java/testsuite/simple/DateTest.java b/src/test/java/testsuite/simple/DateTest.java index cc8f95852..428113628 100644 --- a/src/test/java/testsuite/simple/DateTest.java +++ b/src/test/java/testsuite/simple/DateTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.simple; diff --git a/src/test/java/testsuite/simple/DateTimeTest.java b/src/test/java/testsuite/simple/DateTimeTest.java index c8fd98dcb..94a38e81c 100644 --- a/src/test/java/testsuite/simple/DateTimeTest.java +++ b/src/test/java/testsuite/simple/DateTimeTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2020, 2023, Oracle and/or its affiliates. + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.simple; diff --git a/src/test/java/testsuite/simple/EscapeProcessingTest.java b/src/test/java/testsuite/simple/EscapeProcessingTest.java index 8b2d1c310..d7cae723d 100644 --- a/src/test/java/testsuite/simple/EscapeProcessingTest.java +++ b/src/test/java/testsuite/simple/EscapeProcessingTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.simple; diff --git a/src/test/java/testsuite/simple/ExceptionsTest.java b/src/test/java/testsuite/simple/ExceptionsTest.java index bb33be7e5..6b06e33c3 100644 --- a/src/test/java/testsuite/simple/ExceptionsTest.java +++ b/src/test/java/testsuite/simple/ExceptionsTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.simple; diff --git a/src/test/java/testsuite/simple/MetadataTest.java b/src/test/java/testsuite/simple/MetadataTest.java index d5c947efc..1ae3a4ba2 100644 --- a/src/test/java/testsuite/simple/MetadataTest.java +++ b/src/test/java/testsuite/simple/MetadataTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.simple; diff --git a/src/test/java/testsuite/simple/MiniAdminTest.java b/src/test/java/testsuite/simple/MiniAdminTest.java index 3d8c55cdd..4dd0a3a37 100644 --- a/src/test/java/testsuite/simple/MiniAdminTest.java +++ b/src/test/java/testsuite/simple/MiniAdminTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.simple; diff --git a/src/test/java/testsuite/simple/MultiHostConnectionTest.java b/src/test/java/testsuite/simple/MultiHostConnectionTest.java index ae8d9fc29..1f69e82c8 100644 --- a/src/test/java/testsuite/simple/MultiHostConnectionTest.java +++ b/src/test/java/testsuite/simple/MultiHostConnectionTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.simple; diff --git a/src/test/java/testsuite/simple/NumbersTest.java b/src/test/java/testsuite/simple/NumbersTest.java index 3cc522a3f..0441b33a1 100644 --- a/src/test/java/testsuite/simple/NumbersTest.java +++ b/src/test/java/testsuite/simple/NumbersTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.simple; diff --git a/src/test/java/testsuite/simple/QueryAttributesTest.java b/src/test/java/testsuite/simple/QueryAttributesTest.java index e707d13dc..e4a04cb7d 100644 --- a/src/test/java/testsuite/simple/QueryAttributesTest.java +++ b/src/test/java/testsuite/simple/QueryAttributesTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2021, 2023, Oracle and/or its affiliates. + * Copyright (c) 2021, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.simple; diff --git a/src/test/java/testsuite/simple/ReadOnlyCallableStatementTest.java b/src/test/java/testsuite/simple/ReadOnlyCallableStatementTest.java index 4741a64bf..448a38e15 100644 --- a/src/test/java/testsuite/simple/ReadOnlyCallableStatementTest.java +++ b/src/test/java/testsuite/simple/ReadOnlyCallableStatementTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.simple; diff --git a/src/test/java/testsuite/simple/ResultSetTest.java b/src/test/java/testsuite/simple/ResultSetTest.java index 5608a1eae..f64e3267b 100644 --- a/src/test/java/testsuite/simple/ResultSetTest.java +++ b/src/test/java/testsuite/simple/ResultSetTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2005, 2023, Oracle and/or its affiliates. + * Copyright (c) 2005, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.simple; diff --git a/src/test/java/testsuite/simple/SaslPrepTest.java b/src/test/java/testsuite/simple/SaslPrepTest.java index 08f82019c..161417d92 100644 --- a/src/test/java/testsuite/simple/SaslPrepTest.java +++ b/src/test/java/testsuite/simple/SaslPrepTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2020, 2023, Oracle and/or its affiliates. + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.simple; diff --git a/src/test/java/testsuite/simple/SecureConnectionTest.java b/src/test/java/testsuite/simple/SecureConnectionTest.java index ca25d58a5..74f805961 100644 --- a/src/test/java/testsuite/simple/SecureConnectionTest.java +++ b/src/test/java/testsuite/simple/SecureConnectionTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.simple; diff --git a/src/test/java/testsuite/simple/SequentialIdLeaseTest.java b/src/test/java/testsuite/simple/SequentialIdLeaseTest.java index bb3a5b78a..8cf777e33 100644 --- a/src/test/java/testsuite/simple/SequentialIdLeaseTest.java +++ b/src/test/java/testsuite/simple/SequentialIdLeaseTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2019, 2023, Oracle and/or its affiliates. + * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.simple; diff --git a/src/test/java/testsuite/simple/ServerControllerTest.java b/src/test/java/testsuite/simple/ServerControllerTest.java index 5f1268cfe..adf6a5ba1 100644 --- a/src/test/java/testsuite/simple/ServerControllerTest.java +++ b/src/test/java/testsuite/simple/ServerControllerTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.simple; diff --git a/src/test/java/testsuite/simple/SimpleTransformer.java b/src/test/java/testsuite/simple/SimpleTransformer.java index 4626687c9..003105535 100644 --- a/src/test/java/testsuite/simple/SimpleTransformer.java +++ b/src/test/java/testsuite/simple/SimpleTransformer.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.simple; diff --git a/src/test/java/testsuite/simple/SplitDBdotNameTest.java b/src/test/java/testsuite/simple/SplitDBdotNameTest.java index 5a754df98..a9929fea5 100644 --- a/src/test/java/testsuite/simple/SplitDBdotNameTest.java +++ b/src/test/java/testsuite/simple/SplitDBdotNameTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.simple; diff --git a/src/test/java/testsuite/simple/StatementsTest.java b/src/test/java/testsuite/simple/StatementsTest.java index a6c5ddd34..b5c5b1728 100644 --- a/src/test/java/testsuite/simple/StatementsTest.java +++ b/src/test/java/testsuite/simple/StatementsTest.java @@ -1,30 +1,21 @@ /* * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.simple; diff --git a/src/test/java/testsuite/simple/TestLifecycleInterceptor.java b/src/test/java/testsuite/simple/TestLifecycleInterceptor.java index 19dc79368..35b976176 100644 --- a/src/test/java/testsuite/simple/TestLifecycleInterceptor.java +++ b/src/test/java/testsuite/simple/TestLifecycleInterceptor.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.simple; diff --git a/src/test/java/testsuite/simple/TransactionTest.java b/src/test/java/testsuite/simple/TransactionTest.java index 9fbc30b54..ac62339c4 100644 --- a/src/test/java/testsuite/simple/TransactionTest.java +++ b/src/test/java/testsuite/simple/TransactionTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.simple; diff --git a/src/test/java/testsuite/simple/TraversalTest.java b/src/test/java/testsuite/simple/TraversalTest.java index c4eeba808..29238bbdd 100644 --- a/src/test/java/testsuite/simple/TraversalTest.java +++ b/src/test/java/testsuite/simple/TraversalTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.simple; diff --git a/src/test/java/testsuite/simple/UpdatabilityTest.java b/src/test/java/testsuite/simple/UpdatabilityTest.java index f53a1a1f5..e5d22b428 100644 --- a/src/test/java/testsuite/simple/UpdatabilityTest.java +++ b/src/test/java/testsuite/simple/UpdatabilityTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2002, 2023, Oracle and/or its affiliates. + * Copyright (c) 2002, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.simple; diff --git a/src/test/java/testsuite/simple/UtilsTest.java b/src/test/java/testsuite/simple/UtilsTest.java index 145d970c3..0d55710c5 100644 --- a/src/test/java/testsuite/simple/UtilsTest.java +++ b/src/test/java/testsuite/simple/UtilsTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.simple; diff --git a/src/test/java/testsuite/simple/XATest.java b/src/test/java/testsuite/simple/XATest.java index e9dea977d..aaadd3211 100644 --- a/src/test/java/testsuite/simple/XATest.java +++ b/src/test/java/testsuite/simple/XATest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2005, 2023, Oracle and/or its affiliates. + * Copyright (c) 2005, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.simple; diff --git a/src/test/java/testsuite/x/devapi/AsyncQueryTest.java b/src/test/java/testsuite/x/devapi/AsyncQueryTest.java index 7b0e9caf2..b48e8e006 100644 --- a/src/test/java/testsuite/x/devapi/AsyncQueryTest.java +++ b/src/test/java/testsuite/x/devapi/AsyncQueryTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.x.devapi; diff --git a/src/test/java/testsuite/x/devapi/BaseCollectionTestCase.java b/src/test/java/testsuite/x/devapi/BaseCollectionTestCase.java index a38bc1399..e18c87892 100644 --- a/src/test/java/testsuite/x/devapi/BaseCollectionTestCase.java +++ b/src/test/java/testsuite/x/devapi/BaseCollectionTestCase.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2017, 2023, Oracle and/or its affiliates. + * Copyright (c) 2017, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.x.devapi; diff --git a/src/test/java/testsuite/x/devapi/BaseTableTestCase.java b/src/test/java/testsuite/x/devapi/BaseTableTestCase.java index 5b5938d56..5f45b4139 100644 --- a/src/test/java/testsuite/x/devapi/BaseTableTestCase.java +++ b/src/test/java/testsuite/x/devapi/BaseTableTestCase.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2017, 2023, Oracle and/or its affiliates. + * Copyright (c) 2017, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.x.devapi; diff --git a/src/test/java/testsuite/x/devapi/BindTest.java b/src/test/java/testsuite/x/devapi/BindTest.java index 474687aff..40e6d070d 100644 --- a/src/test/java/testsuite/x/devapi/BindTest.java +++ b/src/test/java/testsuite/x/devapi/BindTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.x.devapi; diff --git a/src/test/java/testsuite/x/devapi/CollectionAddTest.java b/src/test/java/testsuite/x/devapi/CollectionAddTest.java index f1042633e..666764df0 100644 --- a/src/test/java/testsuite/x/devapi/CollectionAddTest.java +++ b/src/test/java/testsuite/x/devapi/CollectionAddTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.x.devapi; diff --git a/src/test/java/testsuite/x/devapi/CollectionFindTest.java b/src/test/java/testsuite/x/devapi/CollectionFindTest.java index f137d7c4a..4f644dd0c 100644 --- a/src/test/java/testsuite/x/devapi/CollectionFindTest.java +++ b/src/test/java/testsuite/x/devapi/CollectionFindTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.x.devapi; diff --git a/src/test/java/testsuite/x/devapi/CollectionModifyTest.java b/src/test/java/testsuite/x/devapi/CollectionModifyTest.java index 93cc0b075..59f1cc1e1 100644 --- a/src/test/java/testsuite/x/devapi/CollectionModifyTest.java +++ b/src/test/java/testsuite/x/devapi/CollectionModifyTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.x.devapi; diff --git a/src/test/java/testsuite/x/devapi/CollectionRemoveTest.java b/src/test/java/testsuite/x/devapi/CollectionRemoveTest.java index 2554083b0..557d0f85d 100644 --- a/src/test/java/testsuite/x/devapi/CollectionRemoveTest.java +++ b/src/test/java/testsuite/x/devapi/CollectionRemoveTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.x.devapi; diff --git a/src/test/java/testsuite/x/devapi/CollectionTest.java b/src/test/java/testsuite/x/devapi/CollectionTest.java index 306e8fd71..afc572196 100644 --- a/src/test/java/testsuite/x/devapi/CollectionTest.java +++ b/src/test/java/testsuite/x/devapi/CollectionTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.x.devapi; diff --git a/src/test/java/testsuite/x/devapi/CompressionTest.java b/src/test/java/testsuite/x/devapi/CompressionTest.java index 8c1545421..13e5f34ee 100644 --- a/src/test/java/testsuite/x/devapi/CompressionTest.java +++ b/src/test/java/testsuite/x/devapi/CompressionTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2020, 2023, Oracle and/or its affiliates. + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.x.devapi; diff --git a/src/test/java/testsuite/x/devapi/DevApiBaseTestCase.java b/src/test/java/testsuite/x/devapi/DevApiBaseTestCase.java index 49440195c..155a0b7fe 100644 --- a/src/test/java/testsuite/x/devapi/DevApiBaseTestCase.java +++ b/src/test/java/testsuite/x/devapi/DevApiBaseTestCase.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.x.devapi; diff --git a/src/test/java/testsuite/x/devapi/Ipv6SupportTest.java b/src/test/java/testsuite/x/devapi/Ipv6SupportTest.java index 0be725269..ac4d423b2 100644 --- a/src/test/java/testsuite/x/devapi/Ipv6SupportTest.java +++ b/src/test/java/testsuite/x/devapi/Ipv6SupportTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.x.devapi; diff --git a/src/test/java/testsuite/x/devapi/MetadataTest.java b/src/test/java/testsuite/x/devapi/MetadataTest.java index 007c3436f..780673a76 100644 --- a/src/test/java/testsuite/x/devapi/MetadataTest.java +++ b/src/test/java/testsuite/x/devapi/MetadataTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.x.devapi; diff --git a/src/test/java/testsuite/x/devapi/ResultTest.java b/src/test/java/testsuite/x/devapi/ResultTest.java index ed97d8405..95cb136f0 100644 --- a/src/test/java/testsuite/x/devapi/ResultTest.java +++ b/src/test/java/testsuite/x/devapi/ResultTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.x.devapi; diff --git a/src/test/java/testsuite/x/devapi/RowLockingTest.java b/src/test/java/testsuite/x/devapi/RowLockingTest.java index 2a0ebbd16..4fae25ba7 100644 --- a/src/test/java/testsuite/x/devapi/RowLockingTest.java +++ b/src/test/java/testsuite/x/devapi/RowLockingTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2021, 2023, Oracle and/or its affiliates. + * Copyright (c) 2021, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.x.devapi; diff --git a/src/test/java/testsuite/x/devapi/SchemaTest.java b/src/test/java/testsuite/x/devapi/SchemaTest.java index 7b147b4aa..9b4083d64 100644 --- a/src/test/java/testsuite/x/devapi/SchemaTest.java +++ b/src/test/java/testsuite/x/devapi/SchemaTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.x.devapi; diff --git a/src/test/java/testsuite/x/devapi/SecureSessionTest.java b/src/test/java/testsuite/x/devapi/SecureSessionTest.java index 9a85cf773..542ecdf74 100644 --- a/src/test/java/testsuite/x/devapi/SecureSessionTest.java +++ b/src/test/java/testsuite/x/devapi/SecureSessionTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2017, 2023, Oracle and/or its affiliates. + * Copyright (c) 2017, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.x.devapi; diff --git a/src/test/java/testsuite/x/devapi/SessionFailoverTest.java b/src/test/java/testsuite/x/devapi/SessionFailoverTest.java index 5131536e2..e5605341e 100644 --- a/src/test/java/testsuite/x/devapi/SessionFailoverTest.java +++ b/src/test/java/testsuite/x/devapi/SessionFailoverTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2016, 2023, Oracle and/or its affiliates. + * Copyright (c) 2016, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.x.devapi; diff --git a/src/test/java/testsuite/x/devapi/SessionTest.java b/src/test/java/testsuite/x/devapi/SessionTest.java index 8f08bb875..cceec0f7b 100644 --- a/src/test/java/testsuite/x/devapi/SessionTest.java +++ b/src/test/java/testsuite/x/devapi/SessionTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.x.devapi; diff --git a/src/test/java/testsuite/x/devapi/TableDeleteTest.java b/src/test/java/testsuite/x/devapi/TableDeleteTest.java index 3058e3a61..d2a8bc558 100644 --- a/src/test/java/testsuite/x/devapi/TableDeleteTest.java +++ b/src/test/java/testsuite/x/devapi/TableDeleteTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.x.devapi; diff --git a/src/test/java/testsuite/x/devapi/TableInsertTest.java b/src/test/java/testsuite/x/devapi/TableInsertTest.java index b36b02e4f..489ffe26b 100644 --- a/src/test/java/testsuite/x/devapi/TableInsertTest.java +++ b/src/test/java/testsuite/x/devapi/TableInsertTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.x.devapi; diff --git a/src/test/java/testsuite/x/devapi/TableSelectTest.java b/src/test/java/testsuite/x/devapi/TableSelectTest.java index f35edccf8..0367b105c 100644 --- a/src/test/java/testsuite/x/devapi/TableSelectTest.java +++ b/src/test/java/testsuite/x/devapi/TableSelectTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.x.devapi; diff --git a/src/test/java/testsuite/x/devapi/TableTest.java b/src/test/java/testsuite/x/devapi/TableTest.java index a31f6dfad..e19d69fa4 100644 --- a/src/test/java/testsuite/x/devapi/TableTest.java +++ b/src/test/java/testsuite/x/devapi/TableTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.x.devapi; diff --git a/src/test/java/testsuite/x/devapi/TableUpdateTest.java b/src/test/java/testsuite/x/devapi/TableUpdateTest.java index a77067874..87c8396f3 100644 --- a/src/test/java/testsuite/x/devapi/TableUpdateTest.java +++ b/src/test/java/testsuite/x/devapi/TableUpdateTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.x.devapi; diff --git a/src/test/java/testsuite/x/devapi/TransactionTest.java b/src/test/java/testsuite/x/devapi/TransactionTest.java index a9ff3a6d0..8d9677862 100644 --- a/src/test/java/testsuite/x/devapi/TransactionTest.java +++ b/src/test/java/testsuite/x/devapi/TransactionTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.x.devapi; diff --git a/src/test/java/testsuite/x/devapi/package-info.java b/src/test/java/testsuite/x/devapi/package-info.java index 41e1a27d8..24d1b1089 100644 --- a/src/test/java/testsuite/x/devapi/package-info.java +++ b/src/test/java/testsuite/x/devapi/package-info.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2020, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ /** diff --git a/src/test/java/testsuite/x/internal/InternalXBaseTestCase.java b/src/test/java/testsuite/x/internal/InternalXBaseTestCase.java index aea17e639..22874d88b 100644 --- a/src/test/java/testsuite/x/internal/InternalXBaseTestCase.java +++ b/src/test/java/testsuite/x/internal/InternalXBaseTestCase.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.x.internal; diff --git a/src/test/java/testsuite/x/internal/MysqlxSessionTest.java b/src/test/java/testsuite/x/internal/MysqlxSessionTest.java index 646e885aa..5b7887bec 100644 --- a/src/test/java/testsuite/x/internal/MysqlxSessionTest.java +++ b/src/test/java/testsuite/x/internal/MysqlxSessionTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.x.internal; diff --git a/src/test/java/testsuite/x/internal/XProtocolAsyncTest.java b/src/test/java/testsuite/x/internal/XProtocolAsyncTest.java index 3246c65e1..85c80d806 100644 --- a/src/test/java/testsuite/x/internal/XProtocolAsyncTest.java +++ b/src/test/java/testsuite/x/internal/XProtocolAsyncTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.x.internal; diff --git a/src/test/java/testsuite/x/internal/XProtocolAuthTest.java b/src/test/java/testsuite/x/internal/XProtocolAuthTest.java index aa17e31f8..001333333 100644 --- a/src/test/java/testsuite/x/internal/XProtocolAuthTest.java +++ b/src/test/java/testsuite/x/internal/XProtocolAuthTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.x.internal; diff --git a/src/test/java/testsuite/x/internal/XProtocolTest.java b/src/test/java/testsuite/x/internal/XProtocolTest.java index e3bfd9ffb..1a6d1cdf3 100644 --- a/src/test/java/testsuite/x/internal/XProtocolTest.java +++ b/src/test/java/testsuite/x/internal/XProtocolTest.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2023, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package testsuite.x.internal; diff --git a/src/test/java/testsuite/x/internal/package-info.java b/src/test/java/testsuite/x/internal/package-info.java index 4b5e9e1ee..d35213653 100644 --- a/src/test/java/testsuite/x/internal/package-info.java +++ b/src/test/java/testsuite/x/internal/package-info.java @@ -1,30 +1,21 @@ /* - * Copyright (c) 2015, 2020, Oracle and/or its affiliates. + * Copyright (c) 2015, 2024, Oracle and/or its affiliates. * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU General Public License, version 2.0, as published by the - * Free Software Foundation. + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. * - * This program is also distributed with certain software (including but not - * limited to OpenSSL) that is licensed under separate terms, as designated in a - * particular file or component or in included license documentation. The - * authors of MySQL hereby grant you an additional permission to link the - * program and your derivative works with the separately licensed software that - * they have included with MySQL. + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. * - * Without limiting anything contained in the foregoing, this file, which is - * part of MySQL Connector/J, is also subject to the Universal FOSS Exception, - * version 1.0, a copy of which can be found at - * http://oss.oracle.com/licenses/universal-foss-exception. + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, - * for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ /** From 8b40d85d38f83781e940e2788474db0b89da10c2 Mon Sep 17 00:00:00 2001 From: Axyoan Marcelo Date: Tue, 5 Mar 2024 12:50:51 -0600 Subject: [PATCH 13/18] Fix for Bug#113600 (Bug#36171575), Contribution: Fix join condition for retrieval of imported primary keys. Change-Id: I94d36d86bb8cd6aa3992a03d99d76f0e0bbdbca3 --- CHANGES | 3 + .../jdbc/DatabaseMetaDataUsingInfoSchema.java | 2 +- .../regression/MetaDataRegressionTest.java | 80 +++++++++++++++++++ 3 files changed, 84 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 273b4b03f..33e26aade 100644 --- a/CHANGES +++ b/CHANGES @@ -3,6 +3,9 @@ Version 8.4.0 + - Fix for Bug#113600 (Bug#36171575), Contribution: Fix join condition for retrieval of imported primary keys. + Thanks to Henning Pƶttker for his contribution. + - WL#16196, GPL License Exception Update. - Fix for Bug#111031 (Bug#35392222), Contribution: Update SyntaxRegressionTest.java. diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/DatabaseMetaDataUsingInfoSchema.java b/src/main/user-impl/java/com/mysql/cj/jdbc/DatabaseMetaDataUsingInfoSchema.java index b15d43b34..1686fe58a 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/DatabaseMetaDataUsingInfoSchema.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/DatabaseMetaDataUsingInfoSchema.java @@ -447,7 +447,7 @@ public java.sql.ResultSet getImportedKeys(String catalog, String schema, String sqlBuf.append(" AS DELETE_RULE, A.CONSTRAINT_NAME AS FK_NAME, R.UNIQUE_CONSTRAINT_NAME AS PK_NAME,"); sqlBuf.append(importedKeyNotDeferrable); sqlBuf.append(" AS DEFERRABILITY FROM INFORMATION_SCHEMA.KEY_COLUMN_USAGE A"); - sqlBuf.append(" JOIN INFORMATION_SCHEMA.TABLE_CONSTRAINTS B USING (CONSTRAINT_NAME, TABLE_NAME) "); + sqlBuf.append(" JOIN INFORMATION_SCHEMA.TABLE_CONSTRAINTS B USING (CONSTRAINT_SCHEMA, CONSTRAINT_NAME, TABLE_NAME) "); sqlBuf.append(generateOptionalRefContraintsJoin()); sqlBuf.append("WHERE B.CONSTRAINT_TYPE = 'FOREIGN KEY'"); if (db != null) { diff --git a/src/test/java/testsuite/regression/MetaDataRegressionTest.java b/src/test/java/testsuite/regression/MetaDataRegressionTest.java index 9b97fd012..cc97d3f9a 100644 --- a/src/test/java/testsuite/regression/MetaDataRegressionTest.java +++ b/src/test/java/testsuite/regression/MetaDataRegressionTest.java @@ -5580,4 +5580,84 @@ void testBug91550() throws Exception { assertEquals("$", md.getExtraNameCharacters()); } + /** + * Tests fix for Bug#113600 (Bug#36171575), Contribution: Fix join condition for retrieval of imported primary keys. + * + * @throws Exception + */ + @Test + public void testBug113600() throws Exception { + String databaseName1 = "dbBug113600_1"; + String databaseName2 = "dbBug113600_2"; + if (isServerRunningOnWindows()) { + databaseName1 = databaseName1.toLowerCase(); + databaseName2 = databaseName2.toLowerCase(); + } + String tableName1 = "table1"; + String tableName2 = "table2"; + String constraintName = "fk_table2_fk_id"; + + createDatabase(databaseName1); + createTable(databaseName1 + "." + tableName1, "(`ID` bigint unsigned AUTO_INCREMENT PRIMARY KEY)"); + createTable(databaseName1 + "." + tableName2, "(`ID` bigint unsigned AUTO_INCREMENT PRIMARY KEY, `FK_ID` bigint unsigned NOT NULL," + "CONSTRAINT `" + + constraintName + "` FOREIGN KEY (`FK_ID`) REFERENCES `" + databaseName1 + "`.`" + tableName1 + "` (`ID`) ON DELETE CASCADE)"); + createDatabase(databaseName2); + createTable(databaseName2 + "." + tableName1, "(`ID` bigint unsigned AUTO_INCREMENT PRIMARY KEY)"); + createTable(databaseName2 + "." + tableName2, "(`ID` bigint unsigned AUTO_INCREMENT PRIMARY KEY, `FK_ID` bigint unsigned NOT NULL," + "CONSTRAINT `" + + constraintName + "` FOREIGN KEY (`FK_ID`) REFERENCES `" + databaseName2 + "`.`" + tableName1 + "` (`ID`) ON DELETE RESTRICT)"); + + Properties props = new Properties(); + props.setProperty(PropertyKey.sslMode.getKeyName(), SslMode.DISABLED.name()); + props.setProperty(PropertyKey.allowPublicKeyRetrieval.getKeyName(), "true"); + boolean useIS = false; + boolean dbTermIsSchema = false; + do { + String databaseTerm = dbTermIsSchema ? "SCHEMA" : "CATALOG"; + props.setProperty(PropertyKey.useInformationSchema.getKeyName(), "" + useIS); + props.setProperty(PropertyKey.databaseTerm.getKeyName(), databaseTerm); + Connection con = getConnectionWithProps(props); + DatabaseMetaData md = con.getMetaData(); + + final String testCase = String.format("Case [useIS: %s, databaseTerm: %s]", useIS ? "Y" : "N", databaseTerm); + + this.rs = dbTermIsSchema ? md.getImportedKeys(null, databaseName1, tableName2) : md.getImportedKeys(databaseName1, null, tableName2); + assertTrue(this.rs.next(), testCase); + assertEquals(dbTermIsSchema ? "def" : databaseName1, this.rs.getString("PKTABLE_CAT"), testCase); + assertEquals(dbTermIsSchema ? databaseName1 : null, this.rs.getString("PKTABLE_SCHEM"), testCase); + assertEquals(dbTermIsSchema ? "def" : databaseName1, this.rs.getString("FKTABLE_CAT"), testCase); + assertEquals(dbTermIsSchema ? databaseName1 : null, this.rs.getString("FKTABLE_SCHEM"), testCase); + assertEquals(tableName1, this.rs.getString("PKTABLE_NAME"), testCase); + assertEquals("ID", this.rs.getString("PKCOLUMN_NAME"), testCase); + assertEquals(tableName2, this.rs.getString("FKTABLE_NAME"), testCase); + assertEquals("FK_ID", this.rs.getString("FKCOLUMN_NAME"), testCase); + assertEquals(1, this.rs.getInt("KEY_SEQ"), testCase); + assertEquals(1, this.rs.getInt("UPDATE_RULE"), testCase); + assertEquals(0, this.rs.getInt("DELETE_RULE"), testCase); + assertEquals(constraintName, this.rs.getString("FK_NAME"), testCase); + assertEquals(useIS ? "PRIMARY" : null, this.rs.getString("PK_NAME"), testCase); + assertEquals(7, this.rs.getInt("DEFERRABILITY"), testCase); + assertFalse(this.rs.next(), testCase); + + this.rs = dbTermIsSchema ? md.getImportedKeys(null, databaseName2, tableName2) : md.getImportedKeys(databaseName2, null, tableName2); + assertTrue(this.rs.next(), testCase); + assertEquals(dbTermIsSchema ? "def" : databaseName2, this.rs.getString("PKTABLE_CAT"), testCase); + assertEquals(dbTermIsSchema ? databaseName2 : null, this.rs.getString("PKTABLE_SCHEM"), testCase); + assertEquals(dbTermIsSchema ? "def" : databaseName2, this.rs.getString("FKTABLE_CAT"), testCase); + assertEquals(dbTermIsSchema ? databaseName2 : null, this.rs.getString("FKTABLE_SCHEM"), testCase); + assertEquals(tableName1, this.rs.getString("PKTABLE_NAME"), testCase); + assertEquals("ID", this.rs.getString("PKCOLUMN_NAME"), testCase); + assertEquals(tableName2, this.rs.getString("FKTABLE_NAME"), testCase); + assertEquals("FK_ID", this.rs.getString("FKCOLUMN_NAME"), testCase); + assertEquals(1, this.rs.getInt("KEY_SEQ"), testCase); + assertEquals(1, this.rs.getInt("UPDATE_RULE"), testCase); + assertEquals(1, this.rs.getInt("DELETE_RULE"), testCase); + assertEquals(constraintName, this.rs.getString("FK_NAME"), testCase); + assertEquals(useIS ? "PRIMARY" : null, this.rs.getString("PK_NAME"), testCase); + assertEquals(7, this.rs.getInt("DEFERRABILITY"), testCase); + assertFalse(this.rs.next(), testCase); + + con.close(); + } while ((useIS = !useIS) || (dbTermIsSchema = !dbTermIsSchema)); + } + } From 6fbbd21ffcc9047b5923e9b9dc3edf31338e578e Mon Sep 17 00:00:00 2001 From: Filipe Silva Date: Fri, 8 Mar 2024 01:42:51 +0000 Subject: [PATCH 14/18] Fix for Bug#36380711, Tests failing due to removal of deprecated features. Change-Id: I1e0df877b04b73a68631256d9637b9bc5da75627 --- CHANGES | 2 + .../com/mysql/cj/jdbc/DatabaseMetaData.java | 4 -- .../regression/ConnectionRegressionTest.java | 6 +- .../regression/MetaDataRegressionTest.java | 9 +-- .../testsuite/x/devapi/TableInsertTest.java | 59 ++++++++++--------- 5 files changed, 42 insertions(+), 38 deletions(-) diff --git a/CHANGES b/CHANGES index 33e26aade..3fced081b 100644 --- a/CHANGES +++ b/CHANGES @@ -3,6 +3,8 @@ Version 8.4.0 + - Fix for Bug#36380711, Tests failing due to removal of deprecated features. + - Fix for Bug#113600 (Bug#36171575), Contribution: Fix join condition for retrieval of imported primary keys. Thanks to Henning Pƶttker for his contribution. diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/DatabaseMetaData.java b/src/main/user-impl/java/com/mysql/cj/jdbc/DatabaseMetaData.java index 4e7bac5ab..50330968c 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/DatabaseMetaData.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/DatabaseMetaData.java @@ -3986,10 +3986,6 @@ private byte[][] getTypeInfo(String mysqlTypeName) throws SQLException { case BIGINT: case BIGINT_UNSIGNED: case BOOLEAN: - case DOUBLE: - case DOUBLE_UNSIGNED: - case FLOAT: - case FLOAT_UNSIGNED: case INT: case INT_UNSIGNED: case MEDIUMINT: diff --git a/src/test/java/testsuite/regression/ConnectionRegressionTest.java b/src/test/java/testsuite/regression/ConnectionRegressionTest.java index d954b7950..698037507 100644 --- a/src/test/java/testsuite/regression/ConnectionRegressionTest.java +++ b/src/test/java/testsuite/regression/ConnectionRegressionTest.java @@ -6751,10 +6751,10 @@ public void testBug20825727() throws Exception { JdbcConnection testConn = (JdbcConnection) getConnectionWithProps(dbUrl, props); Statement testStmt = testConn.createStatement(); - this.rs = testStmt.executeQuery("SELECT @@GLOBAL.HAVE_SSL = 'YES' AS have_ssl"); - final boolean sslEnabled = this.rs.next() && this.rs.getBoolean(1); + this.rs = testStmt.executeQuery("SHOW STATUS LIKE 'Ssl_version'"); + final boolean sslEnabled = this.rs.next() && !this.rs.getString(1).isEmpty(); - this.rs = testStmt.executeQuery("SHOW STATUS LIKE '%Rsa_public_key%'"); + this.rs = testStmt.executeQuery("SHOW STATUS LIKE 'Rsa_public_key'"); final boolean rsaEnabled = this.rs.next() && this.rs.getString(1).length() > 0; System.out.println(); diff --git a/src/test/java/testsuite/regression/MetaDataRegressionTest.java b/src/test/java/testsuite/regression/MetaDataRegressionTest.java index cc97d3f9a..4b6318c6a 100644 --- a/src/test/java/testsuite/regression/MetaDataRegressionTest.java +++ b/src/test/java/testsuite/regression/MetaDataRegressionTest.java @@ -1048,9 +1048,9 @@ public void testBug11575() throws Exception { */ @Test public void testBug11781() throws Exception { - createTable("`app tab`", "( C1 int(11) NULL, C2 int(11) NULL, INDEX NEWINX (C1), INDEX NEWINX2 (C1, C2))", "InnoDB"); + createTable("`app tab`", "(C1 INT(11) NOT NULL PRIMARY KEY, C2 INT(11) NULL, INDEX NEWINX1 (C1), INDEX NEWINX2 (C1, C2))", "InnoDB"); - this.stmt.executeUpdate("ALTER TABLE `app tab` ADD CONSTRAINT APPFK FOREIGN KEY (C1) REFERENCES `app tab` (C1)"); + this.stmt.executeUpdate("ALTER TABLE `app tab` ADD CONSTRAINT APPFK FOREIGN KEY (C2) REFERENCES `app tab` (C1)"); /* * this.rs = this.conn.getMetaData().getCrossReference( @@ -1074,7 +1074,7 @@ public void testBug11781() throws Exception { this.rs = ((com.mysql.cj.jdbc.DatabaseMetaData) con.getMetaData()).extractForeignKeyFromCreateTable(db, "app tab"); assertTrue(this.rs.next(), "must return a row"); - assertEquals(("comment; APPFK(`C1`) REFER `" + db + "`/ `app tab` (`C1`)").toUpperCase(), this.rs.getString(3).toUpperCase()); + assertEquals(("comment; APPFK(`C2`) REFER `" + db + "`/ `app tab` (`C1`)").toUpperCase(), this.rs.getString(3).toUpperCase()); this.rs.close(); @@ -3266,7 +3266,8 @@ private void testBug65871_testTable(String unquotedDbName, String quotedDbName, + (((JdbcConnection) st1.getConnection()).getPropertySet().getEnumProperty(PropertyKey.databaseTerm) .getValue() == DatabaseTerm.SCHEMA ? this.conn.getSchema() : this.conn.getCatalog()) + ".testbug65871_foreign(cpd_foreign_1_id, cpd_foreign_2_id), CONSTRAINT `APPFK` FOREIGN KEY (`C\"1`) REFERENCES " + quotedDbName + "." - + quotedTableName + " (`C\"1`)) ENGINE=InnoDB"; + + quotedTableName + " (\"`B`EST`\")) ENGINE=InnoDB"; + st1.executeUpdate(sql); // 1. Create table diff --git a/src/test/java/testsuite/x/devapi/TableInsertTest.java b/src/test/java/testsuite/x/devapi/TableInsertTest.java index 489ffe26b..2f9a99bd6 100644 --- a/src/test/java/testsuite/x/devapi/TableInsertTest.java +++ b/src/test/java/testsuite/x/devapi/TableInsertTest.java @@ -31,6 +31,7 @@ import org.junit.jupiter.api.Test; +import com.mysql.cj.ServerVersion; import com.mysql.cj.xdevapi.DbDoc; import com.mysql.cj.xdevapi.DbDocImpl; import com.mysql.cj.xdevapi.InsertResult; @@ -266,9 +267,7 @@ public void testGetAutoIncrementValue() { InsertResult res = null; try { sqlUpdate("drop table if exists qatable1"); - sqlUpdate("drop table if exists qatable2"); sqlUpdate("create table qatable1 (x bigint auto_increment primary key,y double)"); - sqlUpdate("create table qatable2 (x double auto_increment primary key,y bigint)"); table = this.schema.getTable("qatable1", true); res = table.insert("y").values(101.1).execute(); @@ -303,31 +302,37 @@ public void testGetAutoIncrementValue() { assertEquals(9223372036854775803L, (long) res.getAutoIncrementValue()); assertEquals(1L, res.getAffectedItemsCount()); - table = this.schema.getTable("qatable2"); - res = table.insert("y").values(101.1).execute(); - assertEquals(1L, (long) res.getAutoIncrementValue()); - assertEquals(1L, res.getAffectedItemsCount()); - - res = table.insert("y").values(102.1).values(103.1).values(104.1).execute(); - assertEquals(2L, (long) res.getAutoIncrementValue()); - assertEquals(3L, res.getAffectedItemsCount()); - - row = new HashMap<>(); - row.put("y", expr("concat('1','05.1')")); - - res = table.insert(row).execute(); - assertEquals(5L, (long) res.getAutoIncrementValue()); - assertEquals(1L, res.getAffectedItemsCount()); - - this.session.sql("ALTER TABLE qatable2 AUTO_INCREMENT = 4294967299000000").execute(); - res = table.insert("y").values(102.1).values(103.1).values(104.1).execute(); - assertEquals(4294967299000000L, (long) res.getAutoIncrementValue()); - assertEquals(3L, res.getAffectedItemsCount()); - - this.session.sql("ALTER TABLE qatable2 AUTO_INCREMENT = 4294967299000000").execute(); - res = table.insert(row).execute(); - assertEquals(4294967299000003L, (long) res.getAutoIncrementValue()); - assertEquals(1L, res.getAffectedItemsCount()); + if (!mysqlVersionMeetsMinimum(ServerVersion.parseVersion("8.4.0"))) { + // AUTO_INCREMENT for DOUBLE removed in MySQL 8.4.0. + sqlUpdate("drop table if exists qatable2"); + sqlUpdate("create table qatable2 (x double auto_increment primary key,y bigint)"); + + table = this.schema.getTable("qatable2"); + res = table.insert("y").values(101.1).execute(); + assertEquals(1L, (long) res.getAutoIncrementValue()); + assertEquals(1L, res.getAffectedItemsCount()); + + res = table.insert("y").values(102.1).values(103.1).values(104.1).execute(); + assertEquals(2L, (long) res.getAutoIncrementValue()); + assertEquals(3L, res.getAffectedItemsCount()); + + row = new HashMap<>(); + row.put("y", expr("concat('1','05.1')")); + + res = table.insert(row).execute(); + assertEquals(5L, (long) res.getAutoIncrementValue()); + assertEquals(1L, res.getAffectedItemsCount()); + + this.session.sql("ALTER TABLE qatable2 AUTO_INCREMENT = 4294967299000000").execute(); + res = table.insert("y").values(102.1).values(103.1).values(104.1).execute(); + assertEquals(4294967299000000L, (long) res.getAutoIncrementValue()); + assertEquals(3L, res.getAffectedItemsCount()); + + this.session.sql("ALTER TABLE qatable2 AUTO_INCREMENT = 4294967299000000").execute(); + res = table.insert(row).execute(); + assertEquals(4294967299000003L, (long) res.getAutoIncrementValue()); + assertEquals(1L, res.getAffectedItemsCount()); + } } finally { sqlUpdate("drop table if exists qatable1"); sqlUpdate("drop table if exists qatable2"); From 6758555135610fa88993d9e557d013e6e5248aa9 Mon Sep 17 00:00:00 2001 From: Axyoan Marcelo Date: Tue, 20 Feb 2024 13:05:02 -0600 Subject: [PATCH 15/18] WL#16174, Support for VECTOR data type. Change-Id: I76162363411033b45ac3b482f871cddef4f6a8fc --- CHANGES | 2 + .../core-api/java/com/mysql/cj/MysqlType.java | 12 ++++++ .../cj/result/DefaultColumnDefinition.java | 3 +- .../mysql/cj/protocol/a/NativeProtocol.java | 3 ++ .../com/mysql/cj/jdbc/DatabaseMetaData.java | 2 + .../mysql/cj/jdbc/result/ResultSetImpl.java | 1 + .../regression/MetaDataRegressionTest.java | 6 +++ .../regression/ResultSetRegressionTest.java | 5 +++ .../java/testsuite/simple/MetadataTest.java | 37 +++++++++++++++++++ .../java/testsuite/simple/ResultSetTest.java | 26 +++++++++++++ .../java/testsuite/simple/StatementsTest.java | 11 ++---- 11 files changed, 100 insertions(+), 8 deletions(-) diff --git a/CHANGES b/CHANGES index 3fced081b..586dd992d 100644 --- a/CHANGES +++ b/CHANGES @@ -3,6 +3,8 @@ Version 8.4.0 + - WL#16174, Support for VECTOR data type. + - Fix for Bug#36380711, Tests failing due to removal of deprecated features. - Fix for Bug#113600 (Bug#36171575), Contribution: Fix join condition for retrieval of imported primary keys. diff --git a/src/main/core-api/java/com/mysql/cj/MysqlType.java b/src/main/core-api/java/com/mysql/cj/MysqlType.java index 6f00b5a85..2a07a4e8d 100644 --- a/src/main/core-api/java/com/mysql/cj/MysqlType.java +++ b/src/main/core-api/java/com/mysql/cj/MysqlType.java @@ -421,6 +421,15 @@ public enum MysqlType implements SQLType { * Protocol: FIELD_TYPE_GEOMETRY = 255 */ GEOMETRY("GEOMETRY", Types.BINARY, null, 0, MysqlType.IS_NOT_DECIMAL, 65535L, ""), // TODO check precision, it isn't well documented, only mentioned that WKB format is represented by BLOB + /** + * VECTOR[(M)] + * A VECTOR column with a maximum length of 65,532 (16383 x 4) bytes. An optional length M can be given for this type which indicates the maximum number of + * entries in the VECTOR, with maximum of 16383. Each entry is a 4 Byte (single-precision) floating-point value. + * + * Protocol: FIELD_TYPE_VECTOR = 242 + */ + VECTOR("VECTOR", Types.LONGVARBINARY, null, 0, MysqlType.IS_NOT_DECIMAL, 65532L, "[(M)]"), + /** * Fall-back type for those MySQL data types which c/J can't recognize. * Handled the same as BLOB. @@ -607,6 +616,8 @@ public static MysqlType getByName(String fullMysqlTypeName) { ) { return GEOMETRY; // TODO think about different MysqlTypes for Spatial Data Types + } else if (StringUtils.indexOfIgnoreCase(typeName, "VECTOR") != -1) { + return VECTOR; } return UNKNOWN; @@ -1009,6 +1020,7 @@ public Integer getVendorTypeNumber() { public static final int FIELD_TYPE_YEAR = 13; public static final int FIELD_TYPE_VARCHAR = 15; public static final int FIELD_TYPE_BIT = 16; + public static final int FIELD_TYPE_VECTOR = 242; public static final int FIELD_TYPE_JSON = 245; public static final int FIELD_TYPE_NEWDECIMAL = 246; public static final int FIELD_TYPE_ENUM = 247; diff --git a/src/main/core-impl/java/com/mysql/cj/result/DefaultColumnDefinition.java b/src/main/core-impl/java/com/mysql/cj/result/DefaultColumnDefinition.java index c418a9b88..1ec38df66 100644 --- a/src/main/core-impl/java/com/mysql/cj/result/DefaultColumnDefinition.java +++ b/src/main/core-impl/java/com/mysql/cj/result/DefaultColumnDefinition.java @@ -213,7 +213,7 @@ public int findColumn(String columnName, boolean useColumnNamesInFindColumn, int } /** - * Check if fields with type BLOB, MEDIUMBLOB, LONGBLOB, TEXT, MEDIUMTEXT or LONGTEXT + * Check if fields with type BLOB, MEDIUMBLOB, LONGBLOB, TEXT, MEDIUMTEXT, LONGTEXT or VECTOR * exist in this ColumnDefinition. * This check is used for making a decision about whether we want to force a * buffer row (better for rows with large fields). @@ -232,6 +232,7 @@ public boolean hasLargeFields() { case MEDIUMTEXT: case LONGTEXT: case JSON: + case VECTOR: return true; default: break; diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeProtocol.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeProtocol.java index f6febd52c..7547b3c5d 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeProtocol.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeProtocol.java @@ -1619,6 +1619,9 @@ public static MysqlType findMysqlType(PropertySet propertySet, int mysqlTypeId, case MysqlType.FIELD_TYPE_GEOMETRY: return MysqlType.GEOMETRY; + case MysqlType.FIELD_TYPE_VECTOR: + return MysqlType.VECTOR; + default: return MysqlType.UNKNOWN; } diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/DatabaseMetaData.java b/src/main/user-impl/java/com/mysql/cj/jdbc/DatabaseMetaData.java index 50330968c..22cc07e6b 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/DatabaseMetaData.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/DatabaseMetaData.java @@ -3968,6 +3968,7 @@ private byte[][] getTypeInfo(String mysqlTypeName) throws SQLException { case DATETIME: case TIMESTAMP: case GEOMETRY: + case VECTOR: case UNKNOWN: rowVal[3] = s2b("'"); // Literal Prefix rowVal[4] = s2b("'"); // Literal Suffix @@ -4065,6 +4066,7 @@ public java.sql.ResultSet getTypeInfo() throws SQLException { tuples.add(new ByteArrayRow(getTypeInfo("MEDIUMBLOB"), getExceptionInterceptor())); tuples.add(new ByteArrayRow(getTypeInfo("LONGBLOB"), getExceptionInterceptor())); tuples.add(new ByteArrayRow(getTypeInfo("BLOB"), getExceptionInterceptor())); + tuples.add(new ByteArrayRow(getTypeInfo("VECTOR"), getExceptionInterceptor())); // java.sql.Types.VARBINARY = -3 tuples.add(new ByteArrayRow(getTypeInfo("VARBINARY"), getExceptionInterceptor())); tuples.add(new ByteArrayRow(getTypeInfo("TINYBLOB"), getExceptionInterceptor())); diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/result/ResultSetImpl.java b/src/main/user-impl/java/com/mysql/cj/jdbc/result/ResultSetImpl.java index b3a610bb7..f51b5074e 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/result/ResultSetImpl.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/result/ResultSetImpl.java @@ -1193,6 +1193,7 @@ public Object getObject(int columnIndex) throws SQLException { case MEDIUMBLOB: case LONGBLOB: case BLOB: + case VECTOR: return getBytes(columnIndex); case YEAR: diff --git a/src/test/java/testsuite/regression/MetaDataRegressionTest.java b/src/test/java/testsuite/regression/MetaDataRegressionTest.java index 4b6318c6a..65643458d 100644 --- a/src/test/java/testsuite/regression/MetaDataRegressionTest.java +++ b/src/test/java/testsuite/regression/MetaDataRegressionTest.java @@ -320,6 +320,9 @@ public void testGetColumnsBug1099() throws Exception { String typeName = this.rs.getString("TYPE_NAME"); //String createParams = this.rs.getString("CREATE_PARAMS"); + if (typeName.equals("VECTOR") && !versionMeetsMinimum(9, 0)) { + continue; + } if (typeName.indexOf("BINARY") == -1 && !typeName.equals("LONG VARCHAR")) { if (!alreadyDoneTypes.containsKey(typeName)) { alreadyDoneTypes.put(typeName, null); @@ -5461,6 +5464,9 @@ public void testBug106758() throws Exception { this.rs = dbmd.getTypeInfo(); while (this.rs.next()) { + if (this.rs.getString("TYPE_NAME").equals("VECTOR") && !versionMeetsMinimum(9, 0)) { + continue; + } StringBuilder sb = new StringBuilder("CREATE TEMPORARY TABLE testBug106758 (col "); sb.append(this.rs.getString("TYPE_NAME")); if (this.rs.getString("CREATE_PARAMS").startsWith("(M)")) { diff --git a/src/test/java/testsuite/regression/ResultSetRegressionTest.java b/src/test/java/testsuite/regression/ResultSetRegressionTest.java index 896b83a3d..e0ebcc292 100644 --- a/src/test/java/testsuite/regression/ResultSetRegressionTest.java +++ b/src/test/java/testsuite/regression/ResultSetRegressionTest.java @@ -1977,6 +1977,9 @@ public void testAllTypesForNull() throws Exception { StringBuilder insertValues = new StringBuilder(); while (this.rs.next()) { + if (this.rs.getString("TYPE_NAME").equals("VECTOR") && !versionMeetsMinimum(9, 0)) { + continue; + } String dataType = this.rs.getString("TYPE_NAME").toUpperCase(); boolean wasDateTime = false; @@ -2003,6 +2006,8 @@ public void testAllTypesForNull() throws Exception { } else if (dataType.indexOf("DATE") != -1 || dataType.indexOf("TIME") != -1) { insertValues.append("NOW()"); wasDateTime = true; + } else if (dataType.indexOf("VECTOR") != -1) { + insertValues.append("0x00000000"); } else { insertValues.append("0"); } diff --git a/src/test/java/testsuite/simple/MetadataTest.java b/src/test/java/testsuite/simple/MetadataTest.java index 1ae3a4ba2..423e0a7f4 100644 --- a/src/test/java/testsuite/simple/MetadataTest.java +++ b/src/test/java/testsuite/simple/MetadataTest.java @@ -49,6 +49,7 @@ import org.junit.jupiter.api.Test; +import com.mysql.cj.MysqlType; import com.mysql.cj.Query; import com.mysql.cj.ServerVersion; import com.mysql.cj.conf.PropertyDefinitions; @@ -1887,4 +1888,40 @@ private void testGetBestRowIdentifier_checkResult(ResultSet rs1) throws Exceptio assertFalse(rs1.next()); } + /** + * WL#16174: Support for VECTOR data type + * + * This test checks that the type of the VECTOR column is reported back as MysqlType.VECTOR. VECTOR support was added in MySQL 9.0.0. + * + * @throws Exception + */ + @Test + public void testVectorColumnType() throws Exception { + assumeTrue(versionMeetsMinimum(9, 0), "MySQL 9.0.0+ is needed to run this test."); + createTable("testVectorColumnType", "(v VECTOR)"); + DatabaseMetaData md = this.conn.getMetaData(); + this.rs = md.getColumns(null, null, "testVectorColumnType", "v"); + this.rs.next(); + assertEquals(MysqlType.VECTOR.getName().toUpperCase(), this.rs.getString("TYPE_NAME").toUpperCase()); + } + + /** + * WL#16174: Support for VECTOR data type + * + * This test checks that the result set metadata reports back the VECTOR column as MysqlType.VECTOR. VECTOR support was added in MySQL 9.0.0. + * + * @throws Exception + */ + @Test + public void testVectorResultSetType() throws Exception { + assumeTrue(versionMeetsMinimum(9, 0), "MySQL 9.0.0+ is needed to run this test."); + createTable("testVectorResultSetType", "(v VECTOR)"); + // 0xC3F5484014AE0F41 is the HEX representation for the vector [3.14000e+00,8.98000e+00] + this.stmt.execute("INSERT INTO testVectorResultSetType VALUES(0xC3F5484014AE0F41)"); + this.rs = this.stmt.executeQuery("SELECT v FROM testVectorResultSetType"); + this.rs.next(); + ResultSetMetaData md = this.rs.getMetaData(); + assertEquals(MysqlType.VECTOR.getName().toUpperCase(), md.getColumnTypeName(1).toUpperCase()); + } + } diff --git a/src/test/java/testsuite/simple/ResultSetTest.java b/src/test/java/testsuite/simple/ResultSetTest.java index f64e3267b..2aa99e247 100644 --- a/src/test/java/testsuite/simple/ResultSetTest.java +++ b/src/test/java/testsuite/simple/ResultSetTest.java @@ -25,6 +25,7 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; +import static org.junit.jupiter.api.Assumptions.assumeTrue; import java.io.InputStream; import java.io.Reader; @@ -61,6 +62,7 @@ import com.mysql.cj.exceptions.MysqlErrorNumbers; import com.mysql.cj.jdbc.ConnectionImpl; import com.mysql.cj.jdbc.exceptions.NotUpdatable; +import com.mysql.cj.util.StringUtils; import testsuite.BaseTestCase; @@ -1139,4 +1141,28 @@ public void testUpdateForReadOnlyResultSet() throws SQLException { }); } + /** + * WL#16174: Support for VECTOR data type + * + * This test checks that the value of the VECTOR column is retrieved as a byte array by ResultSet.getObject() and that it can also be retrieved as BLOB by + * ResultSet.getBlob(). VECTOR support was added in MySQL 9.0.0. + * + * @throws Exception + */ + @Test + public void testVectorResultSet() throws Exception { + assumeTrue(versionMeetsMinimum(9, 0), "MySQL 9.0.0+ is needed to run this test."); + createTable("testVectorResultSet", "(v VECTOR)"); + // 0xC3F5484014AE0F41 is the HEX representation for the vector [3.14000e+00,8.98000e+00] + String vectorHexString = "C3F5484014AE0F41"; + this.stmt.execute("INSERT INTO testVectorResultSet VALUES(0x" + vectorHexString + ")"); + this.rs = this.stmt.executeQuery("SELECT v FROM testVectorResultSet"); + this.rs.next(); + byte[] vectorObject = this.rs.getObject(1, byte[].class); + Blob vectorBlob = this.rs.getBlob(1); + byte[] vectorBlobToBytes = vectorBlob.getBytes(1, (int) vectorBlob.length()); + assertEquals(vectorHexString.toUpperCase(), StringUtils.toHexString(vectorObject, vectorObject.length).toUpperCase()); + assertEquals(vectorHexString.toUpperCase(), StringUtils.toHexString(vectorBlobToBytes, vectorBlobToBytes.length).toUpperCase()); + } + } diff --git a/src/test/java/testsuite/simple/StatementsTest.java b/src/test/java/testsuite/simple/StatementsTest.java index b5c5b1728..a1e129321 100644 --- a/src/test/java/testsuite/simple/StatementsTest.java +++ b/src/test/java/testsuite/simple/StatementsTest.java @@ -1472,7 +1472,7 @@ public void testBatchRewriteErrors() throws Exception { props.setProperty(PropertyKey.sslMode.getKeyName(), SslMode.DISABLED.name()); props.setProperty(PropertyKey.allowPublicKeyRetrieval.getKeyName(), "true"); props.setProperty(PropertyKey.useServerPrepStmts.getKeyName(), "false"); - props.setProperty(PropertyKey.maxAllowedPacket.getKeyName(), "5690"); + props.setProperty(PropertyKey.maxAllowedPacket.getKeyName(), "5725"); props.setProperty(PropertyKey.rewriteBatchedStatements.getKeyName(), "true"); Connection multiConn = null; @@ -1498,8 +1498,7 @@ public void testBatchRewriteErrors() throws Exception { this.pstmt.executeBatch(); } catch (BatchUpdateException bUpE) { int[] counts = bUpE.getUpdateCounts(); - - for (int i = 3530; i < counts.length; i++) { + for (int i = 3555; i < counts.length; i++) { assertEquals(Statement.EXECUTE_FAILED, counts[i]); } @@ -1513,8 +1512,7 @@ public void testBatchRewriteErrors() throws Exception { multiStmt.executeBatch(); } catch (BatchUpdateException bUpE) { int[] counts = bUpE.getUpdateCounts(); - - for (int i = 4091; i < counts.length; i++) { + for (int i = 4095; i < counts.length; i++) { assertEquals(Statement.EXECUTE_FAILED, counts[i]); } @@ -1540,8 +1538,7 @@ public void testBatchRewriteErrors() throws Exception { cStmt.executeBatch(); } catch (BatchUpdateException bUpE) { int[] counts = bUpE.getUpdateCounts(); - - for (int i = 3950; i < counts.length; i++) { + for (int i = 3991; i < counts.length; i++) { assertEquals(Statement.EXECUTE_FAILED, counts[i]); } From b1da9624ba78afb39e1d338f4dd4942db4856315 Mon Sep 17 00:00:00 2001 From: Filipe Silva Date: Fri, 1 Mar 2024 11:21:10 +0000 Subject: [PATCH 16/18] WL#15706, Add OpenTelemetry tracing. Change-Id: Ib2aa3406e638abc8bed28b07eb66c51bfd3a57ea --- CHANGES | 2 + build.xml | 2 +- .../java/com/mysql/cj/MessageBuilder.java | 2 + .../com/mysql/cj/QueryAttributesBindings.java | 19 +- .../core-api/java/com/mysql/cj/QueryInfo.java | 65 +- .../core-api/java/com/mysql/cj/Session.java | 21 + .../mysql/cj/conf/PropertyDefinitions.java | 12 +- .../java/com/mysql/cj/conf/PropertyKey.java | 3 +- .../java/com/mysql/cj/protocol/Protocol.java | 18 - .../cj/telemetry/NoopTelemetryHandler.java | 42 + .../cj/telemetry/NoopTelemetryScope.java | 37 + .../mysql/cj/telemetry/NoopTelemetrySpan.java | 42 + .../cj/telemetry/TelemetryAttribute.java | 79 ++ .../mysql/cj/telemetry/TelemetryHandler.java | 96 +++ .../mysql/cj/telemetry/TelemetryScope.java | 39 + .../com/mysql/cj/telemetry/TelemetrySpan.java | 87 +++ .../mysql/cj/telemetry/TelemetrySpanName.java | 77 ++ .../com/mysql/cj/CancelQueryTaskImpl.java | 45 +- .../java/com/mysql/cj/CoreSession.java | 24 + .../com/mysql/cj/NativeCharsetSettings.java | 192 +++-- .../cj/NativeQueryAttributesBindings.java | 61 +- .../com/mysql/cj/NativeQueryBindValue.java | 3 +- .../com/mysql/cj/NativeQueryBindings.java | 2 +- .../java/com/mysql/cj/NativeSession.java | 432 +++++++---- .../com/mysql/cj/ServerPreparedQuery.java | 112 ++- .../mysql/cj/otel/OpenTelemetryHandler.java | 103 +++ .../com/mysql/cj/otel/OpenTelemetryScope.java | 40 + .../com/mysql/cj/otel/OpenTelemetrySpan.java | 74 ++ .../cj/protocol/a/NativeMessageBuilder.java | 272 +++++-- .../mysql/cj/protocol/a/NativeProtocol.java | 454 +++++------ .../a/result/ResultsetRowsCursor.java | 90 ++- .../a/result/ResultsetRowsStreaming.java | 42 +- .../mysql/cj/protocol/x/XMessageBuilder.java | 31 +- .../com/mysql/cj/protocol/x/XProtocol.java | 10 - .../mysql/cj/protocol/x/XServerSession.java | 1 + .../cj/LocalizedErrorMessages.properties | 4 +- .../com/mysql/cj/jdbc/CallableStatement.java | 181 +++-- .../cj/jdbc/ClientPreparedStatement.java | 400 ++++++---- .../com/mysql/cj/jdbc/ConnectionImpl.java | 598 ++++++++++----- .../com/mysql/cj/jdbc/DatabaseMetaData.java | 38 +- .../cj/jdbc/ServerPreparedStatement.java | 106 ++- .../java/com/mysql/cj/jdbc/StatementImpl.java | 716 ++++++++++-------- .../regression/ConnectionRegressionTest.java | 1 - .../java/testsuite/simple/ConnectionTest.java | 22 +- 44 files changed, 3250 insertions(+), 1447 deletions(-) create mode 100644 src/main/core-api/java/com/mysql/cj/telemetry/NoopTelemetryHandler.java create mode 100644 src/main/core-api/java/com/mysql/cj/telemetry/NoopTelemetryScope.java create mode 100644 src/main/core-api/java/com/mysql/cj/telemetry/NoopTelemetrySpan.java create mode 100644 src/main/core-api/java/com/mysql/cj/telemetry/TelemetryAttribute.java create mode 100644 src/main/core-api/java/com/mysql/cj/telemetry/TelemetryHandler.java create mode 100644 src/main/core-api/java/com/mysql/cj/telemetry/TelemetryScope.java create mode 100644 src/main/core-api/java/com/mysql/cj/telemetry/TelemetrySpan.java create mode 100644 src/main/core-api/java/com/mysql/cj/telemetry/TelemetrySpanName.java create mode 100644 src/main/core-impl/java/com/mysql/cj/otel/OpenTelemetryHandler.java create mode 100644 src/main/core-impl/java/com/mysql/cj/otel/OpenTelemetryScope.java create mode 100644 src/main/core-impl/java/com/mysql/cj/otel/OpenTelemetrySpan.java diff --git a/CHANGES b/CHANGES index 586dd992d..830f4bfe8 100644 --- a/CHANGES +++ b/CHANGES @@ -3,6 +3,8 @@ Version 8.4.0 + - WL#15706, Add OpenTelemetry tracing. + - WL#16174, Support for VECTOR data type. - Fix for Bug#36380711, Tests failing due to removal of deprecated features. diff --git a/build.xml b/build.xml index 01f2f7723..f97eceecd 100644 --- a/build.xml +++ b/build.xml @@ -276,7 +276,7 @@ See also com.mysql.cj.conf.PropertyDefinitions.SYSP_* variables for other test o - + diff --git a/src/main/core-api/java/com/mysql/cj/MessageBuilder.java b/src/main/core-api/java/com/mysql/cj/MessageBuilder.java index 723a37a4d..001c9e782 100644 --- a/src/main/core-api/java/com/mysql/cj/MessageBuilder.java +++ b/src/main/core-api/java/com/mysql/cj/MessageBuilder.java @@ -32,6 +32,8 @@ public interface MessageBuilder { M buildClose(); + M buildComQuery(M sharedPacket, Session sess, String query, Query callingQuery, String characterEncoding); + M buildComQuery(M sharedPacket, Session sess, PreparedQuery preparedQuery, QueryBindings bindings, String characterEncoding); } diff --git a/src/main/core-api/java/com/mysql/cj/QueryAttributesBindings.java b/src/main/core-api/java/com/mysql/cj/QueryAttributesBindings.java index 5e01d9ca3..6edf3f6e3 100644 --- a/src/main/core-api/java/com/mysql/cj/QueryAttributesBindings.java +++ b/src/main/core-api/java/com/mysql/cj/QueryAttributesBindings.java @@ -34,12 +34,19 @@ public interface QueryAttributesBindings { * * @param name * the query attribute name. - * * @param value * the query attribute value. */ void setAttribute(String name, Object value); + /** + * Removes the specified query attribute from the list of query attributes. + * + * @param name + * the query attribute name. + */ + void removeAttribute(String name); + /** * Get the count of query attributes in the list. * @@ -68,6 +75,16 @@ public interface QueryAttributesBindings { */ void runThroughAll(Consumer bindAttribute); + /** + * Checks if there's already an attribute with the specified name. + * + * @param name + * the query attribute name. + * @return + * true if the specified attribute name already exists. + */ + boolean containsAttribute(String name); + /** * Removes all query attributes from the query attributes list. */ diff --git a/src/main/core-api/java/com/mysql/cj/QueryInfo.java b/src/main/core-api/java/com/mysql/cj/QueryInfo.java index ba4ef5446..94b0f382f 100644 --- a/src/main/core-api/java/com/mysql/cj/QueryInfo.java +++ b/src/main/core-api/java/com/mysql/cj/QueryInfo.java @@ -41,6 +41,7 @@ public class QueryInfo { private static final String INSERT_STATEMENT = "INSERT"; private static final String REPLACE_STATEMENT = "REPLACE"; + private static final String MULTIPLE_QUERIES_TAG = "(multiple queries)"; private static final String VALUE_CLAUSE = "VALUE"; private static final String AS_CLAUSE = "AS"; @@ -55,6 +56,7 @@ public class QueryInfo { private int queryLength = 0; private int queryStartPos = 0; private char statementFirstChar = Character.MIN_VALUE; + private String statementKeyword = ""; private int batchCount = 1; private int numberOfPlaceholders = 0; private int numberOfQueries = 0; @@ -102,17 +104,23 @@ public QueryInfo(String sql, Session session, String encoding) { } else { this.numberOfQueries = 1; this.statementFirstChar = Character.toUpperCase(strInspector.getChar()); + + // Capture the statement keyword. + int endStatementKeyword = 0; + int nextChar = this.queryStartPos; + StringBuilder sbStatementKeyword = new StringBuilder(); + do { + sbStatementKeyword.append(Character.toUpperCase(strInspector.getChar())); + endStatementKeyword = nextChar + 1; + strInspector.incrementPosition(); + nextChar = strInspector.indexOfNextChar(); + } while (nextChar == endStatementKeyword); + this.statementKeyword = sbStatementKeyword.toString(); } // Only INSERT and REPLACE statements support multi-values clause rewriting. - boolean isInsert = strInspector.matchesIgnoreCase(INSERT_STATEMENT) != -1; - if (isInsert) { - strInspector.incrementPosition(INSERT_STATEMENT.length()); // Advance to the end of "INSERT". - } - boolean isReplace = !isInsert && strInspector.matchesIgnoreCase(REPLACE_STATEMENT) != -1; - if (isReplace) { - strInspector.incrementPosition(REPLACE_STATEMENT.length()); // Advance to the end of "REPLACE". - } + boolean isInsert = INSERT_STATEMENT.equalsIgnoreCase(this.statementKeyword); + boolean isReplace = !isInsert && REPLACE_STATEMENT.equalsIgnoreCase(this.statementKeyword); // Check if the statement has potential to be rewritten as a multi-values clause statement, i.e., if it is an INSERT or REPLACE statement and // 'rewriteBatchedStatements' is enabled. @@ -338,6 +346,10 @@ public QueryInfo(String sql, Session session, String encoding) { int length = end - begin; this.staticSqlParts[i] = StringUtils.getBytes(this.sql, begin, length, this.encoding); } + + if (this.numberOfQueries > 1) { + this.statementKeyword = MULTIPLE_QUERIES_TAG; + } } /** @@ -358,6 +370,7 @@ private QueryInfo(QueryInfo baseQueryInfo, int batchCount) { this.queryLength = 0; this.queryStartPos = this.baseQueryInfo.queryStartPos; this.statementFirstChar = this.baseQueryInfo.statementFirstChar; + this.statementKeyword = this.baseQueryInfo.statementKeyword; this.batchCount = batchCount; this.numberOfPlaceholders = this.baseQueryInfo.numberOfPlaceholders * this.batchCount; this.numberOfQueries = 1; @@ -458,6 +471,16 @@ public char getFirstStmtChar() { return this.baseQueryInfo.statementFirstChar; } + /** + * Returns the statement keyword from the query used to build this {@link QueryInfo}. + * + * @return + * the statement keyword + */ + public String getStatementKeyword() { + return this.statementKeyword; + } + /** * If this object represents a query that is re-writable as a multi-values statement and if rewriting batched statements is enabled, then returns the * length of the parsed VALUES clause section, including the placeholder characters themselves, otherwise returns -1. @@ -585,6 +608,32 @@ public static char firstCharOfStatementUc(String sql, boolean noBackslashEscapes return Character.toUpperCase(sql.charAt(statementKeywordPos)); } + /** + * Finds and returns the statement keyword from the specified SQL, skipping comments and quoted text. + * + * @param sql + * the query to search + * @param noBackslashEscapes + * whether backslash escapes are disabled or not + * @return the statement keyword of the query + */ + public static String getStatementKeyword(String sql, boolean noBackslashEscapes) { + StringInspector strInspector = new StringInspector(sql, 0, OPENING_MARKERS, CLOSING_MARKERS, OVERRIDING_MARKERS, + noBackslashEscapes ? SearchMode.__MRK_COM_MYM_HNT_WS : SearchMode.__BSE_MRK_COM_MYM_HNT_WS); + int begin = strInspector.indexOfNextAlphanumericChar(); + if (begin == -1) { + return ""; + } + int end = 0; + int nextChar = begin; + do { + end = nextChar + 1; + strInspector.incrementPosition(); + nextChar = strInspector.indexOfNextChar(); + } while (nextChar == end); + return sql.substring(begin, end).toUpperCase(); + } + /** * Checks whether the given query is safe to run in a read-only session. In case of doubt it is assumed to be safe. This operation does not take into * consideration the multiplicity of queries in the specified SQL. diff --git a/src/main/core-api/java/com/mysql/cj/Session.java b/src/main/core-api/java/com/mysql/cj/Session.java index c3b0f792e..6d567e15f 100644 --- a/src/main/core-api/java/com/mysql/cj/Session.java +++ b/src/main/core-api/java/com/mysql/cj/Session.java @@ -38,6 +38,7 @@ import com.mysql.cj.protocol.ResultBuilder; import com.mysql.cj.protocol.ServerSession; import com.mysql.cj.result.Row; +import com.mysql.cj.telemetry.TelemetryHandler; /** * {@link Session} exposes logical level which user API uses internally to call {@link Protocol} methods. @@ -111,6 +112,26 @@ public interface Session { */ ProfilerEventHandler getProfilerEventHandler(); + /** + * Returns the comment that will be prepended to all statements sent to the server. + * + * @return query comment string + */ + String getQueryComment(); + + /** + * Sets the comment that will be prepended to all statements sent to the server. Do not use slash-star or star-slash tokens in the comment as these will be + * added by the driver itself. + * + * @param comment + * query comment string + */ + void setQueryComment(String comment); + + void setTelemetryHandler(TelemetryHandler telemetryHandler); + + TelemetryHandler getTelemetryHandler(); + HostInfo getHostInfo(); String getQueryTimingUnits(); diff --git a/src/main/core-api/java/com/mysql/cj/conf/PropertyDefinitions.java b/src/main/core-api/java/com/mysql/cj/conf/PropertyDefinitions.java index bd056d906..4d8c5431e 100644 --- a/src/main/core-api/java/com/mysql/cj/conf/PropertyDefinitions.java +++ b/src/main/core-api/java/com/mysql/cj/conf/PropertyDefinitions.java @@ -142,6 +142,10 @@ public enum SslMode { PREFERRED, REQUIRED, VERIFY_CA, VERIFY_IDENTITY, DISABLED; } + public enum OpenTelemetry { + PREFERRED, REQUIRED, DISABLED; + } + public enum XdevapiSslMode { REQUIRED, VERIFY_CA, VERIFY_IDENTITY, DISABLED; } @@ -158,14 +162,13 @@ public enum DatabaseTerm { CATALOG, SCHEMA; } + private static String STANDARD_LOGGER_NAME = StandardLogger.class.getName(); + /** * Static unmodifiable {@link PropertyKey} -> {@link PropertyDefinition} map. */ public static final Map> PROPERTY_KEY_TO_PROPERTY_DEFINITION; - static { - String STANDARD_LOGGER_NAME = StandardLogger.class.getName(); - PropertyDefinition[] pdefs = new PropertyDefinition[] { // // CATEGORY_AUTHENTICATION @@ -801,6 +804,9 @@ public enum DatabaseTerm { new BooleanPropertyDefinition(PropertyKey.autoGenerateTestcaseScript, DEFAULT_VALUE_FALSE, RUNTIME_MODIFIABLE, Messages.getString("ConnectionProperties.autoGenerateTestcaseScript"), "3.1.9", CATEGORY_DEBUGING_PROFILING, 18), + new EnumPropertyDefinition<>(PropertyKey.openTelemetry, OpenTelemetry.PREFERRED, RUNTIME_MODIFIABLE, + Messages.getString("ConnectionProperties.openTelemetry"), "8.1.0", CATEGORY_DEBUGING_PROFILING, 19), + // // CATEGORY_EXCEPTIONS // diff --git a/src/main/core-api/java/com/mysql/cj/conf/PropertyKey.java b/src/main/core-api/java/com/mysql/cj/conf/PropertyKey.java index 2233b6cd2..296c30b2a 100644 --- a/src/main/core-api/java/com/mysql/cj/conf/PropertyKey.java +++ b/src/main/core-api/java/com/mysql/cj/conf/PropertyKey.java @@ -163,11 +163,11 @@ public enum PropertyKey { nullDatabaseMeansCurrent("nullDatabaseMeansCurrent", "nullCatalogMeansCurrent", true), // ociConfigFile("ociConfigFile", true), // ociConfigProfile("ociConfigProfile", true), // + openTelemetry("openTelemetry", true), // overrideSupportsIntegrityEnhancementFacility("overrideSupportsIntegrityEnhancementFacility", true), // packetDebugBufferSize("packetDebugBufferSize", true), // padCharsWithSpace("padCharsWithSpace", true), // paranoid("paranoid", false), // - queryInfoCacheFactory("queryInfoCacheFactory", "parseInfoCacheFactory", true), // password1("password1", true), // password2("password2", true), // password3("password3", true), // @@ -183,6 +183,7 @@ public enum PropertyKey { profileSQL("profileSQL", true), // propertiesTransform("propertiesTransform", true), // queriesBeforeRetrySource("queriesBeforeRetrySource", "queriesBeforeRetryMaster", true), // + queryInfoCacheFactory("queryInfoCacheFactory", "parseInfoCacheFactory", true), // queryInterceptors("queryInterceptors", true), // queryTimeoutKillsConnection("queryTimeoutKillsConnection", true), // readFromSourceWhenNoReplicas("readFromSourceWhenNoReplicas", "readFromMasterWhenNoSlaves", true), // diff --git a/src/main/core-api/java/com/mysql/cj/protocol/Protocol.java b/src/main/core-api/java/com/mysql/cj/protocol/Protocol.java index a910ecaa0..d4319182e 100644 --- a/src/main/core-api/java/com/mysql/cj/protocol/Protocol.java +++ b/src/main/core-api/java/com/mysql/cj/protocol/Protocol.java @@ -230,24 +230,6 @@ T read(Class requiredClass, int maxRows, b */ InputStream getLocalInfileInputStream(); - /** - * Returns the comment that will be prepended to all statements - * sent to the server. - * - * @return query comment string - */ - String getQueryComment(); - - /** - * Sets the comment that will be prepended to all statements - * sent to the server. Do not use slash-star or star-slash tokens - * in the comment as these will be added by the driver itself. - * - * @param comment - * query comment string - */ - void setQueryComment(String comment); - /** * Read messages from server and deliver them to resultBuilder. * diff --git a/src/main/core-api/java/com/mysql/cj/telemetry/NoopTelemetryHandler.java b/src/main/core-api/java/com/mysql/cj/telemetry/NoopTelemetryHandler.java new file mode 100644 index 000000000..3a75134d7 --- /dev/null +++ b/src/main/core-api/java/com/mysql/cj/telemetry/NoopTelemetryHandler.java @@ -0,0 +1,42 @@ +/* + * Copyright (c) 2024, Oracle and/or its affiliates. + * + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. + * + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. + * + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. + * + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ + +package com.mysql.cj.telemetry; + +/** + * No-op implementation of {@link TelemetryHandler}. + */ +public class NoopTelemetryHandler implements TelemetryHandler { + + private static NoopTelemetryHandler INSTANCE = new NoopTelemetryHandler(); + + public static NoopTelemetryHandler getInstance() { + return INSTANCE; + } + + private NoopTelemetryHandler() { + } + + @Override + public TelemetrySpan startSpan(TelemetrySpanName spanName, Object... args) { + return NoopTelemetrySpan.getInstance(); + } + +} diff --git a/src/main/core-api/java/com/mysql/cj/telemetry/NoopTelemetryScope.java b/src/main/core-api/java/com/mysql/cj/telemetry/NoopTelemetryScope.java new file mode 100644 index 000000000..064a648dc --- /dev/null +++ b/src/main/core-api/java/com/mysql/cj/telemetry/NoopTelemetryScope.java @@ -0,0 +1,37 @@ +/* + * Copyright (c) 2024, Oracle and/or its affiliates. + * + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. + * + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. + * + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. + * + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ + +package com.mysql.cj.telemetry; + +/** + * No-op implementation of {@link TelemetryScope}. + */ +public class NoopTelemetryScope implements TelemetryScope { + + private static NoopTelemetryScope INSTANCE = new NoopTelemetryScope(); + + public static NoopTelemetryScope getInstance() { + return INSTANCE; + } + + private NoopTelemetryScope() { + } + +} diff --git a/src/main/core-api/java/com/mysql/cj/telemetry/NoopTelemetrySpan.java b/src/main/core-api/java/com/mysql/cj/telemetry/NoopTelemetrySpan.java new file mode 100644 index 000000000..a8fec6abf --- /dev/null +++ b/src/main/core-api/java/com/mysql/cj/telemetry/NoopTelemetrySpan.java @@ -0,0 +1,42 @@ +/* + * Copyright (c) 2024, Oracle and/or its affiliates. + * + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. + * + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. + * + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. + * + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ + +package com.mysql.cj.telemetry; + +/** + * No-op implementation of {@link TelemetrySpan}. + */ +public class NoopTelemetrySpan implements TelemetrySpan { + + private static NoopTelemetrySpan INSTANCE = new NoopTelemetrySpan(); + + public static NoopTelemetrySpan getInstance() { + return INSTANCE; + } + + @Override + public TelemetryScope makeCurrent() { + return NoopTelemetryScope.getInstance(); + } + + private NoopTelemetrySpan() { + } + +} diff --git a/src/main/core-api/java/com/mysql/cj/telemetry/TelemetryAttribute.java b/src/main/core-api/java/com/mysql/cj/telemetry/TelemetryAttribute.java new file mode 100644 index 000000000..6a8f75a08 --- /dev/null +++ b/src/main/core-api/java/com/mysql/cj/telemetry/TelemetryAttribute.java @@ -0,0 +1,79 @@ +/* + * Copyright (c) 2024, Oracle and/or its affiliates. + * + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. + * + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. + * + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. + * + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ + +package com.mysql.cj.telemetry; + +/** + * List of supported telemetry attributes and operation values. + */ +public enum TelemetryAttribute { + + // Call-level attributes: + DB_NAME("db.name"), // + DB_OPERATION("db.operation"), // + DB_STATEMENT("db.statement"), // + + // Connection-level attributes: + DB_CONNECTION_STRING("db.connection_string"), // + DB_SYSTEM("db.system"), // + DB_USER("db.user"), // + NETWORK_PEER_ADDRESS("network.peer.address"), // + NETWORK_PEER_PORT("network.peer.port"), // + NETWORK_TRANSPORT("network.transport"), // + SERVER_ADDRESS("server.address"), // + SERVER_PORT("server.port"), // + + // General thread attributes: + THREAD_ID("thread.id"), // + THREAD_NAME("thread.name"); + + private String key = null; + + private TelemetryAttribute(String key) { + this.key = key; + } + + public String getKey() { + return this.key; + } + + /* + * Most common operation values. + */ + public static final String DB_SYSTEM_DEFAULT = "mysql"; + public static final String NETWORK_TRANSPORT_TCP = "tcp"; + public static final String NETWORK_TRANSPORT_UNIX = "unix"; + public static final String NETWORK_TRANSPORT_PIPE = "pipe"; + public static final String STATEMENT_SUFFIX = " (...)"; + public static final String OPERATION_BATCH = "(SQL batch)"; + public static final String OPERATION_COMMIT = "COMMIT"; + public static final String OPERATION_CREATE = "CREATE"; + public static final String OPERATION_EXPLAIN = "EXPLAIN"; + public static final String OPERATION_INIT_DB = "INIT_DB"; + public static final String OPERATION_KILL = "KILL"; + public static final String OPERATION_PING = "PING"; + public static final String OPERATION_ROLLBACK = "ROLLBACK"; + public static final String OPERATION_SELECT = "SELECT"; + public static final String OPERATION_SET = "SET"; + public static final String OPERATION_SHOW = "SHOW"; + public static final String OPERATION_SHUTDOWN = "SHUTDOWN"; + public static final String OPERATION_USE = "USE"; + +} diff --git a/src/main/core-api/java/com/mysql/cj/telemetry/TelemetryHandler.java b/src/main/core-api/java/com/mysql/cj/telemetry/TelemetryHandler.java new file mode 100644 index 000000000..3b15fa914 --- /dev/null +++ b/src/main/core-api/java/com/mysql/cj/telemetry/TelemetryHandler.java @@ -0,0 +1,96 @@ +/* + * Copyright (c) 2024, Oracle and/or its affiliates. + * + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. + * + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. + * + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. + * + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ + +package com.mysql.cj.telemetry; + +import java.util.function.BiConsumer; + +/** + * A handler for telemetry operations. Implementations must forward each operation to an underlying telemetry API or SDK. + * + * A default no-op implementation is provided so that telemetry may be turned off with minimal impact to the driver code. + */ +public interface TelemetryHandler { + + /** + * Start a telemetry span. Additionally, the returned {@link TelemetrySpan} object returned must be made current so that it gets recorded by the telemetry + * tracer. + * A {@link TelemetrySpan} object must be closed in a finally block after being made current, e.g.: + * + *
{@code
+     * TelemetrySpan span = telemetryHandler.startSpan(TelemetrySpanName.PING);
+     * try (TelemetryScope scope = span.makeCurrent()) {
+     *     // your code goes here
+     * } finally {
+     *     span.end();
+     * }
+     * }
+ * + * @param spanName + * the span name that identifies this telemetry span + * @param args + * arguments used for interpolating the specified span name via {@link String#format(String, Object...)} + * @return + * the newly created span object + */ + TelemetrySpan startSpan(TelemetrySpanName spanName, Object... args); + + /** + * Registers the specified {@link TelemetrySpan} as a link target for subsequent new spans. Spans created after will include links to all registered link + * target spans in the order they were added. + * + * @param span + * the {@link TelemetrySpan} to be registered as a link target for subsequent new spans + */ + default void addLinkTarget(TelemetrySpan span) { + // Noop. + } + + /** + * Removes the specified span from the list of registered link targets. + * + * @param span + * the {@link TelemetrySpan} to be removed from the list of registered link targets + */ + default void removeLinkTarget(TelemetrySpan span) { + // Noop. + } + + /** + * Injects telemetry context propagation information into the specified consumer. + * + * @param traceparentConsumer + * the consumer that will process the telemetry context propagation information + */ + default void propagateContext(BiConsumer traceparentConsumer) { + // Noop. + } + + /** + * The telemetry context propagation default key name. + * + * @return + * the default name of the key used in telemetry context propagation + */ + default String getContextPropagationKey() { + return "traceparent"; + } + +} diff --git a/src/main/core-api/java/com/mysql/cj/telemetry/TelemetryScope.java b/src/main/core-api/java/com/mysql/cj/telemetry/TelemetryScope.java new file mode 100644 index 000000000..b98bcd446 --- /dev/null +++ b/src/main/core-api/java/com/mysql/cj/telemetry/TelemetryScope.java @@ -0,0 +1,39 @@ +/* + * Copyright (c) 2024, Oracle and/or its affiliates. + * + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. + * + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. + * + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. + * + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ + +package com.mysql.cj.telemetry; + +/** + * A telemetry context scope wrapper that hides all specific details from the underlying telemetry library. + * + * A default no-op implementation is provided so that telemetry may be turned off with minimal impact to the driver code. + */ +public interface TelemetryScope extends AutoCloseable { + + /** + * {@link AutoCloseable#close()} that must be used to end this context scope and, thus, make it possible to create new span within try-with-resources + * blocks. + */ + @Override + default void close() { + // Noop. + } + +} diff --git a/src/main/core-api/java/com/mysql/cj/telemetry/TelemetrySpan.java b/src/main/core-api/java/com/mysql/cj/telemetry/TelemetrySpan.java new file mode 100644 index 000000000..7b4d95402 --- /dev/null +++ b/src/main/core-api/java/com/mysql/cj/telemetry/TelemetrySpan.java @@ -0,0 +1,87 @@ +/* + * Copyright (c) 2024, Oracle and/or its affiliates. + * + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. + * + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. + * + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. + * + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ + +package com.mysql.cj.telemetry; + +/** + * A telemetry span wrapper that hides all specific details from the underlying telemetry library. + * + * A default no-op implementation is provided so that telemetry may be turned off with minimal impact to the driver code. + */ +public interface TelemetrySpan extends AutoCloseable { + + /** + * Takes this telemetry span and makes it current in the global telemetry context. + * + * @return + * an {@link AutoCloseable} telemetry scope that represents the current telemetry context. + */ + TelemetryScope makeCurrent(); + + /** + * Adds the specified String attribute to this telemetry span. + * + * @param key + * the key for this attribute + * @param value + * the value for this attribute + */ + default void setAttribute(TelemetryAttribute key, String value) { + // Noop. + } + + /** + * Adds the specified long attribute to this telemetry span. + * + * @param key + * the key for this attribute + * @param value + * the value for this attribute + */ + default void setAttribute(TelemetryAttribute key, long value) { + // Noop. + } + + /** + * Sets the status code of this telemetry span as ERROR and records the stack trace of the specified exception. + * + * @param cause + * the cause for setting this span status code to ERROR + */ + default void setError(Throwable cause) { + // Noop. + } + + /** + * Marks the end of the execution of this span. + */ + default void end() { + // Noop. + } + + /** + * {@link AutoCloseable#close()} that can be used to end this span and, thus, make it possible to create new span within try-with-resources blocks. + */ + @Override + default void close() { + // Noop. + } + +} diff --git a/src/main/core-api/java/com/mysql/cj/telemetry/TelemetrySpanName.java b/src/main/core-api/java/com/mysql/cj/telemetry/TelemetrySpanName.java new file mode 100644 index 000000000..cb279d4c7 --- /dev/null +++ b/src/main/core-api/java/com/mysql/cj/telemetry/TelemetrySpanName.java @@ -0,0 +1,77 @@ +/* + * Copyright (c) 2024, Oracle and/or its affiliates. + * + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. + * + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. + * + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. + * + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ + +package com.mysql.cj.telemetry; + +/** + * List of most common telemetry span names. + */ +public enum TelemetrySpanName { + + CANCEL_QUERY("Cancel query"), // + CHANGE_DATABASE("Change database"), // + COMMIT("Commit"), // + CONNECTION_CREATE("Create connection"), // + CONNECTION_RESET("Reset connection"), // + CREATE_DATABASE("Create database"), // + EXPLAIN_QUERY("Explain query"), // + GET_INNODB_STATUS("Get InnoDB status"), // + GET_PROCESS_HOST("Get process host"), // + GET_VARIABLE("Get variable '%s'"), // + LOAD_COLLATIONS("Load collations"), // + LOAD_VARIABLES("Load server variables"), // + PING("Ping"), // + ROLLBACK("Rollback"),// + ROUTINE_EXECUTE("Execute stored routine"), // + ROUTINE_EXECUTE_BATCH("Batch execute stored routine"), // + ROUTINE_PREPARE("Prepare stored routine"), // + SET_CHARSET("Set character set"), // + SET_OPTION_MULTI_STATEMENTS("Set multi-statements '%s'"), // + SET_TRANSACTION_ACCESS_MODE("Set transaction access mode '%s'"), // + SET_TRANSACTION_ISOLATION("Set transaction isolation"), // + SET_VARIABLE("Set variable '%s'"), // + SET_VARIABLES("Set variable(s)"), // + SHOW_WARNINGS("Show warnings"), // + SHUTDOWN("Shutdown"), // + STMT_DEALLOCATE_PREPARED("Deallocate prepared statement"), // + STMT_EXECUTE("Execute statement"), // + STMT_EXECUTE_BATCH("Batch execute statement"), // + STMT_EXECUTE_BATCH_PREPARED("Batch execute prepared statement"), // + STMT_EXECUTE_PREPARED("Execute prepared statement"), // + STMT_FETCH_PREPARED("Fetch rows for prepared statement"), // + STMT_PREPARE("Prepare statement"), // + STMT_RESET_PREPARED("Reset prepared statement"), // + STMT_SEND_LONG_DATA("Send long data for prepared statement"), // + USE_DATABASE("Use database"); + + private String name = ""; + + private TelemetrySpanName(String name) { + this.name = name; + } + + public String getName(Object... args) { + if (args.length > 0) { + return String.format(this.name, args); + } + return this.name; + } + +} diff --git a/src/main/core-impl/java/com/mysql/cj/CancelQueryTaskImpl.java b/src/main/core-impl/java/com/mysql/cj/CancelQueryTaskImpl.java index 7231a92f7..f64c28cf6 100644 --- a/src/main/core-impl/java/com/mysql/cj/CancelQueryTaskImpl.java +++ b/src/main/core-impl/java/com/mysql/cj/CancelQueryTaskImpl.java @@ -27,6 +27,10 @@ import com.mysql.cj.conf.PropertyKey; import com.mysql.cj.exceptions.OperationCancelledException; import com.mysql.cj.protocol.a.NativeMessageBuilder; +import com.mysql.cj.telemetry.TelemetryAttribute; +import com.mysql.cj.telemetry.TelemetryScope; +import com.mysql.cj.telemetry.TelemetrySpan; +import com.mysql.cj.telemetry.TelemetrySpanName; //TODO should not be protocol-specific @@ -84,19 +88,36 @@ public void run() { NativeSession newSession = null; try { newSession = new NativeSession(hostInfo, session.getPropertySet()); - newSession.connect(hostInfo, user, password, database, 30000, new TransactionEventHandler() { - @Override - public void transactionCompleted() { - } - - @Override - public void transactionBegun() { - } - - }); - newSession.getProtocol().sendCommand(new NativeMessageBuilder(newSession.getServerSession().supportsQueryAttributes()) - .buildComQuery(newSession.getSharedSendPacket(), "KILL QUERY " + origConnId), false, 0); + TelemetrySpan span = newSession.getTelemetryHandler().startSpan(TelemetrySpanName.CANCEL_QUERY); + try (TelemetryScope scope = span.makeCurrent()) { + span.setAttribute(TelemetryAttribute.DB_NAME, database); + span.setAttribute(TelemetryAttribute.DB_OPERATION, TelemetryAttribute.OPERATION_KILL); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, TelemetryAttribute.OPERATION_KILL + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, user); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + + newSession.connect(hostInfo, user, password, database, 30000, new TransactionEventHandler() { + + @Override + public void transactionCompleted() { + } + + @Override + public void transactionBegun() { + } + + }); + newSession.getProtocol().sendCommand(new NativeMessageBuilder(newSession.getServerSession().supportsQueryAttributes()) + .buildComQuery(newSession.getSharedSendPacket(), newSession, "KILL QUERY " + origConnId), false, 0); + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); + } } finally { try { newSession.forceClose(); diff --git a/src/main/core-impl/java/com/mysql/cj/CoreSession.java b/src/main/core-impl/java/com/mysql/cj/CoreSession.java index 7e762a05c..e7a45c9bd 100644 --- a/src/main/core-impl/java/com/mysql/cj/CoreSession.java +++ b/src/main/core-impl/java/com/mysql/cj/CoreSession.java @@ -36,6 +36,7 @@ import com.mysql.cj.protocol.Message; import com.mysql.cj.protocol.Protocol; import com.mysql.cj.protocol.ServerSession; +import com.mysql.cj.telemetry.TelemetryHandler; import com.mysql.cj.util.Util; public abstract class CoreSession implements Session { @@ -70,6 +71,9 @@ public abstract class CoreSession implements Session { /** The event sink to use for profiling */ private ProfilerEventHandler eventSink; + /** The Telemetry handler to process telemetry operations */ + private TelemetryHandler telemetryHandler = null; + public CoreSession(HostInfo hostInfo, PropertySet propSet) { this.connectionCreationTimeMillis = System.currentTimeMillis(); this.hostInfo = hostInfo; @@ -175,6 +179,26 @@ public ProfilerEventHandler getProfilerEventHandler() { return this.eventSink; } + @Override + public String getQueryComment() { + throw ExceptionFactory.createException(CJOperationNotSupportedException.class, "Not supported"); + } + + @Override + public void setQueryComment(String comment) { + throw ExceptionFactory.createException(CJOperationNotSupportedException.class, "Not supported"); + } + + @Override + public void setTelemetryHandler(TelemetryHandler telemetryHandler) { + this.telemetryHandler = telemetryHandler; + } + + @Override + public TelemetryHandler getTelemetryHandler() { + return this.telemetryHandler; + } + @Override public boolean isSSLEstablished() { throw ExceptionFactory.createException(CJOperationNotSupportedException.class, "Not supported"); diff --git a/src/main/core-impl/java/com/mysql/cj/NativeCharsetSettings.java b/src/main/core-impl/java/com/mysql/cj/NativeCharsetSettings.java index 7d2d319b4..4ff3f0533 100644 --- a/src/main/core-impl/java/com/mysql/cj/NativeCharsetSettings.java +++ b/src/main/core-impl/java/com/mysql/cj/NativeCharsetSettings.java @@ -49,6 +49,10 @@ import com.mysql.cj.result.Row; import com.mysql.cj.result.StringValueFactory; import com.mysql.cj.result.ValueFactory; +import com.mysql.cj.telemetry.TelemetryAttribute; +import com.mysql.cj.telemetry.TelemetryScope; +import com.mysql.cj.telemetry.TelemetrySpan; +import com.mysql.cj.telemetry.TelemetrySpanName; import com.mysql.cj.util.StringUtils; public class NativeCharsetSettings extends CharsetMapping implements CharsetSettings { @@ -263,7 +267,6 @@ public void configurePostHandshake(boolean dontCheckServerMatch) { String sessionCollationClause = ""; try { - // connectionCollation overrides the characterEncoding value if (requiredCollation != null && (requiredCollationIndex = getCollationIndexForCollationName(requiredCollation)) != null) { if (isImpermissibleCollation(requiredCollationIndex)) { @@ -321,8 +324,9 @@ public void configurePostHandshake(boolean dontCheckServerMatch) { boolean isCollationDifferent = sessionCollationClause.length() > 0 && !requiredCollation.equalsIgnoreCase(this.serverSession.getServerVariable(COLLATION_CONNECTION)); if (dontCheckServerMatch || isCharsetDifferent || isCollationDifferent) { - this.session.getProtocol().sendCommand(getCommandBuilder().buildComQuery(null, "SET NAMES " + sessionCharsetName + sessionCollationClause), - false, 0); + String sql = "SET NAMES " + sessionCharsetName + sessionCollationClause; + telemetryWrapSendCommand(() -> this.session.getProtocol().sendCommand(getCommandBuilder().buildComQuery(null, this.session, sql), false, 0), + TelemetrySpanName.SET_CHARSET); this.serverSession.getServerVariables().put(CHARACTER_SET_CLIENT, sessionCharsetName); this.serverSession.getServerVariables().put(CHARACTER_SET_CONNECTION, sessionCharsetName); @@ -350,7 +354,9 @@ public void configurePostHandshake(boolean dontCheckServerMatch) { String characterSetResultsValue = this.characterSetResults.getValue(); if (StringUtils.isNullOrEmpty(characterSetResultsValue) || "null".equalsIgnoreCase(characterSetResultsValue)) { if (!StringUtils.isNullOrEmpty(sessionResultsCharset) && !"NULL".equalsIgnoreCase(sessionResultsCharset)) { - this.session.getProtocol().sendCommand(getCommandBuilder().buildComQuery(null, "SET character_set_results = NULL"), false, 0); + telemetryWrapSendCommand(() -> this.session.getProtocol() + .sendCommand(getCommandBuilder().buildComQuery(null, this.session, "SET character_set_results = NULL"), false, 0), + TelemetrySpanName.SET_VARIABLE, "character_set_results"); this.serverSession.getServerVariables().put(CHARACTER_SET_RESULTS, null); } @@ -368,7 +374,10 @@ public void configurePostHandshake(boolean dontCheckServerMatch) { } if (!resultsCharsetName.equalsIgnoreCase(sessionResultsCharset)) { - this.session.getProtocol().sendCommand(getCommandBuilder().buildComQuery(null, "SET character_set_results = " + resultsCharsetName), false, 0); + telemetryWrapSendCommand( + () -> this.session.getProtocol().sendCommand( + getCommandBuilder().buildComQuery(null, this.session, "SET character_set_results = " + resultsCharsetName), false, 0), + TelemetrySpanName.SET_VARIABLE, "character_set_results"); this.serverSession.getServerVariables().put(CHARACTER_SET_RESULTS, resultsCharsetName); } @@ -419,6 +428,26 @@ public void configurePostHandshake(boolean dontCheckServerMatch) { } } + private void telemetryWrapSendCommand(Runnable command, TelemetrySpanName spanName, Object... args) { + TelemetrySpan span = this.session.getTelemetryHandler().startSpan(spanName, args); + try (TelemetryScope scope = span.makeCurrent()) { + span.setAttribute(TelemetryAttribute.DB_NAME, this.session.getHostInfo().getDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, TelemetryAttribute.OPERATION_SET); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, TelemetryAttribute.OPERATION_SET + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, this.session.getHostInfo().getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + + command.run(); + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); + } + } + private boolean characterSetNamesMatches(String mysqlEncodingName) { boolean res = false; if (mysqlEncodingName != null) { @@ -505,84 +534,101 @@ private void buildCollationMapping() { } if (customCollationIndexToCharsetName == null && this.session.getPropertySet().getBooleanProperty(PropertyKey.detectCustomCollations).getValue()) { - customCollationIndexToCollationName = new HashMap<>(); - customCollationNameToCollationIndex = new HashMap<>(); - customCollationIndexToCharsetName = new HashMap<>(); - customCharsetNameToMblen = new HashMap<>(); - customCharsetNameToJavaEncoding = new HashMap<>(); - customJavaEncodingUcToCharsetName = new HashMap<>(); - customCharsetNameToCollationIndex = new HashMap<>(); - customMultibyteEncodings = new HashSet<>(); - - String customCharsetMapping = this.session.getPropertySet().getStringProperty(PropertyKey.customCharsetMapping).getValue(); - if (customCharsetMapping != null) { - String[] pairs = customCharsetMapping.split(","); - for (String pair : pairs) { - int keyEnd = pair.indexOf(":"); - if (keyEnd > 0 && keyEnd + 1 < pair.length()) { - String charset = pair.substring(0, keyEnd); - String encoding = pair.substring(keyEnd + 1); - customCharsetNameToJavaEncoding.put(charset, encoding); - customJavaEncodingUcToCharsetName.put(encoding.toUpperCase(Locale.ENGLISH), charset); + TelemetrySpan span = this.session.getTelemetryHandler().startSpan(TelemetrySpanName.LOAD_COLLATIONS); + try (TelemetryScope scope = span.makeCurrent()) { + span.setAttribute(TelemetryAttribute.DB_NAME, this.session.getHostInfo().getDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, TelemetryAttribute.OPERATION_SELECT); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, TelemetryAttribute.OPERATION_SELECT + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, this.session.getHostInfo().getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + + customCollationIndexToCollationName = new HashMap<>(); + customCollationNameToCollationIndex = new HashMap<>(); + customCollationIndexToCharsetName = new HashMap<>(); + customCharsetNameToMblen = new HashMap<>(); + customCharsetNameToJavaEncoding = new HashMap<>(); + customJavaEncodingUcToCharsetName = new HashMap<>(); + customCharsetNameToCollationIndex = new HashMap<>(); + customMultibyteEncodings = new HashSet<>(); + + String customCharsetMapping = this.session.getPropertySet().getStringProperty(PropertyKey.customCharsetMapping).getValue(); + if (customCharsetMapping != null) { + String[] pairs = customCharsetMapping.split(","); + for (String pair : pairs) { + int keyEnd = pair.indexOf(":"); + if (keyEnd > 0 && keyEnd + 1 < pair.length()) { + String charset = pair.substring(0, keyEnd); + String encoding = pair.substring(keyEnd + 1); + customCharsetNameToJavaEncoding.put(charset, encoding); + customJavaEncodingUcToCharsetName.put(encoding.toUpperCase(Locale.ENGLISH), charset); + } } } - } - ValueFactory ivf = new IntegerValueFactory(this.session.getPropertySet()); - - try { - NativePacketPayload resultPacket = this.session.getProtocol().sendCommand(getCommandBuilder().buildComQuery(null, - "SELECT c.COLLATION_NAME, c.CHARACTER_SET_NAME, c.ID, cs.MAXLEN, c.IS_DEFAULT='Yes' from INFORMATION_SCHEMA.COLLATIONS AS c LEFT JOIN" - + " INFORMATION_SCHEMA.CHARACTER_SETS AS cs ON cs.CHARACTER_SET_NAME=c.CHARACTER_SET_NAME"), - false, 0); - Resultset rs = this.session.getProtocol().readAllResults(-1, false, resultPacket, false, null, new ResultsetFactory(Type.FORWARD_ONLY, null)); - ValueFactory svf = new StringValueFactory(this.session.getPropertySet()); - Row r; - while ((r = rs.getRows().next()) != null) { - String collationName = r.getValue(0, svf); - String charsetName = r.getValue(1, svf); - int collationIndex = ((Number) r.getValue(2, ivf)).intValue(); - int maxlen = ((Number) r.getValue(3, ivf)).intValue(); - boolean isDefault = ((Number) r.getValue(4, ivf)).intValue() > 0; - - if (collationIndex >= MAP_SIZE // - || collationIndex != getStaticCollationIndexForCollationName(collationName) - || !charsetName.equals(getStaticMysqlCharsetNameForCollationIndex(collationIndex))) { - customCollationIndexToCollationName.put(collationIndex, collationName); - customCollationNameToCollationIndex.put(collationName, collationIndex); - customCollationIndexToCharsetName.put(collationIndex, charsetName); - if (isDefault || !customCharsetNameToCollationIndex.containsKey(charsetName) - && CharsetMapping.getStaticCollationIndexForMysqlCharsetName(charsetName) == 0) { - customCharsetNameToCollationIndex.put(charsetName, collationIndex); + ValueFactory ivf = new IntegerValueFactory(this.session.getPropertySet()); + + try { + NativePacketPayload resultPacket = this.session.getProtocol().sendCommand(getCommandBuilder().buildComQuery(null, this.session, + "SELECT c.COLLATION_NAME, c.CHARACTER_SET_NAME, c.ID, cs.MAXLEN, c.IS_DEFAULT='Yes' from INFORMATION_SCHEMA.COLLATIONS AS c LEFT JOIN" + + " INFORMATION_SCHEMA.CHARACTER_SETS AS cs ON cs.CHARACTER_SET_NAME=c.CHARACTER_SET_NAME"), + false, 0); + Resultset rs = this.session.getProtocol().readAllResults(-1, false, resultPacket, false, null, + new ResultsetFactory(Type.FORWARD_ONLY, null)); + ValueFactory svf = new StringValueFactory(this.session.getPropertySet()); + Row r; + while ((r = rs.getRows().next()) != null) { + String collationName = r.getValue(0, svf); + String charsetName = r.getValue(1, svf); + int collationIndex = ((Number) r.getValue(2, ivf)).intValue(); + int maxlen = ((Number) r.getValue(3, ivf)).intValue(); + boolean isDefault = ((Number) r.getValue(4, ivf)).intValue() > 0; + + if (collationIndex >= MAP_SIZE // + || collationIndex != getStaticCollationIndexForCollationName(collationName) + || !charsetName.equals(getStaticMysqlCharsetNameForCollationIndex(collationIndex))) { + customCollationIndexToCollationName.put(collationIndex, collationName); + customCollationNameToCollationIndex.put(collationName, collationIndex); + customCollationIndexToCharsetName.put(collationIndex, charsetName); + if (isDefault || !customCharsetNameToCollationIndex.containsKey(charsetName) + && CharsetMapping.getStaticCollationIndexForMysqlCharsetName(charsetName) == 0) { + customCharsetNameToCollationIndex.put(charsetName, collationIndex); + } } - } - // if no static map for charsetName adding to custom map - if (getStaticMysqlCharsetByName(charsetName) == null) { - customCharsetNameToMblen.put(charsetName, maxlen); - if (maxlen > 1) { - String enc = customCharsetNameToJavaEncoding.get(charsetName); - if (enc != null) { - customMultibyteEncodings.add(enc.toUpperCase(Locale.ENGLISH)); + // if no static map for charsetName adding to custom map + if (getStaticMysqlCharsetByName(charsetName) == null) { + customCharsetNameToMblen.put(charsetName, maxlen); + if (maxlen > 1) { + String enc = customCharsetNameToJavaEncoding.get(charsetName); + if (enc != null) { + customMultibyteEncodings.add(enc.toUpperCase(Locale.ENGLISH)); + } } } - } + } + } catch (IOException e) { + throw ExceptionFactory.createException(e.getMessage(), e, this.session.getExceptionInterceptor()); } - } catch (IOException e) { - throw ExceptionFactory.createException(e.getMessage(), e, this.session.getExceptionInterceptor()); - } - if (this.cacheServerConfiguration.getValue()) { - synchronized (customCollationIndexToCharsetNameByUrl) { - customCollationIndexToCollationNameByUrl.put(databaseURL, Collections.unmodifiableMap(customCollationIndexToCollationName)); - customCollationNameToCollationIndexByUrl.put(databaseURL, Collections.unmodifiableMap(customCollationNameToCollationIndex)); - customCollationIndexToCharsetNameByUrl.put(databaseURL, Collections.unmodifiableMap(customCollationIndexToCharsetName)); - customCharsetNameToMblenByUrl.put(databaseURL, Collections.unmodifiableMap(customCharsetNameToMblen)); - customCharsetNameToJavaEncodingByUrl.put(databaseURL, Collections.unmodifiableMap(customCharsetNameToJavaEncoding)); - customJavaEncodingUcToCharsetNameByUrl.put(databaseURL, Collections.unmodifiableMap(customJavaEncodingUcToCharsetName)); - customCharsetNameToCollationIndexByUrl.put(databaseURL, Collections.unmodifiableMap(customCharsetNameToCollationIndex)); - customMultibyteEncodingsByUrl.put(databaseURL, Collections.unmodifiableSet(customMultibyteEncodings)); + if (this.cacheServerConfiguration.getValue()) { + synchronized (customCollationIndexToCharsetNameByUrl) { + customCollationIndexToCollationNameByUrl.put(databaseURL, Collections.unmodifiableMap(customCollationIndexToCollationName)); + customCollationNameToCollationIndexByUrl.put(databaseURL, Collections.unmodifiableMap(customCollationNameToCollationIndex)); + customCollationIndexToCharsetNameByUrl.put(databaseURL, Collections.unmodifiableMap(customCollationIndexToCharsetName)); + customCharsetNameToMblenByUrl.put(databaseURL, Collections.unmodifiableMap(customCharsetNameToMblen)); + customCharsetNameToJavaEncodingByUrl.put(databaseURL, Collections.unmodifiableMap(customCharsetNameToJavaEncoding)); + customJavaEncodingUcToCharsetNameByUrl.put(databaseURL, Collections.unmodifiableMap(customJavaEncodingUcToCharsetName)); + customCharsetNameToCollationIndexByUrl.put(databaseURL, Collections.unmodifiableMap(customCharsetNameToCollationIndex)); + customMultibyteEncodingsByUrl.put(databaseURL, Collections.unmodifiableSet(customMultibyteEncodings)); + } } + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); } } diff --git a/src/main/core-impl/java/com/mysql/cj/NativeQueryAttributesBindings.java b/src/main/core-impl/java/com/mysql/cj/NativeQueryAttributesBindings.java index 56dfec2e3..42829cd9b 100644 --- a/src/main/core-impl/java/com/mysql/cj/NativeQueryAttributesBindings.java +++ b/src/main/core-impl/java/com/mysql/cj/NativeQueryAttributesBindings.java @@ -20,14 +20,54 @@ package com.mysql.cj; +import java.math.BigDecimal; +import java.math.BigInteger; +import java.time.Duration; +import java.time.Instant; +import java.time.LocalDate; +import java.time.LocalDateTime; +import java.time.LocalTime; +import java.time.OffsetDateTime; +import java.time.OffsetTime; +import java.time.ZonedDateTime; import java.util.ArrayList; +import java.util.HashMap; import java.util.List; +import java.util.Map; import java.util.Map.Entry; import java.util.Optional; import java.util.function.Consumer; public class NativeQueryAttributesBindings implements QueryAttributesBindings { + // Query attributes use a different type mapping than other parameters bindings. + private static final Map, MysqlType> DEFAULT_MYSQL_TYPES = new HashMap<>(); + static { + DEFAULT_MYSQL_TYPES.put(String.class, MysqlType.CHAR); + DEFAULT_MYSQL_TYPES.put(Boolean.class, MysqlType.TINYINT); + DEFAULT_MYSQL_TYPES.put(Byte.class, MysqlType.TINYINT); + DEFAULT_MYSQL_TYPES.put(Short.class, MysqlType.SMALLINT); + DEFAULT_MYSQL_TYPES.put(Integer.class, MysqlType.INT); + DEFAULT_MYSQL_TYPES.put(Long.class, MysqlType.BIGINT); + DEFAULT_MYSQL_TYPES.put(BigInteger.class, MysqlType.BIGINT); + DEFAULT_MYSQL_TYPES.put(Float.class, MysqlType.FLOAT); + DEFAULT_MYSQL_TYPES.put(Double.class, MysqlType.DOUBLE); + DEFAULT_MYSQL_TYPES.put(BigDecimal.class, MysqlType.DOUBLE); + DEFAULT_MYSQL_TYPES.put(java.sql.Date.class, MysqlType.DATE); + DEFAULT_MYSQL_TYPES.put(LocalDate.class, MysqlType.DATE); + DEFAULT_MYSQL_TYPES.put(java.sql.Time.class, MysqlType.TIME); + DEFAULT_MYSQL_TYPES.put(LocalTime.class, MysqlType.TIME); + DEFAULT_MYSQL_TYPES.put(OffsetTime.class, MysqlType.TIME); + DEFAULT_MYSQL_TYPES.put(Duration.class, MysqlType.TIME); + DEFAULT_MYSQL_TYPES.put(LocalDateTime.class, MysqlType.DATETIME); + DEFAULT_MYSQL_TYPES.put(java.sql.Timestamp.class, MysqlType.TIMESTAMP); + DEFAULT_MYSQL_TYPES.put(Instant.class, MysqlType.TIMESTAMP); + DEFAULT_MYSQL_TYPES.put(OffsetDateTime.class, MysqlType.TIMESTAMP); + DEFAULT_MYSQL_TYPES.put(ZonedDateTime.class, MysqlType.TIMESTAMP); + DEFAULT_MYSQL_TYPES.put(java.util.Date.class, MysqlType.TIMESTAMP); + DEFAULT_MYSQL_TYPES.put(java.util.Calendar.class, MysqlType.TIMESTAMP); + } + Session session = null; private List bindAttributes = new ArrayList<>(); @@ -37,15 +77,15 @@ public NativeQueryAttributesBindings(Session sess) { @Override public void setAttribute(String name, Object value) { - MysqlType defaultMysqlType = value == null ? MysqlType.NULL : NativeQueryBindings.DEFAULT_MYSQL_TYPES.get(value.getClass()); + MysqlType defaultMysqlType = value == null ? MysqlType.NULL : DEFAULT_MYSQL_TYPES.get(value.getClass()); Object val = value; if (defaultMysqlType == null) { - Optional mysqlType = NativeQueryBindings.DEFAULT_MYSQL_TYPES.entrySet().stream() - .filter(m -> m.getKey().isAssignableFrom(value.getClass())).map(Entry::getValue).findFirst(); + Optional mysqlType = DEFAULT_MYSQL_TYPES.entrySet().stream().filter(m -> m.getKey().isAssignableFrom(value.getClass())) + .map(Entry::getValue).findFirst(); if (mysqlType.isPresent()) { defaultMysqlType = mysqlType.get(); } else { - defaultMysqlType = MysqlType.VARCHAR; + defaultMysqlType = MysqlType.CHAR; val = value.toString(); } } @@ -56,6 +96,14 @@ public void setAttribute(String name, Object value) { this.bindAttributes.add(bv); } + @Override + public void removeAttribute(String name) { + Optional bindValue = this.bindAttributes.stream().filter(b -> name.equalsIgnoreCase(b.getName())).findAny(); + if (bindValue.isPresent()) { + this.bindAttributes.remove(bindValue.get()); + } + } + @Override public int getCount() { return this.bindAttributes.size(); @@ -66,6 +114,11 @@ public BindValue getAttributeValue(int index) { return this.bindAttributes.get(index); } + @Override + public boolean containsAttribute(String name) { + return this.bindAttributes.stream().filter(b -> name.equalsIgnoreCase(b.getName())).findAny().isPresent(); + } + @Override public void runThroughAll(Consumer bindAttribute) { this.bindAttributes.forEach(bindAttribute::accept); diff --git a/src/main/core-impl/java/com/mysql/cj/NativeQueryBindValue.java b/src/main/core-impl/java/com/mysql/cj/NativeQueryBindValue.java index 90098e5ae..e3a3e040a 100644 --- a/src/main/core-impl/java/com/mysql/cj/NativeQueryBindValue.java +++ b/src/main/core-impl/java/com/mysql/cj/NativeQueryBindValue.java @@ -280,9 +280,10 @@ public int getFieldType() { case TINYINT: case TINYINT_UNSIGNED: return MysqlType.FIELD_TYPE_TINY; + case CHAR: + return MysqlType.FIELD_TYPE_STRING; case BINARY: case VARBINARY: - case CHAR: case VARCHAR: return MysqlType.FIELD_TYPE_VAR_STRING; case FLOAT: diff --git a/src/main/core-impl/java/com/mysql/cj/NativeQueryBindings.java b/src/main/core-impl/java/com/mysql/cj/NativeQueryBindings.java index e81efb89c..f3cc626c7 100644 --- a/src/main/core-impl/java/com/mysql/cj/NativeQueryBindings.java +++ b/src/main/core-impl/java/com/mysql/cj/NativeQueryBindings.java @@ -205,7 +205,7 @@ public void setFromBindValue(int parameterIndex, BindValue bv) { binding.setScaleOrLength(bv.getScaleOrLength()); } - static Map, MysqlType> DEFAULT_MYSQL_TYPES = new HashMap<>(); + private static final Map, MysqlType> DEFAULT_MYSQL_TYPES = new HashMap<>(); static { DEFAULT_MYSQL_TYPES.put(BigDecimal.class, MysqlType.DECIMAL); DEFAULT_MYSQL_TYPES.put(BigInteger.class, MysqlType.BIGINT); diff --git a/src/main/core-impl/java/com/mysql/cj/NativeSession.java b/src/main/core-impl/java/com/mysql/cj/NativeSession.java index 379aaa34d..5c70c4de2 100644 --- a/src/main/core-impl/java/com/mysql/cj/NativeSession.java +++ b/src/main/core-impl/java/com/mysql/cj/NativeSession.java @@ -37,6 +37,7 @@ import java.util.function.Supplier; import com.mysql.cj.conf.HostInfo; +import com.mysql.cj.conf.PropertyDefinitions.OpenTelemetry; import com.mysql.cj.conf.PropertyKey; import com.mysql.cj.conf.PropertySet; import com.mysql.cj.conf.RuntimeProperty; @@ -50,6 +51,7 @@ import com.mysql.cj.exceptions.OperationCancelledException; import com.mysql.cj.interceptors.QueryInterceptor; import com.mysql.cj.log.Log; +import com.mysql.cj.otel.OpenTelemetryHandler; import com.mysql.cj.protocol.ColumnDefinition; import com.mysql.cj.protocol.NetworkResources; import com.mysql.cj.protocol.ProtocolEntityFactory; @@ -68,6 +70,11 @@ import com.mysql.cj.result.Row; import com.mysql.cj.result.StringValueFactory; import com.mysql.cj.result.ValueFactory; +import com.mysql.cj.telemetry.NoopTelemetryHandler; +import com.mysql.cj.telemetry.TelemetryAttribute; +import com.mysql.cj.telemetry.TelemetryScope; +import com.mysql.cj.telemetry.TelemetrySpan; +import com.mysql.cj.telemetry.TelemetrySpanName; import com.mysql.cj.util.StringUtils; import com.mysql.cj.util.Util; @@ -80,6 +87,9 @@ public class NativeSession extends CoreSession implements Serializable { /** When did the last query finish? */ private long lastQueryFinishedTime = 0; + /** The comment (if any) to prepend to all queries sent to the server (to show up in "SHOW PROCESSLIST") */ + private String queryComment = null; + /** Does this connection need to be tested? */ private boolean needsPing = false; @@ -97,6 +107,24 @@ public class NativeSession extends CoreSession implements Serializable { public NativeSession(HostInfo hostInfo, PropertySet propSet) { super(hostInfo, propSet); + + // Check Telemetry option. + RuntimeProperty openTelemetry = this.propertySet.getEnumProperty(PropertyKey.openTelemetry); + if (openTelemetry.getValue() == OpenTelemetry.PREFERRED || openTelemetry.getValue() == OpenTelemetry.REQUIRED) { + if (!OpenTelemetryHandler.isOpenTelemetryApiAvailable()) { + if (openTelemetry.getValue() == OpenTelemetry.REQUIRED) { + throw ExceptionFactory.createException(Messages.getString("Connection.OtelApiNotFound")); + } + if (openTelemetry.isExplicitlySet()) { + getLog().logInfo(Messages.getString("Connection.OtelApiNotFound")); + } + setTelemetryHandler(NoopTelemetryHandler.getInstance()); + } else { + setTelemetryHandler(new OpenTelemetryHandler()); + } + } else { + setTelemetryHandler(NoopTelemetryHandler.getInstance()); + } } public void connect(HostInfo hi, String user, String password, String database, int loginTimeout, TransactionEventHandler transactionManager) @@ -179,15 +207,47 @@ public void forceClose() { } public void enableMultiQueries() { - this.protocol.sendCommand(this.commandBuilder.buildComSetOption(((NativeProtocol) this.protocol).getSharedSendPacket(), 0), false, 0); - // OK_PACKET returned in previous sendCommand() was not processed so keep original transaction state. - ((NativeServerSession) getServerSession()).preserveOldTransactionState(); + TelemetrySpan span = getTelemetryHandler().startSpan(TelemetrySpanName.SET_OPTION_MULTI_STATEMENTS, "on"); + try (TelemetryScope scope = span.makeCurrent()) { + span.setAttribute(TelemetryAttribute.DB_NAME, this.hostInfo.getDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, TelemetryAttribute.OPERATION_SET); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, TelemetryAttribute.OPERATION_SET + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, this.hostInfo.getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + + this.protocol.sendCommand(this.commandBuilder.buildComSetOption(((NativeProtocol) this.protocol).getSharedSendPacket(), 0), false, 0); + // OK_PACKET returned in previous sendCommand() was not processed so keep original transaction state. + ((NativeServerSession) getServerSession()).preserveOldTransactionState(); + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); + } } public void disableMultiQueries() { - this.protocol.sendCommand(this.commandBuilder.buildComSetOption(((NativeProtocol) this.protocol).getSharedSendPacket(), 1), false, 0); - // OK_PACKET returned in previous sendCommand() was not processed so keep original transaction state. - ((NativeServerSession) getServerSession()).preserveOldTransactionState(); + TelemetrySpan span = getTelemetryHandler().startSpan(TelemetrySpanName.SET_OPTION_MULTI_STATEMENTS, "off"); + try (TelemetryScope scope = span.makeCurrent()) { + span.setAttribute(TelemetryAttribute.DB_NAME, this.hostInfo.getDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, TelemetryAttribute.OPERATION_SET); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, TelemetryAttribute.OPERATION_SET + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, this.hostInfo.getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + + this.protocol.sendCommand(this.commandBuilder.buildComSetOption(((NativeProtocol) this.protocol).getSharedSendPacket(), 1), false, 0); + // OK_PACKET returned in previous sendCommand() was not processed so keep original transaction state. + ((NativeServerSession) getServerSession()).preserveOldTransactionState(); + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); + } } @Override @@ -221,10 +281,26 @@ public boolean isServerLocal(Session sess) { * */ public void shutdownServer() { - if (versionMeetsMinimum(5, 7, 9)) { - this.protocol.sendCommand(this.commandBuilder.buildComQuery(getSharedSendPacket(), "SHUTDOWN"), false, 0); - } else { - this.protocol.sendCommand(this.commandBuilder.buildComShutdown(getSharedSendPacket()), false, 0); + TelemetrySpan span = getTelemetryHandler().startSpan(TelemetrySpanName.SHUTDOWN); + try (TelemetryScope scope = span.makeCurrent()) { + span.setAttribute(TelemetryAttribute.DB_NAME, this.hostInfo.getDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, TelemetryAttribute.OPERATION_SHUTDOWN); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, TelemetryAttribute.OPERATION_SHUTDOWN + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, this.hostInfo.getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + + if (versionMeetsMinimum(5, 7, 9)) { + this.protocol.sendCommand(this.commandBuilder.buildComQuery(getSharedSendPacket(), this, "SHUTDOWN"), false, 0); + } else { + this.protocol.sendCommand(this.commandBuilder.buildComShutdown(getSharedSendPacket()), false, 0); + } + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); } } @@ -403,66 +479,84 @@ public void loadServerVariables(Object syncMutex, String version) { this.protocol.getServerSession().setServerVariables(new HashMap<>()); - if (versionMeetsMinimum(5, 1, 0)) { - StringBuilder queryBuf = new StringBuilder(versionComment).append("SELECT"); - queryBuf.append(" @@session.auto_increment_increment AS auto_increment_increment"); - queryBuf.append(", @@character_set_client AS character_set_client"); - queryBuf.append(", @@character_set_connection AS character_set_connection"); - queryBuf.append(", @@character_set_results AS character_set_results"); - queryBuf.append(", @@character_set_server AS character_set_server"); - queryBuf.append(", @@collation_server AS collation_server"); - queryBuf.append(", @@collation_connection AS collation_connection"); - queryBuf.append(", @@init_connect AS init_connect"); - queryBuf.append(", @@interactive_timeout AS interactive_timeout"); - if (!versionMeetsMinimum(5, 5, 0)) { - queryBuf.append(", @@language AS language"); - } - queryBuf.append(", @@license AS license"); - queryBuf.append(", @@lower_case_table_names AS lower_case_table_names"); - queryBuf.append(", @@max_allowed_packet AS max_allowed_packet"); - queryBuf.append(", @@net_write_timeout AS net_write_timeout"); - queryBuf.append(", @@performance_schema AS performance_schema"); - if (!versionMeetsMinimum(8, 0, 3)) { - queryBuf.append(", @@query_cache_size AS query_cache_size"); - queryBuf.append(", @@query_cache_type AS query_cache_type"); - } - queryBuf.append(", @@sql_mode AS sql_mode"); - queryBuf.append(", @@system_time_zone AS system_time_zone"); - queryBuf.append(", @@time_zone AS time_zone"); - if (versionMeetsMinimum(8, 0, 3) || versionMeetsMinimum(5, 7, 20) && !versionMeetsMinimum(8, 0, 0)) { - queryBuf.append(", @@transaction_isolation AS transaction_isolation"); - } else { - queryBuf.append(", @@tx_isolation AS transaction_isolation"); - } - queryBuf.append(", @@wait_timeout AS wait_timeout"); + TelemetrySpan span = getTelemetryHandler().startSpan(TelemetrySpanName.LOAD_VARIABLES); + try (TelemetryScope scope = span.makeCurrent()) { + span.setAttribute(TelemetryAttribute.DB_SYSTEM, "MySQL"); + span.setAttribute(TelemetryAttribute.DB_NAME, this.hostInfo.getDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, TelemetryAttribute.OPERATION_SELECT); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, TelemetryAttribute.OPERATION_SELECT + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, this.hostInfo.getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + + if (versionMeetsMinimum(5, 1, 0)) { + StringBuilder queryBuf = new StringBuilder(versionComment).append("SELECT"); + queryBuf.append(" @@session.auto_increment_increment AS auto_increment_increment"); + queryBuf.append(", @@character_set_client AS character_set_client"); + queryBuf.append(", @@character_set_connection AS character_set_connection"); + queryBuf.append(", @@character_set_results AS character_set_results"); + queryBuf.append(", @@character_set_server AS character_set_server"); + queryBuf.append(", @@collation_server AS collation_server"); + queryBuf.append(", @@collation_connection AS collation_connection"); + queryBuf.append(", @@init_connect AS init_connect"); + queryBuf.append(", @@interactive_timeout AS interactive_timeout"); + if (!versionMeetsMinimum(5, 5, 0)) { + queryBuf.append(", @@language AS language"); + } + queryBuf.append(", @@license AS license"); + queryBuf.append(", @@lower_case_table_names AS lower_case_table_names"); + queryBuf.append(", @@max_allowed_packet AS max_allowed_packet"); + queryBuf.append(", @@net_write_timeout AS net_write_timeout"); + queryBuf.append(", @@performance_schema AS performance_schema"); + if (!versionMeetsMinimum(8, 0, 3)) { + queryBuf.append(", @@query_cache_size AS query_cache_size"); + queryBuf.append(", @@query_cache_type AS query_cache_type"); + } + queryBuf.append(", @@sql_mode AS sql_mode"); + queryBuf.append(", @@system_time_zone AS system_time_zone"); + queryBuf.append(", @@time_zone AS time_zone"); + if (versionMeetsMinimum(8, 0, 3) || versionMeetsMinimum(5, 7, 20) && !versionMeetsMinimum(8, 0, 0)) { + queryBuf.append(", @@transaction_isolation AS transaction_isolation"); + } else { + queryBuf.append(", @@tx_isolation AS transaction_isolation"); + } + queryBuf.append(", @@wait_timeout AS wait_timeout"); + + NativePacketPayload resultPacket = (NativePacketPayload) this.protocol + .sendCommand(this.commandBuilder.buildComQuery(null, this, queryBuf.toString()), false, 0); + Resultset rs = ((NativeProtocol) this.protocol).readAllResults(-1, false, resultPacket, false, null, + new ResultsetFactory(Type.FORWARD_ONLY, null)); + Field[] f = rs.getColumnDefinition().getFields(); + if (f.length > 0) { + ValueFactory vf = new StringValueFactory(this.propertySet); + Row r; + if ((r = rs.getRows().next()) != null) { + for (int i = 0; i < f.length; i++) { + String value = r.getValue(i, vf); + this.protocol.getServerSession().getServerVariables().put(f[i].getColumnLabel(), value); + } + } + } - NativePacketPayload resultPacket = (NativePacketPayload) this.protocol.sendCommand(this.commandBuilder.buildComQuery(null, queryBuf.toString()), - false, 0); - Resultset rs = ((NativeProtocol) this.protocol).readAllResults(-1, false, resultPacket, false, null, - new ResultsetFactory(Type.FORWARD_ONLY, null)); - Field[] f = rs.getColumnDefinition().getFields(); - if (f.length > 0) { + } else { + NativePacketPayload resultPacket = (NativePacketPayload) this.protocol + .sendCommand(this.commandBuilder.buildComQuery(null, this, versionComment + "SHOW VARIABLES"), false, 0); + Resultset rs = ((NativeProtocol) this.protocol).readAllResults(-1, false, resultPacket, false, null, + new ResultsetFactory(Type.FORWARD_ONLY, null)); ValueFactory vf = new StringValueFactory(this.propertySet); Row r; - if ((r = rs.getRows().next()) != null) { - for (int i = 0; i < f.length; i++) { - String value = r.getValue(i, vf); - this.protocol.getServerSession().getServerVariables().put(f[i].getColumnLabel(), value); - } + while ((r = rs.getRows().next()) != null) { + this.protocol.getServerSession().getServerVariables().put(r.getValue(0, vf), r.getValue(1, vf)); } } - - } else { - NativePacketPayload resultPacket = (NativePacketPayload) this.protocol - .sendCommand(this.commandBuilder.buildComQuery(null, versionComment + "SHOW VARIABLES"), false, 0); - Resultset rs = ((NativeProtocol) this.protocol).readAllResults(-1, false, resultPacket, false, null, - new ResultsetFactory(Type.FORWARD_ONLY, null)); - ValueFactory vf = new StringValueFactory(this.propertySet); - Row r; - while ((r = rs.getRows().next()) != null) { - this.protocol.getServerSession().getServerVariables().put(r.getValue(0, vf), r.getValue(1, vf)); - } + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); } + } catch (IOException e) { throw ExceptionFactory.createException(e.getMessage(), e); } @@ -484,56 +578,100 @@ public void setSessionVariables() { } if (!variablesToSet.isEmpty()) { - StringBuilder query = new StringBuilder("SET "); - String separator = ""; - for (String variableToSet : variablesToSet) { - if (variableToSet.length() > 0) { - query.append(separator); - if (!variableToSet.startsWith("@")) { - query.append("SESSION "); + TelemetrySpan span = getTelemetryHandler().startSpan(TelemetrySpanName.SET_VARIABLES); + try (TelemetryScope scope = span.makeCurrent()) { + span.setAttribute(TelemetryAttribute.DB_NAME, this.hostInfo.getDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, TelemetryAttribute.OPERATION_SET); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, TelemetryAttribute.OPERATION_SET + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, this.hostInfo.getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + + StringBuilder query = new StringBuilder("SET "); + String separator = ""; + for (String variableToSet : variablesToSet) { + if (variableToSet.length() > 0) { + query.append(separator); + if (!variableToSet.startsWith("@")) { + query.append("SESSION "); + } + query.append(variableToSet); + separator = ","; } - query.append(variableToSet); - separator = ","; } + this.protocol.sendCommand(this.commandBuilder.buildComQuery(null, this, query.toString()), false, 0); + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); } - this.protocol.sendCommand(this.commandBuilder.buildComQuery(null, query.toString()), false, 0); + } } } + @Override + public String getQueryComment() { + return this.queryComment; + } + + @Override + public void setQueryComment(String comment) { + this.queryComment = comment; + } + @Override public String getProcessHost() { - try { - long threadId = getThreadId(); - String processHost = findProcessHost(threadId); + TelemetrySpan span = getTelemetryHandler().startSpan(TelemetrySpanName.GET_PROCESS_HOST); + try (TelemetryScope scope = span.makeCurrent()) { + String dbOperation = TelemetryAttribute.OPERATION_SELECT + "/" + TelemetryAttribute.OPERATION_SHOW; + span.setAttribute(TelemetryAttribute.DB_NAME, this.hostInfo.getDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, dbOperation); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, dbOperation + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, this.hostInfo.getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); - if (processHost == null) { - // http://bugs.mysql.com/bug.php?id=44167 - connection ids on the wire wrap at 4 bytes even though they're 64-bit numbers - this.log.logWarn(String.format( - "Connection id %d not found in \"SHOW PROCESSLIST\", assuming 32-bit overflow, using SELECT CONNECTION_ID() instead", threadId)); + try { + long threadId = getThreadId(); + String processHost = findProcessHost(threadId); - NativePacketPayload resultPacket = (NativePacketPayload) this.protocol - .sendCommand(this.commandBuilder.buildComQuery(null, "SELECT CONNECTION_ID()"), false, 0); - Resultset rs = ((NativeProtocol) this.protocol).readAllResults(-1, false, resultPacket, false, null, - new ResultsetFactory(Type.FORWARD_ONLY, null)); + if (processHost == null) { + // http://bugs.mysql.com/bug.php?id=44167 - connection ids on the wire wrap at 4 bytes even though they're 64-bit numbers + this.log.logWarn(String.format( + "Connection id %d not found in \"SHOW PROCESSLIST\", assuming 32-bit overflow, using SELECT CONNECTION_ID() instead", threadId)); - ValueFactory lvf = new LongValueFactory(getPropertySet()); - Row r; - if ((r = rs.getRows().next()) != null) { - threadId = r.getValue(0, lvf); - processHost = findProcessHost(threadId); - } else { - this.log.logError("No rows returned for statement \"SELECT CONNECTION_ID()\", local connection check will most likely be incorrect"); + NativePacketPayload resultPacket = (NativePacketPayload) this.protocol + .sendCommand(this.commandBuilder.buildComQuery(null, this, "SELECT CONNECTION_ID()"), false, 0); + Resultset rs = ((NativeProtocol) this.protocol).readAllResults(-1, false, resultPacket, false, null, + new ResultsetFactory(Type.FORWARD_ONLY, null)); + + ValueFactory lvf = new LongValueFactory(getPropertySet()); + Row r; + if ((r = rs.getRows().next()) != null) { + threadId = r.getValue(0, lvf); + processHost = findProcessHost(threadId); + } else { + this.log.logError("No rows returned for statement \"SELECT CONNECTION_ID()\", local connection check will most likely be incorrect"); + } } - } - if (processHost == null) { - this.log.logWarn(String.format( - "Cannot find process listing for connection %d in SHOW PROCESSLIST output, unable to determine if locally connected", threadId)); + if (processHost == null) { + this.log.logWarn(String.format( + "Cannot find process listing for connection %d in SHOW PROCESSLIST output, unable to determine if locally connected", threadId)); + } + return processHost; + } catch (IOException e) { + throw ExceptionFactory.createException(e.getMessage(), e); } - return processHost; - } catch (IOException e) { - throw ExceptionFactory.createException(e.getMessage(), e); + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); } } @@ -543,13 +681,11 @@ private String findProcessHost(long threadId) { String ps = this.protocol.getServerSession().getServerVariable("performance_schema"); - NativePacketPayload resultPacket = versionMeetsMinimum(5, 6, 0) // performance_schema.threads in MySQL 5.5 does not contain PROCESSLIST_HOST column - && ps != null && ("1".contentEquals(ps) || "ON".contentEquals(ps)) - ? (NativePacketPayload) this.protocol.sendCommand(this.commandBuilder.buildComQuery(null, - "select PROCESSLIST_ID, PROCESSLIST_USER, PROCESSLIST_HOST from performance_schema.threads where PROCESSLIST_ID=" - + threadId), - false, 0) - : (NativePacketPayload) this.protocol.sendCommand(this.commandBuilder.buildComQuery(null, "SHOW PROCESSLIST"), false, 0); + NativePacketPayload resultPacket = ps != null && ("1".contentEquals(ps) || "ON".contentEquals(ps)) + ? (NativePacketPayload) this.protocol.sendCommand(this.commandBuilder.buildComQuery(null, this, + "SELECT PROCESSLIST_ID, PROCESSLIST_USER, PROCESSLIST_HOST FROM performance_schema.threads WHERE PROCESSLIST_ID=" + threadId), + false, 0) + : (NativePacketPayload) this.protocol.sendCommand(this.commandBuilder.buildComQuery(null, this, "SHOW PROCESSLIST"), false, 0); Resultset rs = ((NativeProtocol) this.protocol).readAllResults(-1, false, resultPacket, false, null, new ResultsetFactory(Type.FORWARD_ONLY, null)); @@ -579,25 +715,41 @@ private String findProcessHost(long threadId) { * @return server variable value */ public String queryServerVariable(String varName) { - try { + TelemetrySpan span = getTelemetryHandler().startSpan(TelemetrySpanName.GET_VARIABLE, varName); + try (TelemetryScope scope = span.makeCurrent()) { + span.setAttribute(TelemetryAttribute.DB_NAME, this.hostInfo.getDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, TelemetryAttribute.OPERATION_SELECT); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, TelemetryAttribute.OPERATION_SELECT + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, this.hostInfo.getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); - NativePacketPayload resultPacket = (NativePacketPayload) this.protocol.sendCommand(this.commandBuilder.buildComQuery(null, "SELECT " + varName), - false, 0); - Resultset rs = ((NativeProtocol) this.protocol).readAllResults(-1, false, resultPacket, false, null, new ResultsetFactory(Type.FORWARD_ONLY, null)); + try { + NativePacketPayload resultPacket = (NativePacketPayload) this.protocol + .sendCommand(this.commandBuilder.buildComQuery(null, this, "SELECT " + varName), false, 0); + Resultset rs = ((NativeProtocol) this.protocol).readAllResults(-1, false, resultPacket, false, null, + new ResultsetFactory(Type.FORWARD_ONLY, null)); - ValueFactory svf = new StringValueFactory(this.propertySet); - Row r; - if ((r = rs.getRows().next()) != null) { - String s = r.getValue(0, svf); - if (s != null) { - return s; + ValueFactory svf = new StringValueFactory(this.propertySet); + Row r; + if ((r = rs.getRows().next()) != null) { + String s = r.getValue(0, svf); + if (s != null) { + return s; + } } - } - return null; + return null; - } catch (IOException e) { - throw ExceptionFactory.createException(e.getMessage(), e); + } catch (IOException e) { + throw ExceptionFactory.createException(e.getMessage(), e); + } + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); } } @@ -645,10 +797,10 @@ public T execSQL(Query callingQuery, String query, int max } try { - return packet == null - ? ((NativeProtocol) this.protocol).sendQueryString(callingQuery, query, this.characterEncoding.getValue(), maxRows, streamResults, - cachedMetadata, resultSetFactory) - : ((NativeProtocol) this.protocol).sendQueryPacket(callingQuery, packet, maxRows, streamResults, cachedMetadata, resultSetFactory); + if (packet == null) { + packet = this.commandBuilder.buildComQuery(null, this, query, callingQuery, this.characterEncoding.getValue()); + } + return ((NativeProtocol) this.protocol).sendQueryPacket(callingQuery, packet, maxRows, streamResults, cachedMetadata, resultSetFactory); } catch (CJException sqlE) { if (getPropertySet().getBooleanProperty(PropertyKey.dumpQueriesOnException).getValue()) { @@ -712,18 +864,34 @@ public void ping(boolean checkForClosedConnection, int timeoutMillis) { checkClosed(); } - long pingMillisLifetime = getPropertySet().getIntegerProperty(PropertyKey.selfDestructOnPingSecondsLifetime).getValue(); - int pingMaxOperations = getPropertySet().getIntegerProperty(PropertyKey.selfDestructOnPingMaxOperations).getValue(); + TelemetrySpan span = getTelemetryHandler().startSpan(TelemetrySpanName.PING); + try (TelemetryScope scope = span.makeCurrent()) { + span.setAttribute(TelemetryAttribute.DB_NAME, this.hostInfo.getDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, TelemetryAttribute.OPERATION_PING); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, TelemetryAttribute.OPERATION_PING); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, this.hostInfo.getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + + long pingMillisLifetime = getPropertySet().getIntegerProperty(PropertyKey.selfDestructOnPingSecondsLifetime).getValue(); + int pingMaxOperations = getPropertySet().getIntegerProperty(PropertyKey.selfDestructOnPingMaxOperations).getValue(); - if (pingMillisLifetime > 0 && System.currentTimeMillis() - this.connectionCreationTimeMillis > pingMillisLifetime - || pingMaxOperations > 0 && pingMaxOperations <= getCommandCount()) { + if (pingMillisLifetime > 0 && System.currentTimeMillis() - this.connectionCreationTimeMillis > pingMillisLifetime + || pingMaxOperations > 0 && pingMaxOperations <= getCommandCount()) { - invokeNormalCloseListeners(); + invokeNormalCloseListeners(); - throw ExceptionFactory.createException(Messages.getString("Connection.exceededConnectionLifetime"), - MysqlErrorNumbers.SQL_STATE_COMMUNICATION_LINK_FAILURE, 0, false, null, this.exceptionInterceptor); + throw ExceptionFactory.createException(Messages.getString("Connection.exceededConnectionLifetime"), + MysqlErrorNumbers.SQL_STATE_COMMUNICATION_LINK_FAILURE, 0, false, null, this.exceptionInterceptor); + } + this.protocol.sendCommand(this.commandBuilder.buildComPing(null), false, timeoutMillis); // it isn't safe to use a shared packet here + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); } - this.protocol.sendCommand(this.commandBuilder.buildComPing(null), false, timeoutMillis); // it isn't safe to use a shared packet here } public long getConnectionCreationTimeMillis() { diff --git a/src/main/core-impl/java/com/mysql/cj/ServerPreparedQuery.java b/src/main/core-impl/java/com/mysql/cj/ServerPreparedQuery.java index 9047b6f6e..c8a7de7af 100644 --- a/src/main/core-impl/java/com/mysql/cj/ServerPreparedQuery.java +++ b/src/main/core-impl/java/com/mysql/cj/ServerPreparedQuery.java @@ -45,6 +45,10 @@ import com.mysql.cj.protocol.a.NativeMessageBuilder; import com.mysql.cj.protocol.a.NativePacketPayload; import com.mysql.cj.result.Field; +import com.mysql.cj.telemetry.TelemetryAttribute; +import com.mysql.cj.telemetry.TelemetryScope; +import com.mysql.cj.telemetry.TelemetrySpan; +import com.mysql.cj.telemetry.TelemetrySpanName; import com.mysql.cj.util.StringUtils; // TODO should not be protocol-specific @@ -381,36 +385,53 @@ public T readExecuteResult(NativePacketPayload resultPacke */ private void serverLongData(int parameterIndex, BindValue binding) { synchronized (this) { - NativePacketPayload packet = this.session.getSharedSendPacket(); - Object value = binding.getValue(); - if (value instanceof byte[]) { - this.session.getProtocol() - .sendCommand(this.commandBuilder.buildComStmtSendLongData(packet, this.serverStatementId, parameterIndex, (byte[]) value), true, 0); - } else if (value instanceof InputStream) { - storeStreamOrReader(parameterIndex, packet, (InputStream) value); - } else if (value instanceof java.sql.Blob) { - try { - storeStreamOrReader(parameterIndex, packet, ((java.sql.Blob) value).getBinaryStream()); - } catch (Throwable t) { - throw ExceptionFactory.createException(t.getMessage(), this.session.getExceptionInterceptor()); - } - } else if (value instanceof Reader) { - if (binding.isNational() && !this.charEncoding.equalsIgnoreCase("UTF-8") && !this.charEncoding.equalsIgnoreCase("utf8")) { - throw ExceptionFactory.createException(Messages.getString("ServerPreparedStatement.31"), this.session.getExceptionInterceptor()); - } - storeStreamOrReader(parameterIndex, packet, (Reader) value); - } else if (value instanceof Clob) { - if (binding.isNational() && !this.charEncoding.equalsIgnoreCase("UTF-8") && !this.charEncoding.equalsIgnoreCase("utf8")) { - throw ExceptionFactory.createException(Messages.getString("ServerPreparedStatement.31"), this.session.getExceptionInterceptor()); - } - try { - storeStreamOrReader(parameterIndex, packet, ((Clob) value).getCharacterStream()); - } catch (Throwable t) { - throw ExceptionFactory.createException(t.getMessage(), t); + TelemetrySpan span = this.session.getTelemetryHandler().startSpan(TelemetrySpanName.STMT_SEND_LONG_DATA); + try (TelemetryScope scope = span.makeCurrent()) { + String dbOperation = getQueryInfo().getStatementKeyword(); + span.setAttribute(TelemetryAttribute.DB_NAME, getCurrentDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, dbOperation); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, dbOperation + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, this.session.getHostInfo().getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + + NativePacketPayload packet = this.session.getSharedSendPacket(); + Object value = binding.getValue(); + if (value instanceof byte[]) { + this.session.getProtocol() + .sendCommand(this.commandBuilder.buildComStmtSendLongData(packet, this.serverStatementId, parameterIndex, (byte[]) value), true, 0); + } else if (value instanceof InputStream) { + storeStreamOrReader(parameterIndex, packet, (InputStream) value); + } else if (value instanceof java.sql.Blob) { + try { + storeStreamOrReader(parameterIndex, packet, ((java.sql.Blob) value).getBinaryStream()); + } catch (Throwable t) { + throw ExceptionFactory.createException(t.getMessage(), this.session.getExceptionInterceptor()); + } + } else if (value instanceof Reader) { + if (binding.isNational() && !this.charEncoding.equalsIgnoreCase("UTF-8") && !this.charEncoding.equalsIgnoreCase("utf8")) { + throw ExceptionFactory.createException(Messages.getString("ServerPreparedStatement.31"), this.session.getExceptionInterceptor()); + } + storeStreamOrReader(parameterIndex, packet, (Reader) value); + } else if (value instanceof Clob) { + if (binding.isNational() && !this.charEncoding.equalsIgnoreCase("UTF-8") && !this.charEncoding.equalsIgnoreCase("utf8")) { + throw ExceptionFactory.createException(Messages.getString("ServerPreparedStatement.31"), this.session.getExceptionInterceptor()); + } + try { + storeStreamOrReader(parameterIndex, packet, ((Clob) value).getCharacterStream()); + } catch (Throwable t) { + throw ExceptionFactory.createException(t.getMessage(), t); + } + } else { + throw ExceptionFactory.createException(WrongArgumentException.class, + Messages.getString("ServerPreparedStatement.18") + value.getClass().getName() + "'", this.session.getExceptionInterceptor()); } - } else { - throw ExceptionFactory.createException(WrongArgumentException.class, - Messages.getString("ServerPreparedStatement.18") + value.getClass().getName() + "'", this.session.getExceptionInterceptor()); + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); } } } @@ -550,16 +571,33 @@ public void clearParameters(boolean clearServerParameters) { public void serverResetStatement() { this.session.checkClosed(); synchronized (this.session) { - try { - this.session.getProtocol().sendCommand(this.commandBuilder.buildComStmtReset(this.session.getSharedSendPacket(), this.serverStatementId), false, - 0); + TelemetrySpan span = this.session.getTelemetryHandler().startSpan(TelemetrySpanName.STMT_RESET_PREPARED); + try (TelemetryScope scope = span.makeCurrent()) { + String dbOperation = getQueryInfo().getStatementKeyword(); + span.setAttribute(TelemetryAttribute.DB_NAME, getCurrentDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, dbOperation); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, dbOperation + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, this.session.getHostInfo().getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + + try { + this.session.getProtocol().sendCommand(this.commandBuilder.buildComStmtReset(this.session.getSharedSendPacket(), this.serverStatementId), + false, 0); + } finally { + // OK_PACKET returned in previous sendCommand() was not processed so keep original transaction state. + this.session.getProtocol().getServerSession().preserveOldTransactionState(); + this.session.clearInputStream(); + } + // Nothing to be detected after a reset... + this.queryBindings.setLongParameterSwitchDetected(false); + } catch (Throwable t) { + span.setError(t); + throw t; } finally { - // OK_PACKET returned in previous sendCommand() was not processed so keep original transaction state. - this.session.getProtocol().getServerSession().preserveOldTransactionState(); - this.session.clearInputStream(); + span.end(); } - // Nothing to be detected after a reset... - this.queryBindings.setLongParameterSwitchDetected(false); } } diff --git a/src/main/core-impl/java/com/mysql/cj/otel/OpenTelemetryHandler.java b/src/main/core-impl/java/com/mysql/cj/otel/OpenTelemetryHandler.java new file mode 100644 index 000000000..2534a206b --- /dev/null +++ b/src/main/core-impl/java/com/mysql/cj/otel/OpenTelemetryHandler.java @@ -0,0 +1,103 @@ +/* + * Copyright (c) 2024, Oracle and/or its affiliates. + * + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. + * + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. + * + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. + * + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ + +package com.mysql.cj.otel; + +import java.util.ArrayList; +import java.util.List; +import java.util.WeakHashMap; +import java.util.function.BiConsumer; + +import com.mysql.cj.Constants; +import com.mysql.cj.Messages; +import com.mysql.cj.exceptions.ExceptionFactory; +import com.mysql.cj.telemetry.TelemetryHandler; +import com.mysql.cj.telemetry.TelemetrySpan; +import com.mysql.cj.telemetry.TelemetrySpanName; + +import io.opentelemetry.api.GlobalOpenTelemetry; +import io.opentelemetry.api.OpenTelemetry; +import io.opentelemetry.api.trace.Span; +import io.opentelemetry.api.trace.SpanBuilder; +import io.opentelemetry.api.trace.SpanKind; +import io.opentelemetry.api.trace.Tracer; +import io.opentelemetry.context.Context; + +public class OpenTelemetryHandler implements TelemetryHandler { + + private static boolean otelApiAvaliable = true; + static { + try { + Class.forName("io.opentelemetry.api.GlobalOpenTelemetry"); + } catch (ClassNotFoundException e) { + otelApiAvaliable = false; + } + } + private OpenTelemetry openTelemetry = null; + private Tracer tracer = null; + private WeakHashMap spans = new WeakHashMap<>(); + private List linkTargets = new ArrayList<>(); + + public static boolean isOpenTelemetryApiAvailable() { + return otelApiAvaliable; + } + + public OpenTelemetryHandler() { + if (!isOpenTelemetryApiAvailable()) { + throw ExceptionFactory.createException(Messages.getString("Connection.OtelApiNotFound")); + } + + this.openTelemetry = GlobalOpenTelemetry.get(); + this.tracer = this.openTelemetry.getTracer(Constants.CJ_NAME, Constants.CJ_VERSION); + } + + @Override + public TelemetrySpan startSpan(TelemetrySpanName spanName, Object... args) { + SpanBuilder spanBuilder = this.tracer.spanBuilder(spanName.getName(args)).setSpanKind(SpanKind.CLIENT); + this.linkTargets.stream().map(Span::getSpanContext).forEach(spanBuilder::addLink); + Span otelSpan = spanBuilder.startSpan(); + TelemetrySpan span = new OpenTelemetrySpan(otelSpan); + this.spans.put(span, otelSpan); + return span; + } + + @Override + public void addLinkTarget(TelemetrySpan span) { + Span otelSpan = this.spans.get(span); + if (otelSpan != null) { + this.linkTargets.add(otelSpan); + } + } + + @Override + public void removeLinkTarget(TelemetrySpan span) { + Span otelSpan = this.spans.get(span); + if (otelSpan != null) { + this.linkTargets.remove(otelSpan); + } + } + + @Override + public void propagateContext(BiConsumer traceparentConsumer) { + this.openTelemetry.getPropagators().getTextMapPropagator().inject(Context.current(), traceparentConsumer, + (carrier, key, value) -> carrier.accept(key, value)); + } + +} diff --git a/src/main/core-impl/java/com/mysql/cj/otel/OpenTelemetryScope.java b/src/main/core-impl/java/com/mysql/cj/otel/OpenTelemetryScope.java new file mode 100644 index 000000000..5c1d9a9fa --- /dev/null +++ b/src/main/core-impl/java/com/mysql/cj/otel/OpenTelemetryScope.java @@ -0,0 +1,40 @@ +/* + * Copyright (c) 2024, Oracle and/or its affiliates. + * + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. + * + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. + * + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. + * + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ + +package com.mysql.cj.otel; + +import com.mysql.cj.telemetry.TelemetryScope; + +import io.opentelemetry.context.Scope; + +public class OpenTelemetryScope implements TelemetryScope { + + private Scope scope = null; + + public OpenTelemetryScope(Scope scope) { + this.scope = scope; + } + + @Override + public void close() { + this.scope.close(); + } + +} diff --git a/src/main/core-impl/java/com/mysql/cj/otel/OpenTelemetrySpan.java b/src/main/core-impl/java/com/mysql/cj/otel/OpenTelemetrySpan.java new file mode 100644 index 000000000..210216a02 --- /dev/null +++ b/src/main/core-impl/java/com/mysql/cj/otel/OpenTelemetrySpan.java @@ -0,0 +1,74 @@ +/* + * Copyright (c) 2024, Oracle and/or its affiliates. + * + * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by + * the Free Software Foundation. + * + * This program is designed to work with certain software that is licensed under separate terms, as designated in a particular file or component or in + * included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the + * separately licensed software that they have either included with the program or referenced in the documentation. + * + * Without limiting anything contained in the foregoing, this file, which is part of MySQL Connector/J, is also subject to the Universal FOSS Exception, + * version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. + * + * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ + +package com.mysql.cj.otel; + +import com.mysql.cj.telemetry.TelemetryAttribute; +import com.mysql.cj.telemetry.TelemetryScope; +import com.mysql.cj.telemetry.TelemetrySpan; + +import io.opentelemetry.api.trace.Span; +import io.opentelemetry.api.trace.StatusCode; + +public class OpenTelemetrySpan implements TelemetrySpan { + + private Span span = null; + private OpenTelemetryScope scope = null; + + public OpenTelemetrySpan(Span span) { + this.span = span; + } + + @Override + public TelemetryScope makeCurrent() { + this.scope = new OpenTelemetryScope(this.span.makeCurrent()); + return this.scope; + } + + @Override + public void setAttribute(TelemetryAttribute key, String value) { + this.span.setAttribute(key.getKey(), value); + } + + @Override + public void setAttribute(TelemetryAttribute key, long value) { + this.span.setAttribute(key.getKey(), value); + } + + @Override + public void setError(Throwable cause) { + this.span.setStatus(StatusCode.ERROR, cause.getMessage()).recordException(cause); + } + + @Override + public void end() { + this.span.end(); + } + + @Override + public void close() { + if (this.scope != null) { + this.scope.close(); + this.scope = null; + } + end(); + } + +} diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeMessageBuilder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeMessageBuilder.java index e71ae9699..4c31188e2 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeMessageBuilder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeMessageBuilder.java @@ -26,8 +26,11 @@ import com.mysql.cj.Constants; import com.mysql.cj.MessageBuilder; import com.mysql.cj.Messages; -import com.mysql.cj.NativeSession; +import com.mysql.cj.MysqlType; +import com.mysql.cj.NativeQueryAttributesBindings; +import com.mysql.cj.NativeQueryBindValue; import com.mysql.cj.PreparedQuery; +import com.mysql.cj.Query; import com.mysql.cj.QueryAttributesBindings; import com.mysql.cj.QueryBindings; import com.mysql.cj.Session; @@ -62,116 +65,234 @@ public NativePacketPayload buildClose() { throw ExceptionFactory.createException(CJOperationNotSupportedException.class, "Not supported"); } - public NativePacketPayload buildComQuery(NativePacketPayload sharedPacket, byte[] query) { + public NativePacketPayload buildComQuery(NativePacketPayload sharedPacket, Session sess, byte[] query) { NativePacketPayload packet = sharedPacket != null ? sharedPacket : new NativePacketPayload(query.length + 1); packet.writeInteger(IntegerDataType.INT1, NativeConstants.COM_QUERY); if (this.supportsQueryAttributes) { // CLIENT_QUERY_ATTRIBUTES capability has been negotiated but, since this method is used solely to run queries internally and it is not bound to any - // Statement object, no query attributes are ever set. - packet.writeInteger(IntegerDataType.INT_LENENC, 0); - packet.writeInteger(IntegerDataType.INT_LENENC, 1); // parameter_set_count (always 1) + // Statement object, no query attributes are ever set. It remains to inject telemetry context propagation query attribute if telemetry is enabled. + + BindValue queryAttribute = new NativeQueryBindValue(sess); // Required for telemetry context propagation. + sess.getTelemetryHandler().propagateContext((k, v) -> { + queryAttribute.setName(k); + queryAttribute.setBinding(v, MysqlType.CHAR, 0, null); + }); + + if (queryAttribute.getName() == null) { // Telemetry context propagation attribute wasn't set. + packet.writeInteger(IntegerDataType.INT_LENENC, 0); // parameter_count (always 0) + packet.writeInteger(IntegerDataType.INT_LENENC, 1); // parameter_set_count (always 1) + + } else { + packet.writeInteger(IntegerDataType.INT_LENENC, 1); // parameter_count (always 1, for telemetry context propagation) + packet.writeInteger(IntegerDataType.INT_LENENC, 1); // parameter_set_count (always 1) + packet.writeInteger(IntegerDataType.INT1, 0); // null_bitmap (always 0, no nulls) + packet.writeInteger(IntegerDataType.INT1, 1); // new_params_bind_flag (always 1) + packet.writeInteger(IntegerDataType.INT2, queryAttribute.getFieldType()); // param_type_and_flag + packet.writeBytes(StringSelfDataType.STRING_LENENC, queryAttribute.getName().getBytes()); // parameter_name + queryAttribute.writeAsQueryAttribute(packet); // parameter_value + } + } packet.writeBytes(StringLengthDataType.STRING_FIXED, query); return packet; } - public NativePacketPayload buildComQuery(NativePacketPayload sharedPacket, String query) { - return buildComQuery(sharedPacket, StringUtils.getBytes(query)); + public NativePacketPayload buildComQuery(NativePacketPayload sharedPacket, Session sess, String query) { + return buildComQuery(sharedPacket, sess, StringUtils.getBytes(query)); } - public NativePacketPayload buildComQuery(NativePacketPayload sharedPacket, String query, String encoding) { - return buildComQuery(sharedPacket, StringUtils.getBytes(query, encoding)); + public NativePacketPayload buildComQuery(NativePacketPayload sharedPacket, Session sess, String query, String encoding) { + return buildComQuery(sharedPacket, sess, StringUtils.getBytes(query, encoding)); } @Override - public NativePacketPayload buildComQuery(NativePacketPayload sharedPacket, Session sess, PreparedQuery preparedQuery, QueryBindings bindings, - String characterEncoding) { - NativePacketPayload sendPacket = sharedPacket != null ? sharedPacket : new NativePacketPayload(9); - QueryAttributesBindings queryAttributesBindings = preparedQuery.getQueryAttributesBindings(); + public NativePacketPayload buildComQuery(NativePacketPayload sharedPacket, Session sess, String query, Query callingQuery, String characterEncoding) { + String statementComment = sess.getQueryComment(); + if (sess.getPropertySet().getBooleanProperty(PropertyKey.includeThreadNamesAsStatementComment).getValue()) { + statementComment = (statementComment != null ? statementComment + ", " : "") + "java thread: " + Thread.currentThread().getName(); + } + byte[] commentAsBytes = StringUtils.getBytes(statementComment, characterEncoding); - synchronized (this) { - BindValue[] bindValues = bindings.getBindValues(); + QueryAttributesBindings queryAttributesBindings = null; + if (!this.supportsQueryAttributes && callingQuery != null && callingQuery.getQueryAttributesBindings().getCount() > 0) { + sess.getLog().logWarn(Messages.getString("QueryAttributes.SetButNotSupported")); + } + if (this.supportsQueryAttributes && callingQuery != null) { + queryAttributesBindings = callingQuery.getQueryAttributesBindings(); + } else { + queryAttributesBindings = new NativeQueryAttributesBindings(sess); // Required for telemetry context propagation. + } - sendPacket.writeInteger(IntegerDataType.INT1, NativeConstants.COM_QUERY); + boolean contextPropagationAttributeWasInjected = false; + final NativePacketPayload sendPacket; + if (sharedPacket != null) { + sendPacket = sharedPacket; + } else { + // Compute packet length. It's not possible to know exactly how many bytes will be obtained from the query, but UTF-8 max encoding length is 4, so + // pad it (4 * query) + space for headers + int packLength = 1 /* COM_QUERY */ + query.length() * 4 + 2; + + if (commentAsBytes.length > 0) { + packLength += commentAsBytes.length; + packLength += 6; // for "/*[space]" + "[space]*/" + } if (this.supportsQueryAttributes) { + if (!queryAttributesBindings.containsAttribute(sess.getTelemetryHandler().getContextPropagationKey())) { + sess.getTelemetryHandler().propagateContext(queryAttributesBindings::setAttribute); + contextPropagationAttributeWasInjected = true; + } if (queryAttributesBindings.getCount() > 0) { - sendPacket.writeInteger(IntegerDataType.INT_LENENC, queryAttributesBindings.getCount()); - sendPacket.writeInteger(IntegerDataType.INT_LENENC, 1); // parameter_set_count (always 1) - byte[] nullBitsBuffer = new byte[(queryAttributesBindings.getCount() + 7) / 8]; + packLength += 9 /* parameter_count */ + 1 /* parameter_set_count */; + packLength += (queryAttributesBindings.getCount() + 7) / 8 /* null_bitmap */ + 1 /* new_params_bind_flag */; for (int i = 0; i < queryAttributesBindings.getCount(); i++) { - if (queryAttributesBindings.getAttributeValue(i).isNull()) { - nullBitsBuffer[i >>> 3] |= 1 << (i & 7); - } + BindValue queryAttribute = queryAttributesBindings.getAttributeValue(i); + packLength += 2 /* parameter_type */ + queryAttribute.getName().length() /* parameter_name */ + queryAttribute.getBinaryLength(); } - sendPacket.writeBytes(StringLengthDataType.STRING_VAR, nullBitsBuffer); - sendPacket.writeInteger(IntegerDataType.INT1, 1); // new_params_bind_flag (always 1) - queryAttributesBindings.runThroughAll(a -> { - sendPacket.writeInteger(IntegerDataType.INT2, a.getFieldType()); - sendPacket.writeBytes(StringSelfDataType.STRING_LENENC, a.getName().getBytes()); - }); - queryAttributesBindings.runThroughAll(a -> { - if (!a.isNull()) { - a.writeAsQueryAttribute(sendPacket); - } - }); } else { - sendPacket.writeInteger(IntegerDataType.INT_LENENC, 0); - sendPacket.writeInteger(IntegerDataType.INT_LENENC, 1); // parameter_set_count (always 1) + packLength += 1 /* parameter_count */ + 1 /* parameter_set_count */; } - } else if (queryAttributesBindings.getCount() > 0) { - sess.getLog().logWarn(Messages.getString("QueryAttributes.SetButNotSupported")); } - sendPacket.setTag("QUERY"); + sendPacket = new NativePacketPayload(packLength); + } - boolean useStreamLengths = sess.getPropertySet().getBooleanProperty(PropertyKey.useStreamLengthsInPrepStmts).getValue(); + sendPacket.setPosition(0); + sendPacket.writeInteger(IntegerDataType.INT1, NativeConstants.COM_QUERY); - // - // Try and get this allocation as close as possible for BLOBs - // - int ensurePacketSize = 0; + if (this.supportsQueryAttributes) { + if (queryAttributesBindings != null && queryAttributesBindings.getCount() > 0) { + sendPacket.writeInteger(IntegerDataType.INT_LENENC, queryAttributesBindings.getCount()); + sendPacket.writeInteger(IntegerDataType.INT_LENENC, 1); // parameter_set_count (always 1) + byte[] nullBitsBuffer = new byte[(queryAttributesBindings.getCount() + 7) / 8]; + for (int i = 0; i < queryAttributesBindings.getCount(); i++) { + if (queryAttributesBindings.getAttributeValue(i).isNull()) { + nullBitsBuffer[i >>> 3] |= 1 << (i & 7); + } + } + sendPacket.writeBytes(StringLengthDataType.STRING_VAR, nullBitsBuffer); + sendPacket.writeInteger(IntegerDataType.INT1, 1); // new_params_bind_flag (always 1) + queryAttributesBindings.runThroughAll(a -> { + sendPacket.writeInteger(IntegerDataType.INT2, a.getFieldType()); + sendPacket.writeBytes(StringSelfDataType.STRING_LENENC, a.getName().getBytes()); + }); + queryAttributesBindings.runThroughAll(a -> { + if (!a.isNull()) { + a.writeAsQueryAttribute(sendPacket); + } + }); + } else { + sendPacket.writeInteger(IntegerDataType.INT_LENENC, 0); + sendPacket.writeInteger(IntegerDataType.INT_LENENC, 1); // parameter_set_count (always 1) + } + if (contextPropagationAttributeWasInjected) { + queryAttributesBindings.removeAttribute(sess.getTelemetryHandler().getContextPropagationKey()); + } + } + sendPacket.setTag("QUERY"); + + if (commentAsBytes.length > 0) { + sendPacket.writeBytes(StringLengthDataType.STRING_FIXED, Constants.SLASH_STAR_SPACE_AS_BYTES); + sendPacket.writeBytes(StringLengthDataType.STRING_FIXED, commentAsBytes); + sendPacket.writeBytes(StringLengthDataType.STRING_FIXED, Constants.SPACE_STAR_SLASH_SPACE_AS_BYTES); + } - String statementComment = ((NativeSession) sess).getProtocol().getQueryComment(); + if (!sess.getServerSession().getCharsetSettings().doesPlatformDbCharsetMatches() && StringUtils.startsWithIgnoreCaseAndWs(query, "LOAD DATA")) { + sendPacket.writeBytes(StringLengthDataType.STRING_FIXED, StringUtils.getBytes(query)); + } else { + sendPacket.writeBytes(StringLengthDataType.STRING_FIXED, StringUtils.getBytes(query, characterEncoding)); + } + return sendPacket; + } - byte[] commentAsBytes = null; + @Override + public NativePacketPayload buildComQuery(NativePacketPayload sharedPacket, Session sess, PreparedQuery preparedQuery, QueryBindings bindings, + String characterEncoding) { + NativePacketPayload sendPacket = sharedPacket != null ? sharedPacket : new NativePacketPayload(9); + QueryAttributesBindings queryAttributesBindings = preparedQuery.getQueryAttributesBindings(); + BindValue[] bindValues = bindings.getBindValues(); - if (statementComment != null) { - commentAsBytes = StringUtils.getBytes(statementComment, characterEncoding); + sendPacket.writeInteger(IntegerDataType.INT1, NativeConstants.COM_QUERY); - ensurePacketSize += commentAsBytes.length; - ensurePacketSize += 6; // for /*[space] [space]*/ + boolean contextPropagationAttributeWasInjected = false; + if (this.supportsQueryAttributes) { + if (!queryAttributesBindings.containsAttribute(sess.getTelemetryHandler().getContextPropagationKey())) { + sess.getTelemetryHandler().propagateContext(queryAttributesBindings::setAttribute); + contextPropagationAttributeWasInjected = true; } - - for (int i = 0; i < bindValues.length; i++) { - if (bindValues[i].isStream() && useStreamLengths) { - ensurePacketSize += bindValues[i].getScaleOrLength(); + if (queryAttributesBindings.getCount() > 0) { + sendPacket.writeInteger(IntegerDataType.INT_LENENC, queryAttributesBindings.getCount()); + sendPacket.writeInteger(IntegerDataType.INT_LENENC, 1); // parameter_set_count (always 1) + byte[] nullBitsBuffer = new byte[(queryAttributesBindings.getCount() + 7) / 8]; + for (int i = 0; i < queryAttributesBindings.getCount(); i++) { + if (queryAttributesBindings.getAttributeValue(i).isNull()) { + nullBitsBuffer[i >>> 3] |= 1 << (i & 7); + } } + sendPacket.writeBytes(StringLengthDataType.STRING_VAR, nullBitsBuffer); + sendPacket.writeInteger(IntegerDataType.INT1, 1); // new_params_bind_flag (always 1) + queryAttributesBindings.runThroughAll(a -> { + sendPacket.writeInteger(IntegerDataType.INT2, a.getFieldType()); + sendPacket.writeBytes(StringSelfDataType.STRING_LENENC, a.getName().getBytes()); + }); + queryAttributesBindings.runThroughAll(a -> { + if (!a.isNull()) { + a.writeAsQueryAttribute(sendPacket); + } + }); + } else { + sendPacket.writeInteger(IntegerDataType.INT_LENENC, 0); + sendPacket.writeInteger(IntegerDataType.INT_LENENC, 1); // parameter_set_count (always 1) } - - if (ensurePacketSize != 0) { - sendPacket.ensureCapacity(ensurePacketSize); + if (contextPropagationAttributeWasInjected) { + queryAttributesBindings.removeAttribute(sess.getTelemetryHandler().getContextPropagationKey()); } + } else if (queryAttributesBindings.getCount() > 0) { + sess.getLog().logWarn(Messages.getString("QueryAttributes.SetButNotSupported")); + } + sendPacket.setTag("QUERY"); - if (commentAsBytes != null) { - sendPacket.writeBytes(StringLengthDataType.STRING_FIXED, Constants.SLASH_STAR_SPACE_AS_BYTES); - sendPacket.writeBytes(StringLengthDataType.STRING_FIXED, commentAsBytes); - sendPacket.writeBytes(StringLengthDataType.STRING_FIXED, Constants.SPACE_STAR_SLASH_SPACE_AS_BYTES); - } + boolean useStreamLengths = sess.getPropertySet().getBooleanProperty(PropertyKey.useStreamLengthsInPrepStmts).getValue(); + + // Try and get this allocation as close as possible for BLOBs. + int ensurePacketSize = 0; - byte[][] staticSqlStrings = preparedQuery.getQueryInfo().getStaticSqlParts(); - for (int i = 0; i < bindValues.length; i++) { - bindings.checkParameterSet(i); - sendPacket.writeBytes(StringLengthDataType.STRING_FIXED, staticSqlStrings[i]); - bindValues[i].writeAsText(sendPacket); + String statementComment = sess.getQueryComment(); + byte[] commentAsBytes = null; + + if (statementComment != null) { + commentAsBytes = StringUtils.getBytes(statementComment, characterEncoding); + ensurePacketSize += commentAsBytes.length; + ensurePacketSize += 6; // for /*[space] [space]*/ + } + + for (int i = 0; i < bindValues.length; i++) { + if (bindValues[i].isStream() && useStreamLengths) { + ensurePacketSize += bindValues[i].getScaleOrLength(); } + } - sendPacket.writeBytes(StringLengthDataType.STRING_FIXED, staticSqlStrings[bindValues.length]); + if (ensurePacketSize != 0) { + sendPacket.ensureCapacity(ensurePacketSize); + } - return sendPacket; + if (commentAsBytes != null) { + sendPacket.writeBytes(StringLengthDataType.STRING_FIXED, Constants.SLASH_STAR_SPACE_AS_BYTES); + sendPacket.writeBytes(StringLengthDataType.STRING_FIXED, commentAsBytes); + sendPacket.writeBytes(StringLengthDataType.STRING_FIXED, Constants.SPACE_STAR_SLASH_SPACE_AS_BYTES); } + + byte[][] staticSqlStrings = preparedQuery.getQueryInfo().getStaticSqlParts(); + for (int i = 0; i < bindValues.length; i++) { + bindings.checkParameterSet(i); + sendPacket.writeBytes(StringLengthDataType.STRING_FIXED, staticSqlStrings[i]); + bindValues[i].writeAsText(sendPacket); + } + + sendPacket.writeBytes(StringLengthDataType.STRING_FIXED, staticSqlStrings[bindValues.length]); + return sendPacket; } public NativePacketPayload buildComInitDb(NativePacketPayload sharedPacket, byte[] dbName) { @@ -261,6 +382,7 @@ public NativePacketPayload buildComStmtExecute(NativePacketPayload sharedPacket, PreparedQuery preparedQuery) { NativePacketPayload packet = sharedPacket != null ? sharedPacket : new NativePacketPayload(5); + Session sess = preparedQuery.getSession(); int parameterCount = preparedQuery.getParameterCount(); QueryBindings queryBindings = preparedQuery.getQueryBindings(); BindValue[] parameterBindings = queryBindings.getBindValues(); @@ -271,9 +393,14 @@ public NativePacketPayload buildComStmtExecute(NativePacketPayload sharedPacket, packet.writeInteger(IntegerDataType.INT1, flags); packet.writeInteger(IntegerDataType.INT4, 1); // placeholder for parameter iterations + boolean contextPropagationAttributeWasInjected = false; int parametersAndAttributesCount = parameterCount; if (this.supportsQueryAttributes) { if (sendQueryAttributes) { + if (!queryAttributesBindings.containsAttribute(sess.getTelemetryHandler().getContextPropagationKey())) { + sess.getTelemetryHandler().propagateContext(queryAttributesBindings::setAttribute); + contextPropagationAttributeWasInjected = true; + } parametersAndAttributesCount += queryAttributesBindings.getCount(); } if (sendQueryAttributes || parametersAndAttributesCount > 0) { @@ -285,20 +412,17 @@ public NativePacketPayload buildComStmtExecute(NativePacketPayload sharedPacket, if (parametersAndAttributesCount > 0) { /* Reserve place for null-marker bytes */ int nullCount = (parametersAndAttributesCount + 7) / 8; - int nullBitsPosition = packet.getPosition(); - for (int i = 0; i < nullCount; i++) { packet.writeInteger(IntegerDataType.INT1, 0); } - byte[] nullBitsBuffer = new byte[nullCount]; // In case if buffers (type) changed or there are query attributes to send. if (queryBindings.getSendTypesToServer().get() || sendQueryAttributes && queryAttributesBindings.getCount() > 0) { packet.writeInteger(IntegerDataType.INT1, 1); - // Store types of parameters in the first package that is sent to the server. + // Store types of parameters in the first packet that is sent to the server. for (int i = 0; i < parameterCount; i++) { packet.writeInteger(IntegerDataType.INT2, parameterBindings[i].getFieldType()); if (this.supportsQueryAttributes) { @@ -348,6 +472,10 @@ public NativePacketPayload buildComStmtExecute(NativePacketPayload sharedPacket, packet.setPosition(endPosition); } + if (contextPropagationAttributeWasInjected) { + queryAttributesBindings.removeAttribute(sess.getTelemetryHandler().getContextPropagationKey()); + } + return packet; } diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeProtocol.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeProtocol.java index 7547b3c5d..cbf88d757 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeProtocol.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeProtocol.java @@ -71,16 +71,13 @@ import java.util.TimeZone; import java.util.function.Supplier; -import com.mysql.cj.BindValue; import com.mysql.cj.CharsetMapping; -import com.mysql.cj.Constants; import com.mysql.cj.MessageBuilder; import com.mysql.cj.Messages; import com.mysql.cj.MysqlType; import com.mysql.cj.NativeCharsetSettings; import com.mysql.cj.NativeSession; import com.mysql.cj.Query; -import com.mysql.cj.QueryAttributesBindings; import com.mysql.cj.QueryResult; import com.mysql.cj.ServerPreparedQuery; import com.mysql.cj.ServerVersion; @@ -139,6 +136,10 @@ import com.mysql.cj.result.Row; import com.mysql.cj.result.StringValueFactory; import com.mysql.cj.result.ValueFactory; +import com.mysql.cj.telemetry.TelemetryAttribute; +import com.mysql.cj.telemetry.TelemetryScope; +import com.mysql.cj.telemetry.TelemetrySpan; +import com.mysql.cj.telemetry.TelemetrySpanName; import com.mysql.cj.util.LazyString; import com.mysql.cj.util.StringUtils; import com.mysql.cj.util.TestUtils; @@ -162,14 +163,13 @@ public class NativeProtocol extends AbstractProtocol implem /** Track this to manually shut down. */ protected CompressedPacketSender compressedPacketSender; - //private PacketPayload sendPacket = null; protected NativePacketPayload sharedSendPacket = null; + /** Use this when reading in rows to avoid thousands of new() calls, because the byte arrays just get copied out of the packet anyway */ protected NativePacketPayload reusablePacket = null; /** * Packet used for 'LOAD DATA LOCAL INFILE' - * * We use a SoftReference, so that we don't penalize intermittent use of this feature */ private SoftReference loadFileBufRef; @@ -182,7 +182,6 @@ public class NativeProtocol extends AbstractProtocol implem private boolean autoGenerateTestcaseScript; - /** Does the server support long column info? */ private boolean logSlowQueries = false; private boolean useAutoSlowLog; @@ -240,13 +239,7 @@ public class NativeProtocol extends AbstractProtocol implem DEFAULT_ENCODERS.put(ZonedDateTime.class, ZonedDateTimeValueEncoder::new); } - /** - * The comment (if any) that we'll prepend to all queries - * sent to the server (to show up in "SHOW PROCESSLIST") - */ - private String queryComment = null; - - private NativeMessageBuilder commandBuilder = null; + private NativeMessageBuilder nativeMessageBuilder = null; public static NativeProtocol getInstance(Session session, SocketConnection socketConnection, PropertySet propertySet, Log log, TransactionEventHandler transactionManager) { @@ -302,9 +295,13 @@ public void init(Session sess, SocketConnection phConnection, PropertySet propSe this.PROTOCOL_ENTITY_CLASS_TO_BINARY_READER = Collections.unmodifiableMap(protocolEntityClassToBinaryReader); } + public Session getSession() { + return this.session; + } + @Override public MessageBuilder getMessageBuilder() { - return getCommandBuilder(); + return getNativeMessageBuilder(); } public MessageSender getPacketSender() { @@ -315,11 +312,11 @@ public MessageReader getPacketReader() return this.packetReader; } - private NativeMessageBuilder getCommandBuilder() { - if (this.commandBuilder != null) { - return this.commandBuilder; + private NativeMessageBuilder getNativeMessageBuilder() { + if (this.nativeMessageBuilder != null) { + return this.nativeMessageBuilder; } - return this.commandBuilder = new NativeMessageBuilder(this.serverSession.supportsQueryAttributes()); + return this.nativeMessageBuilder = new NativeMessageBuilder(this.serverSession.supportsQueryAttributes()); } @Override @@ -339,8 +336,7 @@ public Supplier getValueEncoderSupplier(Object obj) { } /** - * Negotiates the SSL communications channel used when connecting - * to a MySQL server that understands SSL. + * Negotiates the SSL communications channel used when connecting to a MySQL server that understands SSL. */ @Override public void negotiateSSLConnection() { @@ -460,11 +456,8 @@ public void handlePropertyChange(RuntimeProperty prop) { case maintainTimeStats: case traceProtocol: case enablePacketDebug: - applyPacketDecorators(this.packetSender.undecorateAll(), this.packetReader.undecorateAll()); - break; - default: break; } @@ -546,18 +539,49 @@ public void changeDatabase(String database) { return; } - try { - sendCommand(getCommandBuilder().buildComInitDb(getSharedSendPacket(), database), false, 0); - } catch (CJException ex) { - if (this.getPropertySet().getBooleanProperty(PropertyKey.createDatabaseIfNotExist).getValue()) { - sendCommand(getCommandBuilder().buildComQuery(getSharedSendPacket(), - "CREATE DATABASE IF NOT EXISTS " + StringUtils.quoteIdentifier(database, true)), false, 0); + TelemetrySpan span1 = this.session.getTelemetryHandler().startSpan(TelemetrySpanName.CHANGE_DATABASE); + try (TelemetryScope scope1 = span1.makeCurrent()) { + span1.setAttribute(TelemetryAttribute.DB_NAME, database); + span1.setAttribute(TelemetryAttribute.DB_OPERATION, TelemetryAttribute.OPERATION_INIT_DB); + span1.setAttribute(TelemetryAttribute.DB_STATEMENT, TelemetryAttribute.OPERATION_INIT_DB + TelemetryAttribute.STATEMENT_SUFFIX); + span1.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span1.setAttribute(TelemetryAttribute.DB_USER, this.session.getHostInfo().getUser()); + span1.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span1.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); - sendCommand(getCommandBuilder().buildComInitDb(getSharedSendPacket(), database), false, 0); - } else { - throw ExceptionFactory.createCommunicationsException(this.getPropertySet(), this.serverSession, this.getPacketSentTimeHolder(), - this.getPacketReceivedTimeHolder(), ex, getExceptionInterceptor()); + try { + sendCommand(getNativeMessageBuilder().buildComInitDb(getSharedSendPacket(), database), false, 0); + } catch (CJException ex) { + if (this.getPropertySet().getBooleanProperty(PropertyKey.createDatabaseIfNotExist).getValue()) { + TelemetrySpan span2 = this.session.getTelemetryHandler().startSpan(TelemetrySpanName.CREATE_DATABASE); + try (TelemetryScope scope2 = span2.makeCurrent()) { + span2.setAttribute(TelemetryAttribute.DB_NAME, database); + span2.setAttribute(TelemetryAttribute.DB_OPERATION, TelemetryAttribute.OPERATION_CREATE); + span2.setAttribute(TelemetryAttribute.DB_STATEMENT, TelemetryAttribute.OPERATION_CREATE + TelemetryAttribute.STATEMENT_SUFFIX); + span2.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span2.setAttribute(TelemetryAttribute.DB_USER, this.session.getHostInfo().getUser()); + span2.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span2.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + + sendCommand(getNativeMessageBuilder().buildComQuery(getSharedSendPacket(), this.session, + "CREATE DATABASE IF NOT EXISTS " + StringUtils.quoteIdentifier(database, true)), false, 0); + } catch (Throwable t) { + span2.setError(t); + throw t; + } finally { + span2.end(); + } + sendCommand(getNativeMessageBuilder().buildComInitDb(getSharedSendPacket(), database), false, 0); + } else { + throw ExceptionFactory.createCommunicationsException(this.getPropertySet(), this.serverSession, this.getPacketSentTimeHolder(), + this.getPacketReceivedTimeHolder(), ex, getExceptionInterceptor()); + } } + } catch (Throwable t) { + span1.setError(t); + throw t; + } finally { + span1.end(); } } @@ -610,9 +634,7 @@ public final void send(Message packet, int packetLen) { this.packetSequence++; this.packetSender.send(packet.getByteBuffer(), packetLen, this.packetSequence); - // // Don't hold on to large packets - // if (packet == this.sharedSendPacket) { reclaimLargeSharedSendPacket(); } @@ -871,123 +893,6 @@ public void reclaimLargeReusablePacket() { } } - /** - * Build a query packet from the given string and send it to the server. - * - * @param - * extends {@link Resultset} - * @param callingQuery - * {@link Query} - * @param query - * query string - * @param characterEncoding - * Java encoding name - * @param maxRows - * rows limit - * @param streamResults - * whether a stream result should be created - * @param cachedMetadata - * use this metadata instead of the one provided on wire - * @param resultSetFactory - * {@link ProtocolEntityFactory} - * @return T instance - * @throws IOException - * if an i/o error occurs - */ - public final T sendQueryString(Query callingQuery, String query, String characterEncoding, int maxRows, boolean streamResults, - ColumnDefinition cachedMetadata, ProtocolEntityFactory resultSetFactory) throws IOException { - String statementComment = this.queryComment; - - if (this.propertySet.getBooleanProperty(PropertyKey.includeThreadNamesAsStatementComment).getValue()) { - statementComment = (statementComment != null ? statementComment + ", " : "") + "java thread: " + Thread.currentThread().getName(); - } - - // We don't know exactly how many bytes we're going to get from the query. Since we're dealing with UTF-8, the max is 4, so pad it - // (4 * query) + space for headers - int packLength = 1 /* com_query */ + query.length() * 4 + 2; - - byte[] commentAsBytes = null; - - if (statementComment != null) { - commentAsBytes = StringUtils.getBytes(statementComment, characterEncoding); - - packLength += commentAsBytes.length; - packLength += 6; // for /*[space] [space]*/ - } - - boolean supportsQueryAttributes = this.serverSession.supportsQueryAttributes(); - QueryAttributesBindings queryAttributes = null; - - if (!supportsQueryAttributes && callingQuery != null && callingQuery.getQueryAttributesBindings().getCount() > 0) { - this.log.logWarn(Messages.getString("QueryAttributes.SetButNotSupported")); - } - - if (supportsQueryAttributes) { - if (callingQuery != null) { - queryAttributes = callingQuery.getQueryAttributesBindings(); - } - - if (queryAttributes != null && queryAttributes.getCount() > 0) { - packLength += 9 /* parameter_count */ + 1 /* parameter_set_count */; - packLength += (queryAttributes.getCount() + 7) / 8 /* null_bitmap */ + 1 /* new_params_bind_flag */; - for (int i = 0; i < queryAttributes.getCount(); i++) { - BindValue queryAttribute = queryAttributes.getAttributeValue(i); - packLength += 2 /* parameter_type */ + queryAttribute.getName().length() /* parameter_name */ + queryAttribute.getBinaryLength(); - } - } else { - packLength += 1 /* parameter_count */ + 1 /* parameter_set_count */; - } - } - - // TODO decide how to safely use the shared this.sendPacket - NativePacketPayload sendPacket = new NativePacketPayload(packLength); - - sendPacket.setPosition(0); - sendPacket.writeInteger(IntegerDataType.INT1, NativeConstants.COM_QUERY); - - if (supportsQueryAttributes) { - if (queryAttributes != null && queryAttributes.getCount() > 0) { - sendPacket.writeInteger(IntegerDataType.INT_LENENC, queryAttributes.getCount()); - sendPacket.writeInteger(IntegerDataType.INT_LENENC, 1); // parameter_set_count (always 1) - byte[] nullBitsBuffer = new byte[(queryAttributes.getCount() + 7) / 8]; - for (int i = 0; i < queryAttributes.getCount(); i++) { - if (queryAttributes.getAttributeValue(i).isNull()) { - nullBitsBuffer[i >>> 3] |= 1 << (i & 7); - } - } - sendPacket.writeBytes(StringLengthDataType.STRING_VAR, nullBitsBuffer); - sendPacket.writeInteger(IntegerDataType.INT1, 1); // new_params_bind_flag (always 1) - queryAttributes.runThroughAll(a -> { - sendPacket.writeInteger(IntegerDataType.INT2, a.getFieldType()); - sendPacket.writeBytes(StringSelfDataType.STRING_LENENC, a.getName().getBytes()); - }); - queryAttributes.runThroughAll(a -> { - if (!a.isNull()) { - a.writeAsQueryAttribute(sendPacket); - } - }); - } else { - sendPacket.writeInteger(IntegerDataType.INT_LENENC, 0); - sendPacket.writeInteger(IntegerDataType.INT_LENENC, 1); // parameter_set_count (always 1) - } - } - sendPacket.setTag("QUERY"); - - if (commentAsBytes != null) { - sendPacket.writeBytes(StringLengthDataType.STRING_FIXED, Constants.SLASH_STAR_SPACE_AS_BYTES); - sendPacket.writeBytes(StringLengthDataType.STRING_FIXED, commentAsBytes); - sendPacket.writeBytes(StringLengthDataType.STRING_FIXED, Constants.SPACE_STAR_SLASH_SPACE_AS_BYTES); - } - - if (!this.session.getServerSession().getCharsetSettings().doesPlatformDbCharsetMatches() && StringUtils.startsWithIgnoreCaseAndWs(query, "LOAD DATA")) { - sendPacket.writeBytes(StringLengthDataType.STRING_FIXED, StringUtils.getBytes(query)); - } else { - sendPacket.writeBytes(StringLengthDataType.STRING_FIXED, StringUtils.getBytes(query, characterEncoding)); - } - - return sendQueryPacket(callingQuery, sendPacket, maxRows, streamResults, cachedMetadata, resultSetFactory); - } - /** * Send a query stored in a packet to the server. * @@ -1257,23 +1162,39 @@ public void explainSlowQuery(String query, String truncatedQuery) { if (StringUtils.startsWithIgnoreCaseAndWs(truncatedQuery, EXPLAINABLE_STATEMENT) || versionMeetsMinimum(5, 6, 3) && StringUtils.startsWithIgnoreCaseAndWs(truncatedQuery, EXPLAINABLE_STATEMENT_EXTENSION) != -1) { - try { - NativePacketPayload resultPacket = sendCommand(getCommandBuilder().buildComQuery(getSharedSendPacket(), "EXPLAIN " + query), false, 0); + TelemetrySpan span = this.session.getTelemetryHandler().startSpan(TelemetrySpanName.EXPLAIN_QUERY); + try (TelemetryScope scope = span.makeCurrent()) { + span.setAttribute(TelemetryAttribute.DB_NAME, this.session.getHostInfo().getDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, TelemetryAttribute.OPERATION_EXPLAIN); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, TelemetryAttribute.OPERATION_EXPLAIN + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, this.session.getHostInfo().getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + try { + NativePacketPayload resultPacket = sendCommand( + getNativeMessageBuilder().buildComQuery(getSharedSendPacket(), this.session, "EXPLAIN " + query), false, 0); - Resultset rs = readAllResults(-1, false, resultPacket, false, null, new ResultsetFactory(Type.FORWARD_ONLY, null)); + Resultset rs = readAllResults(-1, false, resultPacket, false, null, new ResultsetFactory(Type.FORWARD_ONLY, null)); - StringBuilder explainResults = new StringBuilder(Messages.getString("Protocol.6")); - explainResults.append(truncatedQuery); - explainResults.append(Messages.getString("Protocol.7")); + StringBuilder explainResults = new StringBuilder(Messages.getString("Protocol.6")); + explainResults.append(truncatedQuery); + explainResults.append(Messages.getString("Protocol.7")); - appendResultSetSlashGStyle(explainResults, rs); + appendResultSetSlashGStyle(explainResults, rs); - this.log.logWarn(explainResults.toString()); - } catch (CJException sqlEx) { - throw sqlEx; + this.log.logWarn(explainResults.toString()); + } catch (CJException sqlEx) { + throw sqlEx; - } catch (Exception ex) { - throw ExceptionFactory.createException(ex.getMessage(), ex, getExceptionInterceptor()); + } catch (Exception ex) { + throw ExceptionFactory.createException(ex.getMessage(), ex, getExceptionInterceptor()); + } + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); } } } @@ -1317,7 +1238,7 @@ public final void quit() { this.packetSequence = -1; NativePacketPayload packet = new NativePacketPayload(1); - send(getCommandBuilder().buildComQuit(packet), packet.getPosition()); + send(getNativeMessageBuilder().buildComQuit(packet), packet.getPosition()); } finally { this.socketConnection.forceClose(); this.localInfileInputStream = null; @@ -2009,45 +1930,52 @@ public BaseMetricsHolder getMetricsHolder() { return this.metricsHolder; } - @Override - public String getQueryComment() { - return this.queryComment; - } - - @Override - public void setQueryComment(String comment) { - this.queryComment = comment; - } - private void appendDeadlockStatusInformation(Session sess, String xOpen, StringBuilder errorBuf) { if (sess.getPropertySet().getBooleanProperty(PropertyKey.includeInnodbStatusInDeadlockExceptions).getValue() && xOpen != null && (xOpen.startsWith("40") || xOpen.startsWith("41")) && getStreamingData() == null) { - try { - NativePacketPayload resultPacket = sendCommand(getCommandBuilder().buildComQuery(getSharedSendPacket(), "SHOW ENGINE INNODB STATUS"), false, 0); + TelemetrySpan span = this.session.getTelemetryHandler().startSpan(TelemetrySpanName.STMT_EXECUTE); + try (TelemetryScope scope = span.makeCurrent()) { + span.setAttribute(TelemetryAttribute.DB_NAME, this.session.getHostInfo().getDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, TelemetryAttribute.OPERATION_SHOW); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, TelemetryAttribute.OPERATION_SHOW + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, this.session.getHostInfo().getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); - Resultset rs = readAllResults(-1, false, resultPacket, false, null, new ResultsetFactory(Type.FORWARD_ONLY, null)); - - int colIndex = 0; - Field f = null; - for (int i = 0; i < rs.getColumnDefinition().getFields().length; i++) { - f = rs.getColumnDefinition().getFields()[i]; - if ("Status".equals(f.getName())) { - colIndex = i; - break; + try { + NativePacketPayload resultPacket = sendCommand( + getNativeMessageBuilder().buildComQuery(getSharedSendPacket(), this.session, "SHOW ENGINE INNODB STATUS"), false, 0); + + Resultset rs = readAllResults(-1, false, resultPacket, false, null, new ResultsetFactory(Type.FORWARD_ONLY, null)); + + int colIndex = 0; + Field f = null; + for (int i = 0; i < rs.getColumnDefinition().getFields().length; i++) { + f = rs.getColumnDefinition().getFields()[i]; + if ("Status".equals(f.getName())) { + colIndex = i; + break; + } } - } - ValueFactory vf = new StringValueFactory(this.propertySet); + ValueFactory vf = new StringValueFactory(this.propertySet); - Row r; - if ((r = rs.getRows().next()) != null) { - errorBuf.append("\n\n").append(r.getValue(colIndex, vf)); - } else { - errorBuf.append("\n\n").append(Messages.getString("MysqlIO.NoInnoDBStatusFound")); + Row r; + if ((r = rs.getRows().next()) != null) { + errorBuf.append("\n\n").append(r.getValue(colIndex, vf)); + } else { + errorBuf.append("\n\n").append(Messages.getString("MysqlIO.NoInnoDBStatusFound")); + } + } catch (IOException | CJException ex) { + errorBuf.append("\n\n").append(Messages.getString("MysqlIO.InnoDBStatusFailed")).append("\n\n").append(Util.stackTraceToString(ex)); } - } catch (IOException | CJException ex) { - errorBuf.append("\n\n").append(Messages.getString("MysqlIO.InnoDBStatusFailed")).append("\n\n").append(Util.stackTraceToString(ex)); + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); } } @@ -2153,65 +2081,75 @@ public SQLWarning convertShowWarningsToSQLWarnings(boolean forTruncationOnly) { SQLWarning currentWarning = null; ResultsetRows rows = null; - try { - /* - * +---------+------+---------------------------------------------+ - * | Level ..| Code | Message ....................................| - * +---------+------+---------------------------------------------+ - * | Warning | 1265 | Data truncated for column 'field1' at row 1 | - * +---------+------+---------------------------------------------+ - */ - NativePacketPayload resultPacket = sendCommand(getCommandBuilder().buildComQuery(getSharedSendPacket(), "SHOW WARNINGS"), false, 0); + TelemetrySpan span = this.session.getTelemetryHandler().startSpan(TelemetrySpanName.SHOW_WARNINGS); + try (TelemetryScope scope = span.makeCurrent()) { + span.setAttribute(TelemetryAttribute.DB_NAME, this.session.getHostInfo().getDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, TelemetryAttribute.OPERATION_SHOW); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, TelemetryAttribute.OPERATION_SHOW + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, this.session.getHostInfo().getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + + try { + NativePacketPayload resultPacket = sendCommand(getNativeMessageBuilder().buildComQuery(getSharedSendPacket(), this.session, "SHOW WARNINGS"), + false, 0); - Resultset warnRs = readAllResults(-1, this.warningCount > 99 /* stream large warning counts */, resultPacket, false, null, - new ResultsetFactory(Type.FORWARD_ONLY, Concurrency.READ_ONLY)); + Resultset warnRs = readAllResults(-1, this.warningCount > 99 /* stream large warning counts */, resultPacket, false, null, + new ResultsetFactory(Type.FORWARD_ONLY, Concurrency.READ_ONLY)); - int codeFieldIndex = warnRs.getColumnDefinition().findColumn("Code", false, 1) - 1; - int messageFieldIndex = warnRs.getColumnDefinition().findColumn("Message", false, 1) - 1; + int codeFieldIndex = warnRs.getColumnDefinition().findColumn("Code", false, 1) - 1; + int messageFieldIndex = warnRs.getColumnDefinition().findColumn("Message", false, 1) - 1; - ValueFactory svf = new StringValueFactory(this.propertySet); - ValueFactory ivf = new IntegerValueFactory(this.propertySet); + ValueFactory svf = new StringValueFactory(this.propertySet); + ValueFactory ivf = new IntegerValueFactory(this.propertySet); - rows = warnRs.getRows(); - Row r; - while ((r = rows.next()) != null) { + rows = warnRs.getRows(); + Row r; + while ((r = rows.next()) != null) { - int code = r.getValue(codeFieldIndex, ivf); + int code = r.getValue(codeFieldIndex, ivf); - if (forTruncationOnly) { - if (code == MysqlErrorNumbers.ER_WARN_DATA_TRUNCATED || code == MysqlErrorNumbers.ER_WARN_DATA_OUT_OF_RANGE) { - DataTruncation newTruncation = new MysqlDataTruncation(r.getValue(messageFieldIndex, svf), 0, false, false, 0, 0, code); + if (forTruncationOnly) { + if (code == MysqlErrorNumbers.ER_WARN_DATA_TRUNCATED || code == MysqlErrorNumbers.ER_WARN_DATA_OUT_OF_RANGE) { + DataTruncation newTruncation = new MysqlDataTruncation(r.getValue(messageFieldIndex, svf), 0, false, false, 0, 0, code); + if (currentWarning == null) { + currentWarning = newTruncation; + } else { + currentWarning.setNextWarning(newTruncation); + } + } + } else { + //String level = warnRs.getString("Level"); + String message = r.getValue(messageFieldIndex, svf); + + SQLWarning newWarning = new SQLWarning(message, MysqlErrorNumbers.mysqlToSqlState(code), code); if (currentWarning == null) { - currentWarning = newTruncation; + currentWarning = newWarning; } else { - currentWarning.setNextWarning(newTruncation); + currentWarning.setNextWarning(newWarning); } } - } else { - //String level = warnRs.getString("Level"); - String message = r.getValue(messageFieldIndex, svf); + } - SQLWarning newWarning = new SQLWarning(message, MysqlErrorNumbers.mysqlToSqlState(code), code); - if (currentWarning == null) { - currentWarning = newWarning; - } else { - currentWarning.setNextWarning(newWarning); - } + if (forTruncationOnly && currentWarning != null) { + throw ExceptionFactory.createException(currentWarning.getMessage(), currentWarning); } - } - if (forTruncationOnly && currentWarning != null) { - throw ExceptionFactory.createException(currentWarning.getMessage(), currentWarning); + return currentWarning; + } catch (IOException ex) { + throw ExceptionFactory.createException(ex.getMessage(), ex); + } finally { + if (rows != null) { + rows.close(); + } } - - return currentWarning; - } catch (IOException ex) { - throw ExceptionFactory.createException(ex.getMessage(), ex); + } catch (Throwable t) { + span.setError(t); + throw t; } finally { - if (rows != null) { - rows.close(); - } + span.end(); } } @@ -2254,20 +2192,36 @@ public void configureTimeZone() { if (getPropertySet().getBooleanProperty(PropertyKey.forceConnectionTimeZoneToSession).getValue()) { // TODO don't send 'SET SESSION time_zone' if time_zone is already equal to the selectedTz (but it requires time zone detection) - StringBuilder query = new StringBuilder("SET SESSION time_zone='"); + TelemetrySpan span = this.session.getTelemetryHandler().startSpan(TelemetrySpanName.SET_VARIABLE, "time_zone"); + try (TelemetryScope scope = span.makeCurrent()) { + span.setAttribute(TelemetryAttribute.DB_NAME, this.session.getHostInfo().getDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, TelemetryAttribute.OPERATION_SET); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, TelemetryAttribute.OPERATION_SET + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, this.session.getHostInfo().getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + + StringBuilder query = new StringBuilder("SET SESSION time_zone='"); + + ZoneId zid = selectedTz.toZoneId().normalized(); + if (zid instanceof ZoneOffset) { + String offsetStr = ((ZoneOffset) zid).getId().replace("Z", "+00:00"); + query.append(offsetStr); + this.serverSession.getServerVariables().put("time_zone", offsetStr); + } else { + query.append(selectedTz.getID()); + this.serverSession.getServerVariables().put("time_zone", selectedTz.getID()); + } - ZoneId zid = selectedTz.toZoneId().normalized(); - if (zid instanceof ZoneOffset) { - String offsetStr = ((ZoneOffset) zid).getId().replace("Z", "+00:00"); - query.append(offsetStr); - this.serverSession.getServerVariables().put("time_zone", offsetStr); - } else { - query.append(selectedTz.getID()); - this.serverSession.getServerVariables().put("time_zone", selectedTz.getID()); + query.append("'"); + sendCommand(getNativeMessageBuilder().buildComQuery(null, this.session, query.toString()), false, 0); + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); } - - query.append("'"); - sendCommand(getCommandBuilder().buildComQuery(null, query.toString()), false, 0); } } diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/ResultsetRowsCursor.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/ResultsetRowsCursor.java index 1320a9380..87afab8d0 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/ResultsetRowsCursor.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/ResultsetRowsCursor.java @@ -24,6 +24,7 @@ import java.util.List; import com.mysql.cj.Messages; +import com.mysql.cj.Session; import com.mysql.cj.exceptions.ExceptionFactory; import com.mysql.cj.protocol.ColumnDefinition; import com.mysql.cj.protocol.Resultset.Concurrency; @@ -33,6 +34,10 @@ import com.mysql.cj.protocol.a.NativeMessageBuilder; import com.mysql.cj.protocol.a.NativeProtocol; import com.mysql.cj.result.Row; +import com.mysql.cj.telemetry.TelemetryAttribute; +import com.mysql.cj.telemetry.TelemetryScope; +import com.mysql.cj.telemetry.TelemetrySpan; +import com.mysql.cj.telemetry.TelemetrySpanName; /** * Model for result set data backed by a cursor (see http://dev.mysql.com/doc/refman/5.7/en/cursors.html and @@ -194,53 +199,70 @@ private void fetchMoreRows() { } synchronized (this.owner.getSyncMutex()) { - try { - boolean oldFirstFetchCompleted = this.firstFetchCompleted; - - if (!this.firstFetchCompleted) { - this.firstFetchCompleted = true; - } + Session session = this.owner.getSession(); + TelemetrySpan span = session.getTelemetryHandler().startSpan(TelemetrySpanName.STMT_FETCH_PREPARED); + try (TelemetryScope scope = span.makeCurrent()) { + span.setAttribute(TelemetryAttribute.DB_NAME, session.getHostInfo().getDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, TelemetryAttribute.OPERATION_SET); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, TelemetryAttribute.OPERATION_SET + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, session.getHostInfo().getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + + try { + boolean oldFirstFetchCompleted = this.firstFetchCompleted; + + if (!this.firstFetchCompleted) { + this.firstFetchCompleted = true; + } - int numRowsToFetch = this.owner.getOwnerFetchSize(); + int numRowsToFetch = this.owner.getOwnerFetchSize(); - if (numRowsToFetch == 0) { - numRowsToFetch = this.owner.getOwningStatementFetchSize(); - } + if (numRowsToFetch == 0) { + numRowsToFetch = this.owner.getOwningStatementFetchSize(); + } - if (numRowsToFetch == Integer.MIN_VALUE) { - // Handle the case where the user used 'old' streaming result sets + if (numRowsToFetch == Integer.MIN_VALUE) { + // Handle the case where the user used 'old' streaming result sets - numRowsToFetch = 1; - } + numRowsToFetch = 1; + } - if (this.fetchedRows == null) { - this.fetchedRows = new ArrayList<>(numRowsToFetch); - } else { - this.fetchedRows.clear(); - } + if (this.fetchedRows == null) { + this.fetchedRows = new ArrayList<>(numRowsToFetch); + } else { + this.fetchedRows.clear(); + } - // TODO this is not the right place for this code, should be in protocol - this.protocol.sendCommand( - this.commandBuilder.buildComStmtFetch(this.protocol.getSharedSendPacket(), this.owner.getOwningStatementServerId(), numRowsToFetch), - true, 0); + // TODO this is not the right place for this code, should be in protocol + this.protocol.sendCommand( + this.commandBuilder.buildComStmtFetch(this.protocol.getSharedSendPacket(), this.owner.getOwningStatementServerId(), numRowsToFetch), + true, 0); - Row row = null; + Row row = null; - while ((row = this.protocol.read(ResultsetRow.class, this.rowFactory)) != null) { - this.fetchedRows.add(row); - } + while ((row = this.protocol.read(ResultsetRow.class, this.rowFactory)) != null) { + this.fetchedRows.add(row); + } - this.currentPositionInFetchedRows = BEFORE_START_OF_ROWS; + this.currentPositionInFetchedRows = BEFORE_START_OF_ROWS; - if (this.protocol.getServerSession().isLastRowSent()) { - this.lastRowFetched = true; + if (this.protocol.getServerSession().isLastRowSent()) { + this.lastRowFetched = true; - if (!oldFirstFetchCompleted && this.fetchedRows.size() == 0) { - this.wasEmpty = true; + if (!oldFirstFetchCompleted && this.fetchedRows.size() == 0) { + this.wasEmpty = true; + } } + } catch (Exception ex) { + throw ExceptionFactory.createException(ex.getMessage(), ex); } - } catch (Exception ex) { - throw ExceptionFactory.createException(ex.getMessage(), ex); + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); } } } diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/ResultsetRowsStreaming.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/ResultsetRowsStreaming.java index 6b7bcebd4..debabfdfb 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/ResultsetRowsStreaming.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/result/ResultsetRowsStreaming.java @@ -21,6 +21,7 @@ package com.mysql.cj.protocol.a.result; import com.mysql.cj.Messages; +import com.mysql.cj.Session; import com.mysql.cj.conf.PropertyKey; import com.mysql.cj.exceptions.CJException; import com.mysql.cj.exceptions.ExceptionFactory; @@ -39,6 +40,10 @@ import com.mysql.cj.protocol.a.NativeProtocol; import com.mysql.cj.protocol.a.TextRowFactory; import com.mysql.cj.result.Row; +import com.mysql.cj.telemetry.TelemetryAttribute; +import com.mysql.cj.telemetry.TelemetryScope; +import com.mysql.cj.telemetry.TelemetrySpan; +import com.mysql.cj.telemetry.TelemetrySpanName; import com.mysql.cj.util.Util; /** @@ -114,15 +119,34 @@ public void close() { if (!this.protocol.getPropertySet().getBooleanProperty(PropertyKey.clobberStreamingResults).getValue() && this.protocol.getPropertySet().getIntegerProperty(PropertyKey.netTimeoutForStreamingResults).getValue() > 0) { - int oldValue = this.protocol.getServerSession().getServerVariable("net_write_timeout", 60); - - this.protocol.clearInputStream(); - - try { - this.protocol.sendCommand(this.commandBuilder.buildComQuery(this.protocol.getSharedSendPacket(), "SET net_write_timeout=" + oldValue, - this.protocol.getPropertySet().getStringProperty(PropertyKey.characterEncoding).getValue()), false, 0); - } catch (Exception ex) { - throw ExceptionFactory.createException(ex.getMessage(), ex, this.exceptionInterceptor); + Session session = this.owner.getSession(); + TelemetrySpan span = session.getTelemetryHandler().startSpan(TelemetrySpanName.SET_VARIABLE, "net_write_timeout"); + try (TelemetryScope scope = span.makeCurrent()) { + span.setAttribute(TelemetryAttribute.DB_NAME, session.getHostInfo().getDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, TelemetryAttribute.OPERATION_SET); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, TelemetryAttribute.OPERATION_SET + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, session.getHostInfo().getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + + int oldValue = this.protocol.getServerSession().getServerVariable("net_write_timeout", 60); + + this.protocol.clearInputStream(); + + try { + this.protocol.sendCommand( + this.commandBuilder.buildComQuery(this.protocol.getSharedSendPacket(), session, "SET net_write_timeout=" + oldValue, + this.protocol.getPropertySet().getStringProperty(PropertyKey.characterEncoding).getValue()), + false, 0); + } catch (Exception ex) { + throw ExceptionFactory.createException(ex.getMessage(), ex, this.exceptionInterceptor); + } + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); } } diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XMessageBuilder.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XMessageBuilder.java index 2da131be6..792d5cd19 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XMessageBuilder.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XMessageBuilder.java @@ -40,6 +40,7 @@ import com.mysql.cj.MessageBuilder; import com.mysql.cj.Messages; import com.mysql.cj.PreparedQuery; +import com.mysql.cj.Query; import com.mysql.cj.QueryBindings; import com.mysql.cj.Session; import com.mysql.cj.exceptions.CJOperationNotSupportedException; @@ -145,7 +146,7 @@ public XMessage buildDocInsert(String schemaName, String collectionName, List updates) { Update.Builder builder = Update.newBuilder().setCollection((Collection) filterParams.getCollection()); @@ -246,14 +248,14 @@ public XMessage buildPrepareDocUpdate(int preparedStatementId, FilterParams filt } /** - * Initialize an {@link Update.Builder} for table data model with common data for prepared and non-prepared executions. + * Initialize an {@link com.mysql.cj.x.protobuf.MysqlxCrud.Update.Builder} for table data model with common data for prepared and non-prepared executions. * * @param filterParams * the filter parameters * @param updateParams * the update parameters * @return - * an initialized {@link Update.Builder} instance + * an initialized {@link com.mysql.cj.x.protobuf.MysqlxCrud.Update.Builder} instance */ @SuppressWarnings("unchecked") private Update.Builder commonRowUpdateBuilder(FilterParams filterParams, UpdateParams updateParams) { @@ -302,12 +304,12 @@ public XMessage buildPrepareRowUpdate(int preparedStatementId, FilterParams filt } /** - * Initialize a {@link Find.Builder} for collection data model with common data for prepared and non-prepared executions. + * Initialize a {@link com.mysql.cj.x.protobuf.MysqlxCrud.Find.Builder} for collection data model with common data for prepared and non-prepared executions. * * @param filterParams * the filter parameters * @return - * an initialized {@link Find.Builder} instance + * an initialized {@link com.mysql.cj.x.protobuf.MysqlxCrud.Find.Builder} instance */ @SuppressWarnings("unchecked") private Find.Builder commonFindBuilder(FilterParams filterParams) { @@ -365,12 +367,12 @@ public XMessage buildPrepareFind(int preparedStatementId, FilterParams filterPar } /** - * Initialize a {@link Delete.Builder} with common data for prepared and non-prepared executions. + * Initialize a {@link com.mysql.cj.x.protobuf.MysqlxCrud.Delete.Builder} with common data for prepared and non-prepared executions. * * @param filterParams * the filter parameters * @return - * an initialized {@link Delete.Builder} instance + * an initialized {@link com.mysql.cj.x.protobuf.MysqlxCrud.Delete.Builder} instance */ private Delete.Builder commonDeleteBuilder(FilterParams filterParams) { Delete.Builder builder = Delete.newBuilder().setCollection((Collection) filterParams.getCollection()); @@ -411,12 +413,12 @@ public XMessage buildPrepareDelete(int preparedStatementId, FilterParams filterP } /** - * Initialize a {@link StmtExecute.Builder} with common data for prepared and non-prepared executions. + * Initialize a {@link com.mysql.cj.x.protobuf.MysqlxSql.StmtExecute.Builder} with common data for prepared and non-prepared executions. * * @param statement * the SQL statement * @return - * an initialized {@link StmtExecute.Builder} instance + * an initialized {@link com.mysql.cj.x.protobuf.MysqlxSql.StmtExecute.Builder} instance */ private StmtExecute.Builder commonSqlStatementBuilder(String statement) { StmtExecute.Builder builder = StmtExecute.newBuilder(); @@ -992,6 +994,11 @@ public XMessage buildExpectOpen() { .setConditionKey(MysqlxExpect.Open.Condition.Key.EXPECT_FIELD_EXIST_VALUE).setConditionValue(ByteString.copyFromUtf8("6.1"))).build()); } + @Override + public XMessage buildComQuery(XMessage sharedPacket, Session sess, String query, Query callingQuery, String characterEncoding) { + throw ExceptionFactory.createException(CJOperationNotSupportedException.class, "Not supported"); + } + @Override public XMessage buildComQuery(XMessage sharedPacket, Session sess, PreparedQuery preparedQuery, QueryBindings bindings, String characterEncoding) { throw ExceptionFactory.createException(CJOperationNotSupportedException.class, "Not supported"); diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XProtocol.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XProtocol.java index 283660983..991915749 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XProtocol.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XProtocol.java @@ -1022,16 +1022,6 @@ public InputStream getLocalInfileInputStream() { throw ExceptionFactory.createException(CJOperationNotSupportedException.class, "Not supported"); } - @Override - public String getQueryComment() { - throw ExceptionFactory.createException(CJOperationNotSupportedException.class, "Not supported"); - } - - @Override - public void setQueryComment(String comment) { - throw ExceptionFactory.createException(CJOperationNotSupportedException.class, "Not supported"); - } - @Override public Supplier getValueEncoderSupplier(Object obj) { throw ExceptionFactory.createException(CJOperationNotSupportedException.class, "Not supported"); diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XServerSession.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XServerSession.java index faace2959..a4abe5a91 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XServerSession.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/x/XServerSession.java @@ -31,6 +31,7 @@ import com.mysql.cj.protocol.ServerSession; public class XServerSession implements ServerSession { + XServerCapabilities serverCapabilities = null; private TimeZone defaultTimeZone = TimeZone.getDefault(); diff --git a/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties b/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties index 72b9a076e..1e88e7833 100644 --- a/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties +++ b/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties @@ -148,6 +148,7 @@ Connection.BadExceptionInterceptor=Unable to load exception interceptor. Connection.CantDetectLocalConnect=Unable to determine if hostname ''{0}'' is local to this box because of exception, assuming it''s not. Connection.NoMetadataOnSocketFactory=Configured socket factory does not implement SocketMetadata, can not determine whether server is locally-connected, assuming not" Connection.LoginTimeout=Connection attempt exceeded defined timeout. +Connection.OtelApiNotFound=The OpenTelemetry API library cannot be found or it is not installed. ConnectionGroup.0=Cannot remove host, only one configured host active. ConnectionGroup.1=Host is not configured: {0} @@ -901,11 +902,11 @@ ConnectionProperties.noDatetimeStringSync=Don''t ensure that ''ResultSet.getTime ConnectionProperties.nullCatalogMeansCurrent=In ''DatabaseMetaData'' methods that take a ''catalog'' or ''schema'' parameter, does the value "null" mean to use the current database? See also the property ''databaseTerm''. ConnectionProperties.ociConfigFile=The location of the OCI configuration file as required by the OCI SDK for Java. Default value is "~/.oci/config" for Unix-like systems and "%HOMEDRIVE%%HOMEPATH%.oci\\config" for Windows. ConnectionProperties.ociConfigProfile=The profile in the OCI configuration file specified in ''ociConfigFile'', from where the configuration to use in the ''authentication_oci_client'' authentication plugin is to be read. +ConnectionProperties.openTelemetry=Should the driver generate OpenTelemetry traces and handle context propagation to the MySQL Server? This option accepts the values "REQUIRED", "PREFERRED" and "DISABLED". If set to "REQUIRED", an OpenTelemetry library must be available at run time, or else connections to the MySQL Server will fail. Setting it to "DISABLED", turns off generating OpenTelemetry instrumentation by Connector/J. Setting it to "PREFERRED" enables generating OpenTelemetry instrumentation provided that an OpenTelemetry library is available at run time, and a warning is issued otherwise. Not setting a value for the property is equivalent to setting it as "PREFERRED" but no warning is issued when no OpenTelmetry library is available at run time. Connector/J relies entirely on the OpenTelemetry exporters configured in the calling application and does not provide any means of configuring its own exporters. ConnectionProperties.overrideSupportsIEF=Should the driver return "true" for ''DatabaseMetaData.supportsIntegrityEnhancementFacility()'' even if the database doesn''t support it to workaround applications that require this method to return "true" to signal support of foreign keys, even though the SQL specification states that this facility contains much more than just foreign key support (one such application being OpenOffice)? ConnectionProperties.packetDebugBufferSize=The maximum number of packets to retain when ''enablePacketDebug'' is "true". ConnectionProperties.padCharsWithSpace=If a result set column has the CHAR type and the value does not fill the amount of characters specified in the DDL for the column, should the driver pad the remaining characters with space (for ANSI compliance)? ConnectionProperties.paranoid=Take measures to prevent exposure sensitive information in error messages and clear data structures holding sensitive data when possible? -ConnectionProperties.queryInfoCacheFactory=Name of a class implementing ''com.mysql.cj.CacheAdapterFactory'' which will be used to create caches for the parsed representation of prepared statements. Prior to version 8.0.29, this property was named ''parseInfoCacheFactory'', which remains as an alias. ConnectionProperties.Password=The password to use when authenticating the user. ConnectionProperties.Password1=The password to use in the first phase of a Multi-Factor Authentication workflow. It is a synonym of the connection property ''password'' and can also be set with user credentials in the connection string. ConnectionProperties.Password2=The password to use in the second phase of a Multi-Factor Authentication workflow. @@ -921,6 +922,7 @@ ConnectionProperties.processEscapeCodesForPrepStmts=Should the driver process es ConnectionProperties.profilerEventHandler=Name of a class that implements the interface ''com.mysql.cj.log.ProfilerEventHandler'' that will be used to handle profiling/tracing events. ConnectionProperties.profileSQL=Trace queries and their execution/fetch times to the configured ''profilerEventHandler''. ConnectionProperties.queriesBeforeRetrySource=When using multi-host failover, the number of queries to issue before falling back to the primary host when failed over. Whichever condition is met first, ''queriesBeforeRetrySource'' or ''secondsBeforeRetrySource'' will cause an attempt to be made to reconnect to the primary host. Setting both properties to "0" disables the automatic fall back to the primary host at transaction boundaries. +ConnectionProperties.queryInfoCacheFactory=Name of a class implementing ''com.mysql.cj.CacheAdapterFactory'' which will be used to create caches for the parsed representation of prepared statements. Prior to version 8.0.29, this property was named ''parseInfoCacheFactory'', which remains as an alias. ConnectionProperties.queryInterceptors=A comma-delimited list of classes that implement ''com.mysql.cj.interceptors.QueryInterceptor'' that intercept query executions and are able influence the results. Query iterceptors are chainable: the results returned by the current interceptor will be passed on to the next in the chain, from left-to-right in the order specified in this property. ConnectionProperties.queryTimeoutKillsConnection=If the timeout given in ''Statement.setQueryTimeout()'' expires, should the driver forcibly abort the connection instead of attempting to abort the query? ConnectionProperties.readFromSourceWhenNoReplicas=Replication-aware connections distribute load by using the source hosts when in read/write state and by using the replica hosts when in read-only state. If, when setting the connection to read-only state, none of the replica hosts are available, an ''SQLException'' is thrown back. Setting this property to "true" allows to fail over to the source hosts, while setting the connection state to read-only, when no replica hosts are available at switch instant. diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/CallableStatement.java b/src/main/user-impl/java/com/mysql/cj/jdbc/CallableStatement.java index 4ac3693f7..6c3cc70ea 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/CallableStatement.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/CallableStatement.java @@ -64,6 +64,10 @@ import com.mysql.cj.result.DefaultColumnDefinition; import com.mysql.cj.result.Field; import com.mysql.cj.result.Row; +import com.mysql.cj.telemetry.TelemetryAttribute; +import com.mysql.cj.telemetry.TelemetryScope; +import com.mysql.cj.telemetry.TelemetrySpan; +import com.mysql.cj.telemetry.TelemetrySpanName; import com.mysql.cj.util.SearchMode; import com.mysql.cj.util.StringUtils; import com.mysql.cj.util.Util; @@ -784,15 +788,15 @@ private void determineParameterTypes() throws SQLException { java.sql.DatabaseMetaData dbmd = this.connection.getMetaData(); if (this.callingStoredFunction) { - paramTypesRs = dbIsSchema ? dbmd.getFunctionColumns(null, useDb ? this.getCurrentDatabase() : tmpDb, procName, "%") - : dbmd.getFunctionColumns(useDb ? this.getCurrentDatabase() : tmpDb, null, procName, "%"); + paramTypesRs = dbIsSchema ? dbmd.getFunctionColumns(null, useDb ? getCurrentDatabase() : tmpDb, procName, "%") + : dbmd.getFunctionColumns(useDb ? getCurrentDatabase() : tmpDb, null, procName, "%"); } else { RuntimeProperty getProcRetFuncProp = this.session.getPropertySet().getBooleanProperty(PropertyKey.getProceduresReturnsFunctions); Boolean getProcRetFuncsCurrentValue = getProcRetFuncProp.getValue(); try { getProcRetFuncProp.setValue(Boolean.FALSE); - paramTypesRs = dbIsSchema ? dbmd.getProcedureColumns(null, useDb ? this.getCurrentDatabase() : tmpDb, procName, "%") - : dbmd.getProcedureColumns(useDb ? this.getCurrentDatabase() : tmpDb, null, procName, "%"); + paramTypesRs = dbIsSchema ? dbmd.getProcedureColumns(null, useDb ? getCurrentDatabase() : tmpDb, procName, "%") + : dbmd.getProcedureColumns(useDb ? getCurrentDatabase() : tmpDb, null, procName, "%"); } finally { getProcRetFuncProp.setValue(getProcRetFuncsCurrentValue); } @@ -841,62 +845,95 @@ private void convertGetProcedureColumnsToInternalDescriptors(java.sql.ResultSet @Override public boolean execute() throws SQLException { synchronized (checkClosed().getConnectionMutex()) { - boolean returnVal = false; + TelemetrySpan span = getSession().getTelemetryHandler().startSpan(TelemetrySpanName.ROUTINE_EXECUTE); + try (TelemetryScope scope = span.makeCurrent()) { + String dbOperation = getQueryInfo().getStatementKeyword(); + span.setAttribute(TelemetryAttribute.DB_NAME, getCurrentDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, dbOperation); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, dbOperation + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, this.connection.getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); - checkStreamability(); + boolean returnVal = false; - setInOutParamsOnServer(); - setOutParams(); + checkStreamability(); - returnVal = super.execute(); + setInOutParamsOnServer(); + setOutParams(); - if (this.callingStoredFunction) { - this.functionReturnValueResults = this.results; - this.functionReturnValueResults.next(); - this.results = null; - } + returnVal = super.execute(); - // TODO There is something strange here: - // From ResultSetRegressionTest.testBug14562(): - // - // $ CREATE TABLE testBug14562 (row_order INT, signed_field MEDIUMINT, unsigned_field MEDIUMINT UNSIGNED) - // $ INSERT INTO testBug14562 VALUES (1, -8388608, 0), (2, 8388607, 16777215) - // $ CREATE PROCEDURE sp_testBug14562_1 (OUT param_1 MEDIUMINT, OUT param_2 MEDIUMINT UNSIGNED) - // BEGIN - // SELECT signed_field, unsigned_field INTO param_1, param_2 FROM testBug14562 WHERE row_order=1; - // END - // $ CALL sp_testBug14562_1(@com_mysql_jdbc_outparam_param_1, @com_mysql_jdbc_outparam_param_2) - // $ SELECT @com_mysql_jdbc_outparam_param_1,@com_mysql_jdbc_outparam_param_2 - // - // ResultSet metadata returns BIGINT for @com_mysql_jdbc_outparam_param_1 and @com_mysql_jdbc_outparam_param_2 - // instead of expected MEDIUMINT. I wonder what happens to other types... - retrieveOutParams(); - - if (!this.callingStoredFunction) { - return returnVal; - } + if (this.callingStoredFunction) { + this.functionReturnValueResults = this.results; + this.functionReturnValueResults.next(); + this.results = null; + } - // Functions can't return results - return false; + // TODO There is something strange here: + // From ResultSetRegressionTest.testBug14562(): + // + // $ CREATE TABLE testBug14562 (row_order INT, signed_field MEDIUMINT, unsigned_field MEDIUMINT UNSIGNED) + // $ INSERT INTO testBug14562 VALUES (1, -8388608, 0), (2, 8388607, 16777215) + // $ CREATE PROCEDURE sp_testBug14562_1 (OUT param_1 MEDIUMINT, OUT param_2 MEDIUMINT UNSIGNED) + // BEGIN + // SELECT signed_field, unsigned_field INTO param_1, param_2 FROM testBug14562 WHERE row_order=1; + // END + // $ CALL sp_testBug14562_1(@com_mysql_jdbc_outparam_param_1, @com_mysql_jdbc_outparam_param_2) + // $ SELECT @com_mysql_jdbc_outparam_param_1,@com_mysql_jdbc_outparam_param_2 + // + // ResultSet metadata returns BIGINT for @com_mysql_jdbc_outparam_param_1 and @com_mysql_jdbc_outparam_param_2 + // instead of expected MEDIUMINT. I wonder what happens to other types... + retrieveOutParams(); + + if (!this.callingStoredFunction) { + return returnVal; + } + + // Functions can't return results + return false; + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); + } } } @Override public java.sql.ResultSet executeQuery() throws SQLException { synchronized (checkClosed().getConnectionMutex()) { + TelemetrySpan span = getSession().getTelemetryHandler().startSpan(TelemetrySpanName.ROUTINE_EXECUTE); + try (TelemetryScope scope = span.makeCurrent()) { + String dbOperation = getQueryInfo().getStatementKeyword(); + span.setAttribute(TelemetryAttribute.DB_NAME, getCurrentDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, dbOperation); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, dbOperation + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, this.connection.getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); - checkStreamability(); + checkStreamability(); - java.sql.ResultSet execResults = null; + java.sql.ResultSet execResults = null; - setInOutParamsOnServer(); - setOutParams(); + setInOutParamsOnServer(); + setOutParams(); - execResults = super.executeQuery(); + execResults = super.executeQuery(); - retrieveOutParams(); + retrieveOutParams(); - return execResults; + return execResults; + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); + } } } @@ -2239,7 +2276,7 @@ private boolean checkReadOnlyProcedure() throws SQLException { try { String procName = extractProcedureName(); - String db = this.getCurrentDatabase(); + String db = getCurrentDatabase(); if (procName.indexOf(".") != -1) { db = procName.substring(0, procName.indexOf(".")); @@ -2478,24 +2515,41 @@ protected byte[] s2b(String s) { @Override public long executeLargeUpdate() throws SQLException { synchronized (checkClosed().getConnectionMutex()) { - long returnVal = -1; + TelemetrySpan span = getSession().getTelemetryHandler().startSpan(TelemetrySpanName.ROUTINE_EXECUTE); + try (TelemetryScope scope = span.makeCurrent()) { + String dbOperation = getQueryInfo().getStatementKeyword(); + span.setAttribute(TelemetryAttribute.DB_NAME, getCurrentDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, dbOperation); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, dbOperation + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, this.connection.getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); - checkStreamability(); + long returnVal = -1; - if (this.callingStoredFunction) { - execute(); + checkStreamability(); - return -1; - } + if (this.callingStoredFunction) { + execute(); + + return -1; + } - setInOutParamsOnServer(); - setOutParams(); + setInOutParamsOnServer(); + setOutParams(); - returnVal = super.executeLargeUpdate(); + returnVal = super.executeLargeUpdate(); - retrieveOutParams(); + retrieveOutParams(); - return returnVal; + return returnVal; + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); + } } } @@ -2505,8 +2559,23 @@ public long[] executeLargeBatch() throws SQLException { throw SQLError.createSQLException("Can't call executeBatch() on CallableStatement with OUTPUT parameters", MysqlErrorNumbers.SQL_STATE_ILLEGAL_ARGUMENT, getExceptionInterceptor()); } - - return super.executeLargeBatch(); + TelemetrySpan span = getSession().getTelemetryHandler().startSpan(TelemetrySpanName.ROUTINE_EXECUTE_BATCH); + try (TelemetryScope scope = span.makeCurrent()) { + span.setAttribute(TelemetryAttribute.DB_NAME, getCurrentDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, TelemetryAttribute.OPERATION_BATCH); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, TelemetryAttribute.OPERATION_BATCH); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, this.connection.getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + + return super.executeLargeBatch(); + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); + } } } diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/ClientPreparedStatement.java b/src/main/user-impl/java/com/mysql/cj/jdbc/ClientPreparedStatement.java index f9295230c..cca0a5f6a 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/ClientPreparedStatement.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/ClientPreparedStatement.java @@ -72,6 +72,10 @@ import com.mysql.cj.protocol.Message; import com.mysql.cj.protocol.a.NativePacketPayload; import com.mysql.cj.result.Field; +import com.mysql.cj.telemetry.TelemetryAttribute; +import com.mysql.cj.telemetry.TelemetryScope; +import com.mysql.cj.telemetry.TelemetrySpan; +import com.mysql.cj.telemetry.TelemetrySpanName; import com.mysql.cj.util.Util; /** @@ -286,129 +290,160 @@ protected boolean checkReadOnlySafeStatement() throws SQLException { @Override public boolean execute() throws SQLException { synchronized (checkClosed().getConnectionMutex()) { + TelemetrySpan span = getSession().getTelemetryHandler().startSpan(TelemetrySpanName.STMT_EXECUTE_PREPARED); + try (TelemetryScope scope = span.makeCurrent()) { + String dbOperation = getQueryInfo().getStatementKeyword(); + span.setAttribute(TelemetryAttribute.DB_NAME, getCurrentDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, dbOperation); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, dbOperation + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, this.connection.getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + + JdbcConnection locallyScopedConn = this.connection; + + if (!this.doPingInstead && !checkReadOnlySafeStatement()) { + throw SQLError.createSQLException(Messages.getString("PreparedStatement.20") + Messages.getString("PreparedStatement.21"), + MysqlErrorNumbers.SQL_STATE_ILLEGAL_ARGUMENT, this.exceptionInterceptor); + } - JdbcConnection locallyScopedConn = this.connection; + ResultSetInternalMethods rs = null; - if (!this.doPingInstead && !checkReadOnlySafeStatement()) { - throw SQLError.createSQLException(Messages.getString("PreparedStatement.20") + Messages.getString("PreparedStatement.21"), - MysqlErrorNumbers.SQL_STATE_ILLEGAL_ARGUMENT, this.exceptionInterceptor); - } + this.lastQueryIsOnDupKeyUpdate = false; - ResultSetInternalMethods rs = null; - - this.lastQueryIsOnDupKeyUpdate = false; + if (this.retrieveGeneratedKeys) { + this.lastQueryIsOnDupKeyUpdate = containsOnDuplicateKeyUpdate(); + } - if (this.retrieveGeneratedKeys) { - this.lastQueryIsOnDupKeyUpdate = containsOnDuplicateKeyUpdate(); - } + this.batchedGeneratedKeys = null; - this.batchedGeneratedKeys = null; + resetCancelledState(); - resetCancelledState(); + implicitlyCloseAllOpenResults(); - implicitlyCloseAllOpenResults(); + clearWarnings(); - clearWarnings(); + if (this.doPingInstead) { + doPingInstead(); - if (this.doPingInstead) { - doPingInstead(); + return true; + } - return true; - } + setupStreamingTimeout(locallyScopedConn); - setupStreamingTimeout(locallyScopedConn); + Message sendPacket = ((PreparedQuery) this.query).fillSendPacket(((PreparedQuery) this.query).getQueryBindings()); - Message sendPacket = ((PreparedQuery) this.query).fillSendPacket(((PreparedQuery) this.query).getQueryBindings()); + String oldDb = null; - String oldDb = null; + if (!locallyScopedConn.getDatabase().equals(getCurrentDatabase())) { + oldDb = locallyScopedConn.getDatabase(); + locallyScopedConn.setDatabase(getCurrentDatabase()); + } - if (!locallyScopedConn.getDatabase().equals(this.getCurrentDatabase())) { - oldDb = locallyScopedConn.getDatabase(); - locallyScopedConn.setDatabase(this.getCurrentDatabase()); - } + // + // Check if we have cached metadata for this query... + // + CachedResultSetMetaData cachedMetadata = null; - // - // Check if we have cached metadata for this query... - // - CachedResultSetMetaData cachedMetadata = null; + boolean cacheResultSetMetadata = locallyScopedConn.getPropertySet().getBooleanProperty(PropertyKey.cacheResultSetMetadata).getValue(); + if (cacheResultSetMetadata) { + cachedMetadata = locallyScopedConn.getCachedMetaData(((PreparedQuery) this.query).getOriginalSql()); + } - boolean cacheResultSetMetadata = locallyScopedConn.getPropertySet().getBooleanProperty(PropertyKey.cacheResultSetMetadata).getValue(); - if (cacheResultSetMetadata) { - cachedMetadata = locallyScopedConn.getCachedMetaData(((PreparedQuery) this.query).getOriginalSql()); - } + // + // Only apply max_rows to selects + // + locallyScopedConn.setSessionMaxRows(getQueryInfo().getFirstStmtChar() == 'S' ? this.maxRows : -1); - // - // Only apply max_rows to selects - // - locallyScopedConn.setSessionMaxRows(getQueryInfo().getFirstStmtChar() == 'S' ? this.maxRows : -1); + rs = executeInternal(this.maxRows, sendPacket, createStreamingResultSet(), getQueryInfo().getFirstStmtChar() == 'S', cachedMetadata, false); - rs = executeInternal(this.maxRows, sendPacket, createStreamingResultSet(), getQueryInfo().getFirstStmtChar() == 'S', cachedMetadata, false); + if (cachedMetadata != null) { + locallyScopedConn.initializeResultsMetadataFromCache(((PreparedQuery) this.query).getOriginalSql(), cachedMetadata, rs); + } else if (rs.hasRows() && cacheResultSetMetadata) { + locallyScopedConn.initializeResultsMetadataFromCache(((PreparedQuery) this.query).getOriginalSql(), null /* will be created */, rs); + } - if (cachedMetadata != null) { - locallyScopedConn.initializeResultsMetadataFromCache(((PreparedQuery) this.query).getOriginalSql(), cachedMetadata, rs); - } else if (rs.hasRows() && cacheResultSetMetadata) { - locallyScopedConn.initializeResultsMetadataFromCache(((PreparedQuery) this.query).getOriginalSql(), null /* will be created */, rs); - } + if (this.retrieveGeneratedKeys) { + rs.setFirstCharOfQuery(getQueryInfo().getFirstStmtChar()); + } - if (this.retrieveGeneratedKeys) { - rs.setFirstCharOfQuery(getQueryInfo().getFirstStmtChar()); - } + if (oldDb != null) { + locallyScopedConn.setDatabase(oldDb); + } - if (oldDb != null) { - locallyScopedConn.setDatabase(oldDb); - } + if (rs != null) { + this.lastInsertId = rs.getUpdateID(); - if (rs != null) { - this.lastInsertId = rs.getUpdateID(); + this.results = rs; + } - this.results = rs; + return rs != null && rs.hasRows(); + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); } - - return rs != null && rs.hasRows(); } } @Override protected long[] executeBatchInternal() throws SQLException { synchronized (checkClosed().getConnectionMutex()) { + TelemetrySpan span = getSession().getTelemetryHandler().startSpan(TelemetrySpanName.STMT_EXECUTE_BATCH_PREPARED); + try (TelemetryScope scope = span.makeCurrent()) { + span.setAttribute(TelemetryAttribute.DB_NAME, getCurrentDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, TelemetryAttribute.OPERATION_BATCH); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, TelemetryAttribute.OPERATION_BATCH); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, this.connection.getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + + if (this.connection.isReadOnly()) { + throw new SQLException(Messages.getString("PreparedStatement.25") + Messages.getString("PreparedStatement.26"), + MysqlErrorNumbers.SQL_STATE_ILLEGAL_ARGUMENT); + } - if (this.connection.isReadOnly()) { - throw new SQLException(Messages.getString("PreparedStatement.25") + Messages.getString("PreparedStatement.26"), - MysqlErrorNumbers.SQL_STATE_ILLEGAL_ARGUMENT); - } + if (this.query.getBatchedArgs() == null || this.query.getBatchedArgs().size() == 0) { + return new long[0]; + } - if (this.query.getBatchedArgs() == null || this.query.getBatchedArgs().size() == 0) { - return new long[0]; - } + // we timeout the entire batch, not individual statements + long batchTimeout = getTimeoutInMillis(); + setTimeoutInMillis(0); - // we timeout the entire batch, not individual statements - long batchTimeout = getTimeoutInMillis(); - setTimeoutInMillis(0); + resetCancelledState(); - resetCancelledState(); + try { + statementBegins(); - try { - statementBegins(); + clearWarnings(); - clearWarnings(); + if (!this.batchHasPlainStatements && this.rewriteBatchedStatements.getValue()) { - if (!this.batchHasPlainStatements && this.rewriteBatchedStatements.getValue()) { + if (getQueryInfo().isRewritableWithMultiValuesClause()) { + return executeBatchWithMultiValuesClause(batchTimeout); + } - if (getQueryInfo().isRewritableWithMultiValuesClause()) { - return executeBatchWithMultiValuesClause(batchTimeout); + if (!this.batchHasPlainStatements && this.query.getBatchedArgs() != null + && this.query.getBatchedArgs().size() > 3 /* cost of option setting rt-wise */) { + return executePreparedBatchAsMultiStatement(batchTimeout); + } } - if (!this.batchHasPlainStatements && this.query.getBatchedArgs() != null - && this.query.getBatchedArgs().size() > 3 /* cost of option setting rt-wise */) { - return executePreparedBatchAsMultiStatement(batchTimeout); - } - } + return executeBatchSerially(batchTimeout); + } finally { + this.query.getStatementExecuting().set(false); - return executeBatchSerially(batchTimeout); + clearBatch(); + } + } catch (Throwable t) { + span.setError(t); + throw t; } finally { - this.query.getStatementExecuting().set(false); - - clearBatch(); + span.end(); } } } @@ -906,71 +941,87 @@ protected ResultSetInternalMethods executeInternal(int maxRo @Override public java.sql.ResultSet executeQuery() throws SQLException { synchronized (checkClosed().getConnectionMutex()) { - - JdbcConnection locallyScopedConn = this.connection; - - if (!this.doPingInstead) { - QueryReturnType queryReturnType = getQueryInfo().getQueryReturnType(); - if (queryReturnType != QueryReturnType.PRODUCES_RESULT_SET && queryReturnType != QueryReturnType.MAY_PRODUCE_RESULT_SET) { - throw SQLError.createSQLException(Messages.getString("Statement.57"), MysqlErrorNumbers.SQL_STATE_ILLEGAL_ARGUMENT, - getExceptionInterceptor()); + TelemetrySpan span = getSession().getTelemetryHandler().startSpan(TelemetrySpanName.STMT_EXECUTE_PREPARED); + try (TelemetryScope scope = span.makeCurrent()) { + String dbOperation = getQueryInfo().getStatementKeyword(); + span.setAttribute(TelemetryAttribute.DB_NAME, getCurrentDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, dbOperation); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, dbOperation + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, this.connection.getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + + JdbcConnection locallyScopedConn = this.connection; + + if (!this.doPingInstead) { + QueryReturnType queryReturnType = getQueryInfo().getQueryReturnType(); + if (queryReturnType != QueryReturnType.PRODUCES_RESULT_SET && queryReturnType != QueryReturnType.MAY_PRODUCE_RESULT_SET) { + throw SQLError.createSQLException(Messages.getString("Statement.57"), MysqlErrorNumbers.SQL_STATE_ILLEGAL_ARGUMENT, + getExceptionInterceptor()); + } } - } - this.batchedGeneratedKeys = null; + this.batchedGeneratedKeys = null; - resetCancelledState(); + resetCancelledState(); - implicitlyCloseAllOpenResults(); + implicitlyCloseAllOpenResults(); - clearWarnings(); + clearWarnings(); - if (this.doPingInstead) { - doPingInstead(); + if (this.doPingInstead) { + doPingInstead(); - return this.results; - } + return this.results; + } - setupStreamingTimeout(locallyScopedConn); + setupStreamingTimeout(locallyScopedConn); - Message sendPacket = ((PreparedQuery) this.query).fillSendPacket(((PreparedQuery) this.query).getQueryBindings()); + Message sendPacket = ((PreparedQuery) this.query).fillSendPacket(((PreparedQuery) this.query).getQueryBindings()); - String oldDb = null; + String oldDb = null; - if (!locallyScopedConn.getDatabase().equals(this.getCurrentDatabase())) { - oldDb = locallyScopedConn.getDatabase(); - locallyScopedConn.setDatabase(this.getCurrentDatabase()); - } + if (!locallyScopedConn.getDatabase().equals(getCurrentDatabase())) { + oldDb = locallyScopedConn.getDatabase(); + locallyScopedConn.setDatabase(getCurrentDatabase()); + } - // - // Check if we have cached metadata for this query... - // - CachedResultSetMetaData cachedMetadata = null; - boolean cacheResultSetMetadata = locallyScopedConn.getPropertySet().getBooleanProperty(PropertyKey.cacheResultSetMetadata).getValue(); + // + // Check if we have cached metadata for this query... + // + CachedResultSetMetaData cachedMetadata = null; + boolean cacheResultSetMetadata = locallyScopedConn.getPropertySet().getBooleanProperty(PropertyKey.cacheResultSetMetadata).getValue(); - String origSql = ((PreparedQuery) this.query).getOriginalSql(); + String origSql = ((PreparedQuery) this.query).getOriginalSql(); - if (cacheResultSetMetadata) { - cachedMetadata = locallyScopedConn.getCachedMetaData(origSql); - } + if (cacheResultSetMetadata) { + cachedMetadata = locallyScopedConn.getCachedMetaData(origSql); + } - locallyScopedConn.setSessionMaxRows(this.maxRows); + locallyScopedConn.setSessionMaxRows(this.maxRows); - this.results = executeInternal(this.maxRows, sendPacket, createStreamingResultSet(), true, cachedMetadata, false); + this.results = executeInternal(this.maxRows, sendPacket, createStreamingResultSet(), true, cachedMetadata, false); - if (oldDb != null) { - locallyScopedConn.setDatabase(oldDb); - } + if (oldDb != null) { + locallyScopedConn.setDatabase(oldDb); + } - if (cachedMetadata != null) { - locallyScopedConn.initializeResultsMetadataFromCache(origSql, cachedMetadata, this.results); - } else if (cacheResultSetMetadata) { - locallyScopedConn.initializeResultsMetadataFromCache(origSql, null /* will be created */, this.results); - } + if (cachedMetadata != null) { + locallyScopedConn.initializeResultsMetadataFromCache(origSql, cachedMetadata, this.results); + } else if (cacheResultSetMetadata) { + locallyScopedConn.initializeResultsMetadataFromCache(origSql, null /* will be created */, this.results); + } - this.lastInsertId = this.results.getUpdateID(); + this.lastInsertId = this.results.getUpdateID(); - return this.results; + return this.results; + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); + } } } @@ -1010,61 +1061,77 @@ protected long executeUpdateInternal(boolean clearBatchedGeneratedKeysAndWarning */ protected long executeUpdateInternal(QueryBindings bindings, boolean isReallyBatch) throws SQLException { synchronized (checkClosed().getConnectionMutex()) { + TelemetrySpan span = getSession().getTelemetryHandler().startSpan(TelemetrySpanName.STMT_EXECUTE_PREPARED); + try (TelemetryScope scope = span.makeCurrent()) { + String dbOperation = getQueryInfo().getStatementKeyword(); + span.setAttribute(TelemetryAttribute.DB_NAME, getCurrentDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, dbOperation); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, dbOperation + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, this.connection.getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + + JdbcConnection locallyScopedConn = this.connection; + + if (locallyScopedConn.isReadOnly(false)) { + throw SQLError.createSQLException(Messages.getString("PreparedStatement.34") + Messages.getString("PreparedStatement.35"), + MysqlErrorNumbers.SQL_STATE_ILLEGAL_ARGUMENT, this.exceptionInterceptor); + } - JdbcConnection locallyScopedConn = this.connection; - - if (locallyScopedConn.isReadOnly(false)) { - throw SQLError.createSQLException(Messages.getString("PreparedStatement.34") + Messages.getString("PreparedStatement.35"), - MysqlErrorNumbers.SQL_STATE_ILLEGAL_ARGUMENT, this.exceptionInterceptor); - } - - if (!isNonResultSetProducingQuery()) { - throw SQLError.createSQLException(Messages.getString("PreparedStatement.37"), "01S03", this.exceptionInterceptor); - } + if (!isNonResultSetProducingQuery()) { + throw SQLError.createSQLException(Messages.getString("PreparedStatement.37"), "01S03", this.exceptionInterceptor); + } - resetCancelledState(); + resetCancelledState(); - implicitlyCloseAllOpenResults(); + implicitlyCloseAllOpenResults(); - ResultSetInternalMethods rs = null; + ResultSetInternalMethods rs = null; - Message sendPacket = ((PreparedQuery) this.query).fillSendPacket(bindings); + Message sendPacket = ((PreparedQuery) this.query).fillSendPacket(bindings); - String oldDb = null; + String oldDb = null; - if (!locallyScopedConn.getDatabase().equals(this.getCurrentDatabase())) { - oldDb = locallyScopedConn.getDatabase(); - locallyScopedConn.setDatabase(this.getCurrentDatabase()); - } + if (!locallyScopedConn.getDatabase().equals(getCurrentDatabase())) { + oldDb = locallyScopedConn.getDatabase(); + locallyScopedConn.setDatabase(getCurrentDatabase()); + } - // - // Only apply max_rows to selects - // - locallyScopedConn.setSessionMaxRows(-1); + // + // Only apply max_rows to selects + // + locallyScopedConn.setSessionMaxRows(-1); - rs = executeInternal(-1, sendPacket, false, false, null, isReallyBatch); + rs = executeInternal(-1, sendPacket, false, false, null, isReallyBatch); - if (this.retrieveGeneratedKeys) { - rs.setFirstCharOfQuery(getQueryInfo().getFirstStmtChar()); - } + if (this.retrieveGeneratedKeys) { + rs.setFirstCharOfQuery(getQueryInfo().getFirstStmtChar()); + } - if (oldDb != null) { - locallyScopedConn.setDatabase(oldDb); - } + if (oldDb != null) { + locallyScopedConn.setDatabase(oldDb); + } - this.results = rs; + this.results = rs; - this.updateCount = rs.getUpdateCount(); + this.updateCount = rs.getUpdateCount(); - if (containsOnDuplicateKeyUpdate() && this.compensateForOnDuplicateKeyUpdate) { - if (this.updateCount == 2 || this.updateCount == 0) { - this.updateCount = 1; + if (containsOnDuplicateKeyUpdate() && this.compensateForOnDuplicateKeyUpdate) { + if (this.updateCount == 2 || this.updateCount == 0) { + this.updateCount = 1; + } } - } - this.lastInsertId = rs.getUpdateID(); + this.lastInsertId = rs.getUpdateID(); - return this.updateCount; + return this.updateCount; + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); + } } } @@ -1086,7 +1153,7 @@ protected boolean containsOnDuplicateKeyUpdate() { protected ClientPreparedStatement prepareBatchedInsertSQL(JdbcConnection localConn, int numBatches) throws SQLException { synchronized (checkClosed().getConnectionMutex()) { ClientPreparedStatement pstmt = new ClientPreparedStatement(localConn, "Rewritten batch of: " + ((PreparedQuery) this.query).getOriginalSql(), - this.getCurrentDatabase(), getQueryInfo().getQueryInfoForBatch(numBatches)); + getCurrentDatabase(), getQueryInfo().getQueryInfoForBatch(numBatches)); pstmt.setRetrieveGeneratedKeys(this.retrieveGeneratedKeys); pstmt.rewrittenBatchSize = numBatches; @@ -1128,8 +1195,7 @@ public java.sql.ResultSetMetaData getMetaData() throws SQLException { if (this.pstmtResultMetaData == null) { try { - mdStmt = new ClientPreparedStatement(this.connection, ((PreparedQuery) this.query).getOriginalSql(), this.getCurrentDatabase(), - getQueryInfo()); + mdStmt = new ClientPreparedStatement(this.connection, ((PreparedQuery) this.query).getOriginalSql(), getCurrentDatabase(), getQueryInfo()); mdStmt.setMaxRows(1); diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/ConnectionImpl.java b/src/main/user-impl/java/com/mysql/cj/jdbc/ConnectionImpl.java index 128cd984a..7a547b343 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/ConnectionImpl.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/ConnectionImpl.java @@ -23,6 +23,8 @@ import java.io.Serializable; import java.lang.ref.WeakReference; import java.lang.reflect.InvocationHandler; +import java.net.InetSocketAddress; +import java.net.SocketAddress; import java.sql.Blob; import java.sql.Clob; import java.sql.DatabaseMetaData; @@ -81,10 +83,13 @@ import com.mysql.cj.jdbc.result.ResultSetInternalMethods; import com.mysql.cj.jdbc.result.UpdatableResultSet; import com.mysql.cj.log.ProfilerEvent; -import com.mysql.cj.log.StandardLogger; import com.mysql.cj.protocol.ServerSessionStateController; import com.mysql.cj.protocol.SocksProxySocketFactory; import com.mysql.cj.protocol.a.NativeProtocol; +import com.mysql.cj.telemetry.TelemetryAttribute; +import com.mysql.cj.telemetry.TelemetryScope; +import com.mysql.cj.telemetry.TelemetrySpan; +import com.mysql.cj.telemetry.TelemetrySpanName; import com.mysql.cj.util.LRUCache; import com.mysql.cj.util.StringUtils; import com.mysql.cj.util.Util; @@ -194,9 +199,6 @@ public int hashCode() { } - /** Default logger class name */ - protected static final String DEFAULT_LOGGER_CLASS = StandardLogger.class.getName(); - /** * Map mysql transaction isolation level name to * java.sql.Connection.TRANSACTION_XXX @@ -347,6 +349,8 @@ private static boolean nullSafeCompare(String s1, String s2) { protected ResultSetFactory nullStatementResultSetFactory; + TelemetrySpan connectionSpan = null; + /** * ' * For the delegate only @@ -381,70 +385,105 @@ public ConnectionImpl(HostInfo hostInfo) throws SQLException { this.nullStatementResultSetFactory = new ResultSetFactory(this, null); this.session = new NativeSession(hostInfo, this.propertySet); this.session.addListener(this); // listen for session status changes - - // we can't cache fixed values here because properties are still not initialized with user provided values - this.autoReconnectForPools = this.propertySet.getBooleanProperty(PropertyKey.autoReconnectForPools); - this.cachePrepStmts = this.propertySet.getBooleanProperty(PropertyKey.cachePrepStmts); - this.autoReconnect = this.propertySet.getBooleanProperty(PropertyKey.autoReconnect); - this.useUsageAdvisor = this.propertySet.getBooleanProperty(PropertyKey.useUsageAdvisor); - this.reconnectAtTxEnd = this.propertySet.getBooleanProperty(PropertyKey.reconnectAtTxEnd); - this.emulateUnsupportedPstmts = this.propertySet.getBooleanProperty(PropertyKey.emulateUnsupportedPstmts); - this.ignoreNonTxTables = this.propertySet.getBooleanProperty(PropertyKey.ignoreNonTxTables); - this.pedantic = this.propertySet.getBooleanProperty(PropertyKey.pedantic); - this.prepStmtCacheSqlLimit = this.propertySet.getIntegerProperty(PropertyKey.prepStmtCacheSqlLimit); - this.useLocalSessionState = this.propertySet.getBooleanProperty(PropertyKey.useLocalSessionState); - this.useServerPrepStmts = this.propertySet.getBooleanProperty(PropertyKey.useServerPrepStmts); - this.processEscapeCodesForPrepStmts = this.propertySet.getBooleanProperty(PropertyKey.processEscapeCodesForPrepStmts); - this.useLocalTransactionState = this.propertySet.getBooleanProperty(PropertyKey.useLocalTransactionState); - this.disconnectOnExpiredPasswords = this.propertySet.getBooleanProperty(PropertyKey.disconnectOnExpiredPasswords); - this.readOnlyPropagatesToServer = this.propertySet.getBooleanProperty(PropertyKey.readOnlyPropagatesToServer); - - String exceptionInterceptorClasses = this.propertySet.getStringProperty(PropertyKey.exceptionInterceptors).getStringValue(); - if (exceptionInterceptorClasses != null && !"".equals(exceptionInterceptorClasses)) { - this.exceptionInterceptor = new ExceptionInterceptorChain(exceptionInterceptorClasses, this.props, this.session.getLog()); - } - if (this.cachePrepStmts.getValue()) { - createPreparedStatementCaches(); - } - if (this.propertySet.getBooleanProperty(PropertyKey.cacheCallableStmts).getValue()) { - this.parsedCallableStatementCache = new LRUCache<>(this.propertySet.getIntegerProperty(PropertyKey.callableStmtCacheSize).getValue()); - } - if (this.propertySet.getBooleanProperty(PropertyKey.allowMultiQueries).getValue()) { - this.propertySet.getProperty(PropertyKey.cacheResultSetMetadata).setValue(false); // we don't handle this yet - } - if (this.propertySet.getBooleanProperty(PropertyKey.cacheResultSetMetadata).getValue()) { - this.resultSetMetadataCache = new LRUCache<>(this.propertySet.getIntegerProperty(PropertyKey.metadataCacheSize).getValue()); - } - if (this.propertySet.getStringProperty(PropertyKey.socksProxyHost).getStringValue() != null) { - this.propertySet.getProperty(PropertyKey.socketFactory).setValue(SocksProxySocketFactory.class.getName()); - } - - this.dbmd = getMetaData(false, false); - initializeSafeQueryInterceptors(); } catch (CJException e) { throw SQLExceptionsMapping.translateException(e, getExceptionInterceptor()); } - try { - createNewIO(false); + this.connectionSpan = this.session.getTelemetryHandler().startSpan(TelemetrySpanName.CONNECTION_CREATE); + this.session.getTelemetryHandler().addLinkTarget(this.connectionSpan); + try (TelemetryScope scope = this.connectionSpan.makeCurrent()) { + this.connectionSpan.setAttribute(TelemetryAttribute.DB_CONNECTION_STRING, getURL()); + this.connectionSpan.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + this.connectionSpan.setAttribute(TelemetryAttribute.DB_USER, getUser()); + this.connectionSpan.setAttribute(TelemetryAttribute.SERVER_ADDRESS, this.origHostToConnectTo); + this.connectionSpan.setAttribute(TelemetryAttribute.SERVER_PORT, this.origPortToConnectTo); + this.connectionSpan.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + this.connectionSpan.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + + try { + String exceptionInterceptorClasses = this.propertySet.getStringProperty(PropertyKey.exceptionInterceptors).getStringValue(); + if (exceptionInterceptorClasses != null && !"".equals(exceptionInterceptorClasses)) { + this.exceptionInterceptor = new ExceptionInterceptorChain(exceptionInterceptorClasses, this.props, this.session.getLog()); + } + + // we can't cache fixed values here because properties are still not initialized with user provided values + this.autoReconnectForPools = this.propertySet.getBooleanProperty(PropertyKey.autoReconnectForPools); + this.cachePrepStmts = this.propertySet.getBooleanProperty(PropertyKey.cachePrepStmts); + this.autoReconnect = this.propertySet.getBooleanProperty(PropertyKey.autoReconnect); + this.useUsageAdvisor = this.propertySet.getBooleanProperty(PropertyKey.useUsageAdvisor); + this.reconnectAtTxEnd = this.propertySet.getBooleanProperty(PropertyKey.reconnectAtTxEnd); + this.emulateUnsupportedPstmts = this.propertySet.getBooleanProperty(PropertyKey.emulateUnsupportedPstmts); + this.ignoreNonTxTables = this.propertySet.getBooleanProperty(PropertyKey.ignoreNonTxTables); + this.pedantic = this.propertySet.getBooleanProperty(PropertyKey.pedantic); + this.prepStmtCacheSqlLimit = this.propertySet.getIntegerProperty(PropertyKey.prepStmtCacheSqlLimit); + this.useLocalSessionState = this.propertySet.getBooleanProperty(PropertyKey.useLocalSessionState); + this.useServerPrepStmts = this.propertySet.getBooleanProperty(PropertyKey.useServerPrepStmts); + this.processEscapeCodesForPrepStmts = this.propertySet.getBooleanProperty(PropertyKey.processEscapeCodesForPrepStmts); + this.useLocalTransactionState = this.propertySet.getBooleanProperty(PropertyKey.useLocalTransactionState); + this.disconnectOnExpiredPasswords = this.propertySet.getBooleanProperty(PropertyKey.disconnectOnExpiredPasswords); + this.readOnlyPropagatesToServer = this.propertySet.getBooleanProperty(PropertyKey.readOnlyPropagatesToServer); - unSafeQueryInterceptors(); + if (this.cachePrepStmts.getValue()) { + createPreparedStatementCaches(); + } + if (this.propertySet.getBooleanProperty(PropertyKey.cacheCallableStmts).getValue()) { + this.parsedCallableStatementCache = new LRUCache<>(this.propertySet.getIntegerProperty(PropertyKey.callableStmtCacheSize).getValue()); + } + if (this.propertySet.getBooleanProperty(PropertyKey.allowMultiQueries).getValue()) { + this.propertySet.getProperty(PropertyKey.cacheResultSetMetadata).setValue(false); // we don't handle this yet + } + if (this.propertySet.getBooleanProperty(PropertyKey.cacheResultSetMetadata).getValue()) { + this.resultSetMetadataCache = new LRUCache<>(this.propertySet.getIntegerProperty(PropertyKey.metadataCacheSize).getValue()); + } + if (this.propertySet.getStringProperty(PropertyKey.socksProxyHost).getStringValue() != null) { + this.propertySet.getProperty(PropertyKey.socketFactory).setValue(SocksProxySocketFactory.class.getName()); + } + + this.dbmd = getMetaData(false, false); + initializeSafeQueryInterceptors(); + } catch (CJException e) { + throw SQLExceptionsMapping.translateException(e, getExceptionInterceptor()); + } + + try { + createNewIO(false); - AbandonedConnectionCleanupThread.trackConnection(this, this.getSession().getNetworkResources()); - } catch (SQLException ex) { - cleanup(ex); + unSafeQueryInterceptors(); + + AbandonedConnectionCleanupThread.trackConnection(this, this.getSession().getNetworkResources()); + + SocketAddress socketAddress = this.session.getRemoteSocketAddress(); + if (InetSocketAddress.class.isInstance(socketAddress)) { + InetSocketAddress inetSocketAddress = (InetSocketAddress) socketAddress; + this.connectionSpan.setAttribute(TelemetryAttribute.NETWORK_PEER_ADDRESS, inetSocketAddress.getHostName()); + this.connectionSpan.setAttribute(TelemetryAttribute.NETWORK_PEER_PORT, inetSocketAddress.getPort()); + this.connectionSpan.setAttribute(TelemetryAttribute.NETWORK_TRANSPORT, TelemetryAttribute.NETWORK_TRANSPORT_TCP); + } + if (this.propertySet.getStringProperty(PropertyKey.socketFactory).getValue().equalsIgnoreCase("com.mysql.cj.protocol.NamedPipeSocketFactory")) { + this.connectionSpan.setAttribute(TelemetryAttribute.NETWORK_TRANSPORT, TelemetryAttribute.NETWORK_TRANSPORT_PIPE); + } else if (StringUtils.indexOfIgnoreCase(socketAddress.getClass().getName(), "UNIXSocket") >= 0) { + this.connectionSpan.setAttribute(TelemetryAttribute.NETWORK_TRANSPORT, TelemetryAttribute.NETWORK_TRANSPORT_UNIX); + } - // don't clobber SQL exceptions - throw ex; - } catch (Exception ex) { - cleanup(ex); + } catch (SQLException ex) { + cleanup(ex); - throw SQLError - .createSQLException( - this.propertySet.getBooleanProperty(PropertyKey.paranoid).getValue() ? Messages.getString("Connection.0") - : Messages.getString("Connection.1", - new Object[] { this.session.getHostInfo().getHost(), this.session.getHostInfo().getPort() }), - MysqlErrorNumbers.SQL_STATE_COMMUNICATION_LINK_FAILURE, ex, getExceptionInterceptor()); + // don't clobber SQL exceptions + throw ex; + } catch (Exception ex) { + cleanup(ex); + + throw SQLError.createSQLException( + this.propertySet.getBooleanProperty(PropertyKey.paranoid).getValue() ? Messages.getString("Connection.0") + : Messages.getString("Connection.1", + new Object[] { this.session.getHostInfo().getHost(), this.session.getHostInfo().getPort() }), + MysqlErrorNumbers.SQL_STATE_COMMUNICATION_LINK_FAILURE, ex, getExceptionInterceptor()); + } + } catch (Throwable t) { + this.connectionSpan.setError(t); + throw t; + } finally { + this.connectionSpan.end(); } } @@ -769,7 +808,23 @@ void forEach(ConnectionLifecycleInterceptor each) throws SQLException { } } - this.session.execSQL(null, "commit", -1, null, false, this.nullStatementResultSetFactory, null, false); + TelemetrySpan span = this.session.getTelemetryHandler().startSpan(TelemetrySpanName.ROLLBACK); + try (TelemetryScope scope = span.makeCurrent()) { + span.setAttribute(TelemetryAttribute.DB_NAME, getDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, TelemetryAttribute.OPERATION_ROLLBACK); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, TelemetryAttribute.OPERATION_ROLLBACK); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + + this.session.execSQL(null, "COMMIT", -1, null, false, this.nullStatementResultSetFactory, null, false); + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); + } } catch (SQLException sqlException) { if (MysqlErrorNumbers.SQL_STATE_COMMUNICATION_LINK_FAILURE.equals(sqlException.getSQLState())) { throw SQLError.createSQLException(Messages.getString("Connection.4"), MysqlErrorNumbers.SQL_STATE_TRANSACTION_RESOLUTION_UNKNOWN, @@ -921,7 +976,6 @@ private void connectOneTryOnly(boolean isForReconnect) throws SQLException { Exception connectionNotEstablishedBecause = null; try { - JdbcConnection c = getProxy(); this.session.connect(this.origHostInfo, this.user, this.password, this.database, getLoginTimeout(), c); @@ -1224,8 +1278,7 @@ public boolean hasTriedMaster() { } /** - * Sets varying properties that depend on server information. Called once we - * have connected to the server. + * Sets varying properties that depend on server information. Called once we have connected to the server. * * @throws SQLException * if a database access error occurs @@ -1466,35 +1519,56 @@ public java.sql.CallableStatement prepareCall(String sql) throws SQLException { @Override public java.sql.CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency) throws SQLException { - CallableStatement cStmt = null; - - if (!this.propertySet.getBooleanProperty(PropertyKey.cacheCallableStmts).getValue()) { + synchronized (getConnectionMutex()) { + checkClosed(); - cStmt = parseCallableStatement(sql); - } else { - synchronized (this.parsedCallableStatementCache) { - CompoundCacheKey key = new CompoundCacheKey(getDatabase(), sql); + TelemetrySpan span = this.session.getTelemetryHandler().startSpan(TelemetrySpanName.ROUTINE_PREPARE); + try (TelemetryScope scope = span.makeCurrent()) { + CallableStatement cStmt = null; - CallableStatement.CallableStatementParamInfo cachedParamInfo = this.parsedCallableStatementCache.get(key); + if (!this.propertySet.getBooleanProperty(PropertyKey.cacheCallableStmts).getValue()) { - if (cachedParamInfo != null) { - cStmt = CallableStatement.getInstance(getMultiHostSafeProxy(), cachedParamInfo); - } else { cStmt = parseCallableStatement(sql); + } else { + synchronized (this.parsedCallableStatementCache) { + CompoundCacheKey key = new CompoundCacheKey(getDatabase(), sql); - synchronized (cStmt) { - cachedParamInfo = cStmt.paramInfo; - } + CallableStatement.CallableStatementParamInfo cachedParamInfo = this.parsedCallableStatementCache.get(key); + + if (cachedParamInfo != null) { + cStmt = CallableStatement.getInstance(getMultiHostSafeProxy(), cachedParamInfo); + } else { + cStmt = parseCallableStatement(sql); - this.parsedCallableStatementCache.put(key, cachedParamInfo); + synchronized (cStmt) { + cachedParamInfo = cStmt.paramInfo; + } + + this.parsedCallableStatementCache.put(key, cachedParamInfo); + } + } } - } - } - cStmt.setResultSetType(resultSetType); - cStmt.setResultSetConcurrency(resultSetConcurrency); + cStmt.setResultSetType(resultSetType); + cStmt.setResultSetConcurrency(resultSetConcurrency); - return cStmt; + String dbOperation = cStmt.getQueryInfo().getStatementKeyword(); + span.setAttribute(TelemetryAttribute.DB_NAME, getDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, dbOperation); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, dbOperation + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + + return cStmt; + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); + } + } } @Override @@ -1529,75 +1603,92 @@ public java.sql.PreparedStatement prepareStatement(String sql, int resultSetType synchronized (getConnectionMutex()) { checkClosed(); - // - // FIXME: Create warnings if can't create results of the given type or concurrency - // - ClientPreparedStatement pStmt = null; - - boolean canServerPrepare = true; - - String nativeSql = this.processEscapeCodesForPrepStmts.getValue() ? nativeSQL(sql) : sql; + TelemetrySpan span = this.session.getTelemetryHandler().startSpan(TelemetrySpanName.STMT_PREPARE); + try (TelemetryScope scope = span.makeCurrent()) { + // + // FIXME: Create warnings if can't create results of the given type or concurrency + // + ClientPreparedStatement pStmt = null; - if (this.useServerPrepStmts.getValue() && this.emulateUnsupportedPstmts.getValue()) { - canServerPrepare = canHandleAsServerPreparedStatement(nativeSql); - } + boolean canServerPrepare = true; - if (this.useServerPrepStmts.getValue() && canServerPrepare) { - if (this.cachePrepStmts.getValue()) { - synchronized (this.serverSideStatementCache) { - pStmt = this.serverSideStatementCache.remove(new CompoundCacheKey(this.database, sql)); + String nativeSql = this.processEscapeCodesForPrepStmts.getValue() ? nativeSQL(sql) : sql; - if (pStmt != null) { - ((com.mysql.cj.jdbc.ServerPreparedStatement) pStmt).setClosed(false); - pStmt.clearParameters(); - pStmt.setResultSetType(resultSetType); - pStmt.setResultSetConcurrency(resultSetConcurrency); - } + if (this.useServerPrepStmts.getValue() && this.emulateUnsupportedPstmts.getValue()) { + canServerPrepare = canHandleAsServerPreparedStatement(nativeSql); + } - if (pStmt == null) { - try { - pStmt = ServerPreparedStatement.getInstance(getMultiHostSafeProxy(), nativeSql, this.database, resultSetType, - resultSetConcurrency); - if (sql.length() < this.prepStmtCacheSqlLimit.getValue()) { - ((com.mysql.cj.jdbc.ServerPreparedStatement) pStmt).isCacheable = true; - } + if (this.useServerPrepStmts.getValue() && canServerPrepare) { + if (this.cachePrepStmts.getValue()) { + synchronized (this.serverSideStatementCache) { + pStmt = this.serverSideStatementCache.remove(new CompoundCacheKey(this.database, sql)); + if (pStmt != null) { + ((com.mysql.cj.jdbc.ServerPreparedStatement) pStmt).setClosed(false); + pStmt.clearParameters(); pStmt.setResultSetType(resultSetType); pStmt.setResultSetConcurrency(resultSetConcurrency); - } catch (SQLException sqlEx) { - // Punt, if necessary - if (this.emulateUnsupportedPstmts.getValue()) { - pStmt = (ClientPreparedStatement) clientPrepareStatement(nativeSql, resultSetType, resultSetConcurrency, false); + } + if (pStmt == null) { + try { + pStmt = ServerPreparedStatement.getInstance(getMultiHostSafeProxy(), nativeSql, this.database, resultSetType, + resultSetConcurrency); if (sql.length() < this.prepStmtCacheSqlLimit.getValue()) { - this.serverSideStatementCheckCache.put(sql, Boolean.FALSE); + ((com.mysql.cj.jdbc.ServerPreparedStatement) pStmt).isCacheable = true; + } + + pStmt.setResultSetType(resultSetType); + pStmt.setResultSetConcurrency(resultSetConcurrency); + } catch (SQLException sqlEx) { + // Punt, if necessary + if (this.emulateUnsupportedPstmts.getValue()) { + pStmt = (ClientPreparedStatement) clientPrepareStatement(nativeSql, resultSetType, resultSetConcurrency, false); + + if (sql.length() < this.prepStmtCacheSqlLimit.getValue()) { + this.serverSideStatementCheckCache.put(sql, Boolean.FALSE); + } + } else { + throw sqlEx; } - } else { - throw sqlEx; } } } - } - } else { - try { - pStmt = ServerPreparedStatement.getInstance(getMultiHostSafeProxy(), nativeSql, this.database, resultSetType, resultSetConcurrency); - - pStmt.setResultSetType(resultSetType); - pStmt.setResultSetConcurrency(resultSetConcurrency); - } catch (SQLException sqlEx) { - // Punt, if necessary - if (this.emulateUnsupportedPstmts.getValue()) { - pStmt = (ClientPreparedStatement) clientPrepareStatement(nativeSql, resultSetType, resultSetConcurrency, false); - } else { - throw sqlEx; + } else { + try { + pStmt = ServerPreparedStatement.getInstance(getMultiHostSafeProxy(), nativeSql, this.database, resultSetType, resultSetConcurrency); + + pStmt.setResultSetType(resultSetType); + pStmt.setResultSetConcurrency(resultSetConcurrency); + } catch (SQLException sqlEx) { + // Punt, if necessary + if (this.emulateUnsupportedPstmts.getValue()) { + pStmt = (ClientPreparedStatement) clientPrepareStatement(nativeSql, resultSetType, resultSetConcurrency, false); + } else { + throw sqlEx; + } } } + } else { + pStmt = (ClientPreparedStatement) clientPrepareStatement(nativeSql, resultSetType, resultSetConcurrency, false); } - } else { - pStmt = (ClientPreparedStatement) clientPrepareStatement(nativeSql, resultSetType, resultSetConcurrency, false); - } - return pStmt; + String dbOperation = pStmt.getQueryInfo().getStatementKeyword(); + span.setAttribute(TelemetryAttribute.DB_NAME, getDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, dbOperation); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, dbOperation + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + + return pStmt; + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); + } } } @@ -1690,6 +1781,7 @@ public void realClose(boolean calledExplicitly, boolean issueRollback, boolean s this.queryInterceptors = null; this.exceptionInterceptor = null; this.nullStatementResultSetFactory = null; + this.session.getTelemetryHandler().removeLinkTarget(this.connectionSpan); } if (sqlEx != null) { @@ -1752,12 +1844,28 @@ public void releaseSavepoint(Savepoint savepoint) throws SQLException { @Override public void resetServerState() throws SQLException { if (!this.propertySet.getBooleanProperty(PropertyKey.paranoid).getValue() && this.session != null) { - this.session.getServerSession().getCharsetSettings().configurePreHandshake(true); - this.session.resetSessionState(); - this.session.getServerSession().getCharsetSettings().configurePostHandshake(true); - this.session.setSessionVariables(); - handleAutoCommitDefaults(); - setupServerForTruncationChecks(); + TelemetrySpan span = this.session.getTelemetryHandler().startSpan(TelemetrySpanName.CONNECTION_RESET); + try (TelemetryScope scope = span.makeCurrent()) { + span.setAttribute(TelemetryAttribute.DB_CONNECTION_STRING, getURL()); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, getUser()); + span.setAttribute(TelemetryAttribute.SERVER_ADDRESS, this.origHostToConnectTo); + span.setAttribute(TelemetryAttribute.SERVER_PORT, this.origPortToConnectTo); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + + this.session.getServerSession().getCharsetSettings().configurePreHandshake(true); + this.session.resetSessionState(); + this.session.getServerSession().getCharsetSettings().configurePostHandshake(true); + this.session.setSessionVariables(); + handleAutoCommitDefaults(); + setupServerForTruncationChecks(); + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); + } } } @@ -1887,7 +1995,23 @@ private void rollbackNoChecks() throws SQLException { } } - this.session.execSQL(null, "rollback", -1, null, false, this.nullStatementResultSetFactory, null, false); + TelemetrySpan span = this.session.getTelemetryHandler().startSpan(TelemetrySpanName.ROLLBACK); + try (TelemetryScope scope = span.makeCurrent()) { + span.setAttribute(TelemetryAttribute.DB_NAME, getDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, TelemetryAttribute.OPERATION_ROLLBACK); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, TelemetryAttribute.OPERATION_ROLLBACK); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + + this.session.execSQL(null, "ROLLBACK", -1, null, false, this.nullStatementResultSetFactory, null, false); + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); + } } } @@ -1993,8 +2117,24 @@ void forEach(ConnectionLifecycleInterceptor each) throws SQLException { this.session.getServerSession().setAutoCommit(autoCommitFlag); if (needsSetOnServer) { - this.session.execSQL(null, autoCommitFlag ? "SET autocommit=1" : "SET autocommit=0", -1, null, false, this.nullStatementResultSetFactory, - null, false); + TelemetrySpan span = this.session.getTelemetryHandler().startSpan(TelemetrySpanName.SET_VARIABLE, "autocommit"); + try (TelemetryScope scope = span.makeCurrent()) { + span.setAttribute(TelemetryAttribute.DB_NAME, getDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, TelemetryAttribute.OPERATION_SET); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, TelemetryAttribute.OPERATION_SET + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + + this.session.execSQL(null, autoCommitFlag ? "SET autocommit=1" : "SET autocommit=0", -1, null, false, + this.nullStatementResultSetFactory, null, false); + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); + } } } catch (CJCommunicationsException e) { throw e; @@ -2059,14 +2199,30 @@ void forEach(ConnectionLifecycleInterceptor each) throws SQLException { } } - String quotedId = this.session.getIdentifierQuoteString(); + TelemetrySpan span = this.session.getTelemetryHandler().startSpan(TelemetrySpanName.USE_DATABASE); + try (TelemetryScope scope = span.makeCurrent()) { + span.setAttribute(TelemetryAttribute.DB_NAME, db); + span.setAttribute(TelemetryAttribute.DB_OPERATION, TelemetryAttribute.OPERATION_USE); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, TelemetryAttribute.OPERATION_USE + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + + String quotedId = this.session.getIdentifierQuoteString(); - StringBuilder query = new StringBuilder("USE "); - query.append(StringUtils.quoteIdentifier(db, quotedId, this.pedantic.getValue())); + StringBuilder query = new StringBuilder("USE "); + query.append(StringUtils.quoteIdentifier(db, quotedId, this.pedantic.getValue())); - this.session.execSQL(null, query.toString(), -1, null, false, this.nullStatementResultSetFactory, null, false); + this.session.execSQL(null, query.toString(), -1, null, false, this.nullStatementResultSetFactory, null, false); - this.database = db; + this.database = db; + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); + } } } @@ -2103,8 +2259,26 @@ public void setReadOnlyInternal(boolean readOnlyFlag) throws SQLException { // note this this is safe even inside a transaction if (this.readOnlyPropagatesToServer.getValue() && versionMeetsMinimum(5, 6, 5)) { if (!this.useLocalSessionState.getValue() || readOnlyFlag != this.readOnly) { - this.session.execSQL(null, "set session transaction " + (readOnlyFlag ? "read only" : "read write"), -1, null, false, - this.nullStatementResultSetFactory, null, false); + TelemetrySpan span = this.session.getTelemetryHandler().startSpan(TelemetrySpanName.SET_TRANSACTION_ACCESS_MODE, + readOnlyFlag ? "read-only" : "read-write"); + try (TelemetryScope scope = span.makeCurrent()) { + span.setAttribute(TelemetryAttribute.DB_NAME, getDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, TelemetryAttribute.OPERATION_SET); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, TelemetryAttribute.OPERATION_SET + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + + this.session.execSQL(null, "SET SESSION TRANSACTION " + (readOnlyFlag ? "READ ONLY" : "READ WRITE"), -1, null, false, + this.nullStatementResultSetFactory, null, false); + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); + } + } } @@ -2164,38 +2338,55 @@ public void setTransactionIsolation(int level) throws SQLException { } if (shouldSendSet) { - switch (level) { - case java.sql.Connection.TRANSACTION_NONE: - throw SQLError.createSQLException(Messages.getString("Connection.24"), getExceptionInterceptor()); + TelemetrySpan span = this.session.getTelemetryHandler().startSpan(TelemetrySpanName.SET_TRANSACTION_ISOLATION); + try (TelemetryScope scope = span.makeCurrent()) { + span.setAttribute(TelemetryAttribute.DB_NAME, getDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, TelemetryAttribute.OPERATION_SET); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, TelemetryAttribute.OPERATION_SET + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); - case java.sql.Connection.TRANSACTION_READ_COMMITTED: - sql = "SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED"; + switch (level) { + case java.sql.Connection.TRANSACTION_NONE: + throw SQLError.createSQLException(Messages.getString("Connection.24"), getExceptionInterceptor()); - break; + case java.sql.Connection.TRANSACTION_READ_COMMITTED: + sql = "SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED"; - case java.sql.Connection.TRANSACTION_READ_UNCOMMITTED: - sql = "SET SESSION TRANSACTION ISOLATION LEVEL READ UNCOMMITTED"; + break; - break; + case java.sql.Connection.TRANSACTION_READ_UNCOMMITTED: + sql = "SET SESSION TRANSACTION ISOLATION LEVEL READ UNCOMMITTED"; - case java.sql.Connection.TRANSACTION_REPEATABLE_READ: - sql = "SET SESSION TRANSACTION ISOLATION LEVEL REPEATABLE READ"; + break; - break; + case java.sql.Connection.TRANSACTION_REPEATABLE_READ: + sql = "SET SESSION TRANSACTION ISOLATION LEVEL REPEATABLE READ"; - case java.sql.Connection.TRANSACTION_SERIALIZABLE: - sql = "SET SESSION TRANSACTION ISOLATION LEVEL SERIALIZABLE"; + break; - break; + case java.sql.Connection.TRANSACTION_SERIALIZABLE: + sql = "SET SESSION TRANSACTION ISOLATION LEVEL SERIALIZABLE"; - default: - throw SQLError.createSQLException(Messages.getString("Connection.25", new Object[] { level }), - MysqlErrorNumbers.SQL_STATE_DRIVER_NOT_CAPABLE, getExceptionInterceptor()); - } + break; + + default: + throw SQLError.createSQLException(Messages.getString("Connection.25", new Object[] { level }), + MysqlErrorNumbers.SQL_STATE_DRIVER_NOT_CAPABLE, getExceptionInterceptor()); + } + + this.session.execSQL(null, sql, -1, null, false, this.nullStatementResultSetFactory, null, false); - this.session.execSQL(null, sql, -1, null, false, this.nullStatementResultSetFactory, null, false); + this.isolationLevel = level; + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); + } - this.isolationLevel = level; } } } @@ -2216,18 +2407,34 @@ private void setupServerForTruncationChecks() throws SQLException { boolean strictTransTablesIsSet = StringUtils.indexOfIgnoreCase(currentSqlMode, "STRICT_TRANS_TABLES") != -1; if (currentSqlMode == null || currentSqlMode.length() == 0 || !strictTransTablesIsSet) { - StringBuilder commandBuf = new StringBuilder("SET sql_mode='"); - - if (currentSqlMode != null && currentSqlMode.length() > 0) { - commandBuf.append(currentSqlMode); - commandBuf.append(","); - } + TelemetrySpan span = this.session.getTelemetryHandler().startSpan(TelemetrySpanName.SET_VARIABLE, "sql_mode"); + try (TelemetryScope scope = span.makeCurrent()) { + span.setAttribute(TelemetryAttribute.DB_NAME, getDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, TelemetryAttribute.OPERATION_SET); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, TelemetryAttribute.OPERATION_SET + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + + StringBuilder commandBuf = new StringBuilder("SET sql_mode='"); + + if (currentSqlMode != null && currentSqlMode.length() > 0) { + commandBuf.append(currentSqlMode); + commandBuf.append(","); + } - commandBuf.append("STRICT_TRANS_TABLES'"); + commandBuf.append("STRICT_TRANS_TABLES'"); - this.session.execSQL(null, commandBuf.toString(), -1, null, false, this.nullStatementResultSetFactory, null, false); + this.session.execSQL(null, commandBuf.toString(), -1, null, false, this.nullStatementResultSetFactory, null, false); - jdbcCompliantTruncation.setValue(false); // server's handling this for us now + jdbcCompliantTruncation.setValue(false); // server's handling this for us now + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); + } } else if (strictTransTablesIsSet) { // We didn't set it, but someone did, so we piggy back on it jdbcCompliantTruncation.setValue(false); // server's handling this for us now @@ -2300,12 +2507,12 @@ public void initializeResultsMetadataFromCache(String sql, CachedResultSetMetaDa @Override public String getStatementComment() { - return this.session.getProtocol().getQueryComment(); + return this.session.getQueryComment(); } @Override public void setStatementComment(String comment) { - this.session.getProtocol().setQueryComment(comment); + this.session.setQueryComment(comment); } @Override @@ -2362,9 +2569,26 @@ public void setSessionMaxRows(int max) throws SQLException { synchronized (getConnectionMutex()) { checkClosed(); if (this.session.getSessionMaxRows() != max) { - this.session.setSessionMaxRows(max); - this.session.execSQL(null, "SET SQL_SELECT_LIMIT=" + (this.session.getSessionMaxRows() == -1 ? "DEFAULT" : this.session.getSessionMaxRows()), - -1, null, false, this.nullStatementResultSetFactory, null, false); + TelemetrySpan span = this.session.getTelemetryHandler().startSpan(TelemetrySpanName.SET_VARIABLE, "sql_select_limit"); + try (TelemetryScope scope = span.makeCurrent()) { + span.setAttribute(TelemetryAttribute.DB_NAME, getDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, TelemetryAttribute.OPERATION_SET); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, TelemetryAttribute.OPERATION_SET + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + + this.session.setSessionMaxRows(max); + this.session.execSQL(null, + "SET sql_select_limit=" + (this.session.getSessionMaxRows() == -1 ? "DEFAULT" : this.session.getSessionMaxRows()), -1, null, false, + this.nullStatementResultSetFactory, null, false); + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); + } } } } diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/DatabaseMetaData.java b/src/main/user-impl/java/com/mysql/cj/jdbc/DatabaseMetaData.java index 22cc07e6b..e0e0631cd 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/DatabaseMetaData.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/DatabaseMetaData.java @@ -47,6 +47,7 @@ import com.mysql.cj.Messages; import com.mysql.cj.MysqlType; import com.mysql.cj.NativeSession; +import com.mysql.cj.QueryInfo; import com.mysql.cj.conf.PropertyDefinitions.DatabaseTerm; import com.mysql.cj.conf.PropertyKey; import com.mysql.cj.conf.RuntimeProperty; @@ -63,6 +64,10 @@ import com.mysql.cj.result.DefaultColumnDefinition; import com.mysql.cj.result.Field; import com.mysql.cj.result.Row; +import com.mysql.cj.telemetry.TelemetryAttribute; +import com.mysql.cj.telemetry.TelemetryScope; +import com.mysql.cj.telemetry.TelemetrySpan; +import com.mysql.cj.telemetry.TelemetrySpanName; import com.mysql.cj.util.SearchMode; import com.mysql.cj.util.StringUtils; @@ -4948,16 +4953,33 @@ public boolean supportsStoredFunctionsUsingCallSyntax() throws SQLException { * if a database access error occurs */ protected java.sql.PreparedStatement prepareMetaDataSafeStatement(String sql) throws SQLException { - // Can't use server-side here as we coerce a lot of types to match the spec. - java.sql.PreparedStatement pStmt = this.conn.clientPrepareStatement(sql, ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY); - - if (pStmt.getMaxRows() != 0) { - pStmt.setMaxRows(0); - } + TelemetrySpan span = this.session.getTelemetryHandler().startSpan(TelemetrySpanName.STMT_PREPARE); + try (TelemetryScope scope = span.makeCurrent()) { + String dbOperation = QueryInfo.getStatementKeyword(sql, this.session.getServerSession().isNoBackslashEscapesSet()); + span.setAttribute(TelemetryAttribute.DB_NAME, this.conn.getDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, dbOperation); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, dbOperation + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, this.conn.getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + + // Can't use server-side here as we coerce a lot of types to match the spec. + java.sql.PreparedStatement pStmt = this.conn.clientPrepareStatement(sql, ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY); + + if (pStmt.getMaxRows() != 0) { + pStmt.setMaxRows(0); + } - ((com.mysql.cj.jdbc.JdbcStatement) pStmt).setHoldResultsOpenOverClose(true); + ((com.mysql.cj.jdbc.JdbcStatement) pStmt).setHoldResultsOpenOverClose(true); - return pStmt; + return pStmt; + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); + } } @Override diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/ServerPreparedStatement.java b/src/main/user-impl/java/com/mysql/cj/jdbc/ServerPreparedStatement.java index a2c405a70..7cdb924fa 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/ServerPreparedStatement.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/ServerPreparedStatement.java @@ -36,6 +36,7 @@ import com.mysql.cj.QueryBindings; import com.mysql.cj.QueryInfo; import com.mysql.cj.ServerPreparedQuery; +import com.mysql.cj.Session; import com.mysql.cj.conf.PropertyKey; import com.mysql.cj.exceptions.CJException; import com.mysql.cj.exceptions.ExceptionFactory; @@ -50,6 +51,10 @@ import com.mysql.cj.jdbc.result.ResultSetMetaData; import com.mysql.cj.protocol.ColumnDefinition; import com.mysql.cj.protocol.Message; +import com.mysql.cj.telemetry.TelemetryAttribute; +import com.mysql.cj.telemetry.TelemetryScope; +import com.mysql.cj.telemetry.TelemetrySpan; +import com.mysql.cj.telemetry.TelemetrySpanName; /** * JDBC Interface for MySQL-4.1 and newer server-side PreparedStatements. @@ -110,7 +115,7 @@ protected ServerPreparedStatement(JdbcConnection conn, String sql, String db, in super(conn, db); checkNullOrEmptyQuery(sql); - String statementComment = this.session.getProtocol().getQueryComment(); + String statementComment = this.session.getQueryComment(); PreparedQuery prepQuery = (PreparedQuery) this.query; prepQuery.setOriginalSql(statementComment == null ? sql : "/* " + statementComment + " */ " + sql); prepQuery.setQueryInfo(new QueryInfo(prepQuery.getOriginalSql(), this.session, this.charEncoding)); @@ -438,6 +443,10 @@ public void realClose(boolean calledExplicitly, boolean closeOpenResults) throws this.isCached = false; } + // Make a copy of variables needed for telemetry work before they get nulled. + Session sessionLocalCopy = this.session; + String user = this.connection.getUser(); + super.realClose(calledExplicitly, closeOpenResults); ((ServerPreparedQuery) this.query).clearParameters(false); @@ -445,11 +454,28 @@ public void realClose(boolean calledExplicitly, boolean closeOpenResults) throws // Finally deallocate the prepared statement. if (calledExplicitly && !locallyScopedConn.isClosed()) { synchronized (locallyScopedConn.getConnectionMutex()) { - try { - ((NativeSession) locallyScopedConn.getSession()).getProtocol().sendCommand( - this.commandBuilder.buildComStmtClose(null, ((ServerPreparedQuery) this.query).getServerStatementId()), true, 0); - } catch (CJException sqlEx) { - exceptionDuringClose = sqlEx; + TelemetrySpan span = sessionLocalCopy.getTelemetryHandler().startSpan(TelemetrySpanName.STMT_DEALLOCATE_PREPARED); + try (TelemetryScope scope = span.makeCurrent()) { + String dbOperation = getQueryInfo().getStatementKeyword(); + span.setAttribute(TelemetryAttribute.DB_NAME, getCurrentDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, dbOperation); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, dbOperation + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, user); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + + try { + ((NativeSession) locallyScopedConn.getSession()).getProtocol().sendCommand( + this.commandBuilder.buildComStmtClose(null, ((ServerPreparedQuery) this.query).getServerStatementId()), true, 0); + } catch (CJException sqlEx) { + exceptionDuringClose = sqlEx; + } + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); } } } @@ -470,41 +496,59 @@ public void realClose(boolean calledExplicitly, boolean closeOpenResults) throws */ protected void rePrepare() { synchronized (checkClosed().getConnectionMutex()) { - this.invalidationException = null; - try { - serverPrepare(((PreparedQuery) this.query).getOriginalSql()); - } catch (Exception ex) { - this.invalidationException = ExceptionFactory.createException(ex.getMessage(), ex); - } + TelemetrySpan span = this.session.getTelemetryHandler().startSpan(TelemetrySpanName.STMT_PREPARE); + try (TelemetryScope scope = span.makeCurrent()) { + String dbOperation = getQueryInfo().getStatementKeyword(); + span.setAttribute(TelemetryAttribute.DB_NAME, getCurrentDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, dbOperation); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, dbOperation + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, this.connection.getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); - if (this.invalidationException != null) { - this.invalid = true; + this.invalidationException = null; - this.query.closeQuery(); + try { + serverPrepare(((PreparedQuery) this.query).getOriginalSql()); + } catch (Exception ex) { + this.invalidationException = ExceptionFactory.createException(ex.getMessage(), ex); + } - if (this.results != null) { - try { - this.results.close(); - } catch (Exception ex) { + if (this.invalidationException != null) { + this.invalid = true; + + this.query.closeQuery(); + + if (this.results != null) { + try { + this.results.close(); + } catch (Exception ex) { + } } - } - if (this.generatedKeysResults != null) { - try { - this.generatedKeysResults.close(); - } catch (Exception ex) { + if (this.generatedKeysResults != null) { + try { + this.generatedKeysResults.close(); + } catch (Exception ex) { + } } - } - try { - closeAllOpenResults(); - } catch (Exception e) { - } + try { + closeAllOpenResults(); + } catch (Exception e) { + } - if (this.connection != null && !this.dontTrackOpenResources.getValue()) { - this.connection.unregisterStatement(this); + if (this.connection != null && !this.dontTrackOpenResources.getValue()) { + this.connection.unregisterStatement(this); + } } + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); } } } diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/StatementImpl.java b/src/main/user-impl/java/com/mysql/cj/jdbc/StatementImpl.java index ef92b41c9..673daf247 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/StatementImpl.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/StatementImpl.java @@ -79,6 +79,10 @@ import com.mysql.cj.result.DefaultColumnDefinition; import com.mysql.cj.result.Field; import com.mysql.cj.result.Row; +import com.mysql.cj.telemetry.TelemetryAttribute; +import com.mysql.cj.telemetry.TelemetryScope; +import com.mysql.cj.telemetry.TelemetrySpan; +import com.mysql.cj.telemetry.TelemetrySpanName; import com.mysql.cj.util.StringUtils; import com.mysql.cj.util.Util; @@ -290,20 +294,37 @@ public void cancel() throws SQLException { String user = hostInfo.getUser(); String password = hostInfo.getPassword(); newSession = new NativeSession(this.session.getHostInfo(), this.session.getPropertySet()); - newSession.connect(hostInfo, user, password, database, 30000, new TransactionEventHandler() { - @Override - public void transactionCompleted() { - } + TelemetrySpan span = newSession.getTelemetryHandler().startSpan(TelemetrySpanName.CANCEL_QUERY); + try (TelemetryScope scope = span.makeCurrent()) { + span.setAttribute(TelemetryAttribute.DB_NAME, database); + span.setAttribute(TelemetryAttribute.DB_OPERATION, TelemetryAttribute.OPERATION_KILL); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, TelemetryAttribute.OPERATION_KILL + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, user); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); - @Override - public void transactionBegun() { - } + newSession.connect(hostInfo, user, password, database, 30000, new TransactionEventHandler() { + + @Override + public void transactionCompleted() { + } - }); - newSession.getProtocol().sendCommand(new NativeMessageBuilder(newSession.getServerSession().supportsQueryAttributes()) - .buildComQuery(newSession.getSharedSendPacket(), "KILL QUERY " + this.session.getThreadId()), false, 0); - setCancelStatus(CancelStatus.CANCELED_BY_USER); + @Override + public void transactionBegun() { + } + + }); + newSession.getProtocol().sendCommand(new NativeMessageBuilder(newSession.getServerSession().supportsQueryAttributes()) + .buildComQuery(newSession.getSharedSendPacket(), newSession, "KILL QUERY " + this.session.getThreadId()), false, 0); + setCancelStatus(CancelStatus.CANCELED_BY_USER); + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); + } } catch (IOException e) { throw SQLExceptionsMapping.translateException(e, this.exceptionInterceptor); } finally { @@ -625,7 +646,23 @@ protected void setupStreamingTimeout(JdbcConnection con) throws SQLException { int netTimeoutForStreamingResults = this.session.getPropertySet().getIntegerProperty(PropertyKey.netTimeoutForStreamingResults).getValue(); if (createStreamingResultSet() && netTimeoutForStreamingResults > 0) { - executeSimpleNonQuery(con, "SET net_write_timeout=" + netTimeoutForStreamingResults); + TelemetrySpan span = this.session.getTelemetryHandler().startSpan(TelemetrySpanName.SET_VARIABLE, "net_write_timeout"); + try (TelemetryScope scope = span.makeCurrent()) { + span.setAttribute(TelemetryAttribute.DB_NAME, this.getCurrentDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, TelemetryAttribute.OPERATION_SET); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, TelemetryAttribute.OPERATION_SET + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, this.connection.getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + + executeSimpleNonQuery(con, "SET net_write_timeout=" + netTimeoutForStreamingResults); + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); + } } } @@ -644,119 +681,150 @@ public boolean execute(String sql) throws SQLException { return executeInternal(sql, false); } + @Override + public boolean execute(String sql, int returnGeneratedKeys) throws SQLException { + return executeInternal(sql, returnGeneratedKeys == java.sql.Statement.RETURN_GENERATED_KEYS); + } + + @Override + public boolean execute(String sql, int[] generatedKeyIndices) throws SQLException { + return executeInternal(sql, generatedKeyIndices != null && generatedKeyIndices.length > 0); + } + + @Override + public boolean execute(String sql, String[] generatedKeyNames) throws SQLException { + return executeInternal(sql, generatedKeyNames != null && generatedKeyNames.length > 0); + } + private boolean executeInternal(String sql, boolean returnGeneratedKeys) throws SQLException { JdbcConnection locallyScopedConn = checkClosed(); synchronized (locallyScopedConn.getConnectionMutex()) { checkClosed(); - checkNullOrEmptyQuery(sql); + TelemetrySpan span = getSession().getTelemetryHandler().startSpan(TelemetrySpanName.STMT_EXECUTE); + try (TelemetryScope scope = span.makeCurrent()) { + String dbOperation = QueryInfo.getStatementKeyword(sql, this.session.getServerSession().isNoBackslashEscapesSet()); + span.setAttribute(TelemetryAttribute.DB_NAME, getCurrentDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, dbOperation); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, dbOperation + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, this.connection.getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + checkNullOrEmptyQuery(sql); - resetCancelledState(); + resetCancelledState(); - implicitlyCloseAllOpenResults(); + implicitlyCloseAllOpenResults(); - clearWarnings(); + clearWarnings(); - if (sql.charAt(0) == '/') { - if (sql.startsWith(PING_MARKER)) { - doPingInstead(); + if (sql.charAt(0) == '/') { + if (sql.startsWith(PING_MARKER)) { + doPingInstead(); - return true; + return true; + } } - } - this.retrieveGeneratedKeys = returnGeneratedKeys; + this.retrieveGeneratedKeys = returnGeneratedKeys; - this.lastQueryIsOnDupKeyUpdate = returnGeneratedKeys - && QueryInfo.firstCharOfStatementUc(sql, this.session.getServerSession().isNoBackslashEscapesSet()) == 'I' - && containsOnDuplicateKeyInString(sql); + this.lastQueryIsOnDupKeyUpdate = returnGeneratedKeys + && QueryInfo.firstCharOfStatementUc(sql, this.session.getServerSession().isNoBackslashEscapesSet()) == 'I' + && containsOnDuplicateKeyInString(sql); - if (!QueryInfo.isReadOnlySafeQuery(sql, this.session.getServerSession().isNoBackslashEscapesSet()) && locallyScopedConn.isReadOnly()) { - throw SQLError.createSQLException(Messages.getString("Statement.27") + Messages.getString("Statement.28"), - MysqlErrorNumbers.SQL_STATE_ILLEGAL_ARGUMENT, getExceptionInterceptor()); - } + if (!QueryInfo.isReadOnlySafeQuery(sql, this.session.getServerSession().isNoBackslashEscapesSet()) && locallyScopedConn.isReadOnly()) { + throw SQLError.createSQLException(Messages.getString("Statement.27") + Messages.getString("Statement.28"), + MysqlErrorNumbers.SQL_STATE_ILLEGAL_ARGUMENT, getExceptionInterceptor()); + } - try { - setupStreamingTimeout(locallyScopedConn); + try { + setupStreamingTimeout(locallyScopedConn); - if (this.doEscapeProcessing) { - Object escapedSqlResult = EscapeProcessor.escapeSQL(sql, this.session.getServerSession().getSessionTimeZone(), - this.session.getServerSession().getCapabilities().serverSupportsFracSecs(), - this.session.getServerSession().isServerTruncatesFracSecs(), getExceptionInterceptor()); - sql = escapedSqlResult instanceof String ? (String) escapedSqlResult : ((EscapeProcessorResult) escapedSqlResult).escapedSql; - } + if (this.doEscapeProcessing) { + Object escapedSqlResult = EscapeProcessor.escapeSQL(sql, this.session.getServerSession().getSessionTimeZone(), + this.session.getServerSession().getCapabilities().serverSupportsFracSecs(), + this.session.getServerSession().isServerTruncatesFracSecs(), getExceptionInterceptor()); + sql = escapedSqlResult instanceof String ? (String) escapedSqlResult : ((EscapeProcessorResult) escapedSqlResult).escapedSql; + } - CachedResultSetMetaData cachedMetaData = null; + CachedResultSetMetaData cachedMetaData = null; - ResultSetInternalMethods rs = null; + ResultSetInternalMethods rs = null; - this.batchedGeneratedKeys = null; + this.batchedGeneratedKeys = null; - if (useServerFetch()) { - rs = createResultSetUsingServerFetch(sql); - } else { - CancelQueryTask timeoutTask = null; + if (useServerFetch()) { + rs = createResultSetUsingServerFetch(sql); + } else { + CancelQueryTask timeoutTask = null; - String oldDb = null; + String oldDb = null; - try { - timeoutTask = startQueryTimer(this, getTimeoutInMillis()); + try { + timeoutTask = startQueryTimer(this, getTimeoutInMillis()); - if (!locallyScopedConn.getDatabase().equals(getCurrentDatabase())) { - oldDb = locallyScopedConn.getDatabase(); - locallyScopedConn.setDatabase(getCurrentDatabase()); - } + if (!locallyScopedConn.getDatabase().equals(getCurrentDatabase())) { + oldDb = locallyScopedConn.getDatabase(); + locallyScopedConn.setDatabase(getCurrentDatabase()); + } - // Check if we have cached metadata for this query... - if (locallyScopedConn.getPropertySet().getBooleanProperty(PropertyKey.cacheResultSetMetadata).getValue()) { - cachedMetaData = locallyScopedConn.getCachedMetaData(sql); - } + // Check if we have cached metadata for this query... + if (locallyScopedConn.getPropertySet().getBooleanProperty(PropertyKey.cacheResultSetMetadata).getValue()) { + cachedMetaData = locallyScopedConn.getCachedMetaData(sql); + } - // Only apply max_rows to selects - locallyScopedConn.setSessionMaxRows(isResultSetProducingQuery(sql) ? this.maxRows : -1); + // Only apply max_rows to selects + locallyScopedConn.setSessionMaxRows(isResultSetProducingQuery(sql) ? this.maxRows : -1); - statementBegins(); + statementBegins(); - rs = ((NativeSession) locallyScopedConn.getSession()).execSQL(this, sql, this.maxRows, null, createStreamingResultSet(), - getResultSetFactory(), cachedMetaData, false); + rs = ((NativeSession) locallyScopedConn.getSession()).execSQL(this, sql, this.maxRows, null, createStreamingResultSet(), + getResultSetFactory(), cachedMetaData, false); - if (timeoutTask != null) { - stopQueryTimer(timeoutTask, true, true); - timeoutTask = null; - } + if (timeoutTask != null) { + stopQueryTimer(timeoutTask, true, true); + timeoutTask = null; + } - } catch (CJTimeoutException | OperationCancelledException e) { - throw SQLExceptionsMapping.translateException(e, this.exceptionInterceptor); + } catch (CJTimeoutException | OperationCancelledException e) { + throw SQLExceptionsMapping.translateException(e, this.exceptionInterceptor); - } finally { - stopQueryTimer(timeoutTask, false, false); + } finally { + stopQueryTimer(timeoutTask, false, false); - if (oldDb != null) { - locallyScopedConn.setDatabase(oldDb); + if (oldDb != null) { + locallyScopedConn.setDatabase(oldDb); + } } } - } - if (rs != null) { - this.lastInsertId = rs.getUpdateID(); + if (rs != null) { + this.lastInsertId = rs.getUpdateID(); - this.results = rs; + this.results = rs; - rs.setFirstCharOfQuery(QueryInfo.firstCharOfStatementUc(sql, this.session.getServerSession().isNoBackslashEscapesSet())); + rs.setFirstCharOfQuery(QueryInfo.firstCharOfStatementUc(sql, this.session.getServerSession().isNoBackslashEscapesSet())); - if (rs.hasRows()) { - if (cachedMetaData != null) { - locallyScopedConn.initializeResultsMetadataFromCache(sql, cachedMetaData, this.results); - } else if (this.session.getPropertySet().getBooleanProperty(PropertyKey.cacheResultSetMetadata).getValue()) { - locallyScopedConn.initializeResultsMetadataFromCache(sql, null /* will be created */, this.results); + if (rs.hasRows()) { + if (cachedMetaData != null) { + locallyScopedConn.initializeResultsMetadataFromCache(sql, cachedMetaData, this.results); + } else if (this.session.getPropertySet().getBooleanProperty(PropertyKey.cacheResultSetMetadata).getValue()) { + locallyScopedConn.initializeResultsMetadataFromCache(sql, null /* will be created */, this.results); + } } } - } - return rs != null && rs.hasRows(); + return rs != null && rs.hasRows(); + } finally { + this.query.getStatementExecuting().set(false); + } + } catch (Throwable t) { + span.setError(t); + throw t; } finally { - this.query.getStatementExecuting().set(false); + span.end(); } } } @@ -773,21 +841,6 @@ public void resetCancelledState() { } } - @Override - public boolean execute(String sql, int returnGeneratedKeys) throws SQLException { - return executeInternal(sql, returnGeneratedKeys == java.sql.Statement.RETURN_GENERATED_KEYS); - } - - @Override - public boolean execute(String sql, int[] generatedKeyIndices) throws SQLException { - return executeInternal(sql, generatedKeyIndices != null && generatedKeyIndices.length > 0); - } - - @Override - public boolean execute(String sql, String[] generatedKeyNames) throws SQLException { - return executeInternal(sql, generatedKeyNames != null && generatedKeyNames.length > 0); - } - @Override public int[] executeBatch() throws SQLException { return Util.truncateAndConvertToInt(executeBatchInternal()); @@ -797,118 +850,134 @@ protected long[] executeBatchInternal() throws SQLException { JdbcConnection locallyScopedConn = checkClosed(); synchronized (locallyScopedConn.getConnectionMutex()) { - if (locallyScopedConn.isReadOnly()) { - throw SQLError.createSQLException(Messages.getString("Statement.34") + Messages.getString("Statement.35"), - MysqlErrorNumbers.SQL_STATE_ILLEGAL_ARGUMENT, getExceptionInterceptor()); - } + TelemetrySpan span = getSession().getTelemetryHandler().startSpan(TelemetrySpanName.STMT_EXECUTE_BATCH); + try (TelemetryScope scope = span.makeCurrent()) { + span.setAttribute(TelemetryAttribute.DB_NAME, getCurrentDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, TelemetryAttribute.OPERATION_BATCH); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, TelemetryAttribute.OPERATION_BATCH); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, this.connection.getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + + if (locallyScopedConn.isReadOnly()) { + throw SQLError.createSQLException(Messages.getString("Statement.34") + Messages.getString("Statement.35"), + MysqlErrorNumbers.SQL_STATE_ILLEGAL_ARGUMENT, getExceptionInterceptor()); + } - implicitlyCloseAllOpenResults(); + implicitlyCloseAllOpenResults(); - List batchedArgs = this.query.getBatchedArgs(); + List batchedArgs = this.query.getBatchedArgs(); - if (batchedArgs == null || batchedArgs.size() == 0) { - return new long[0]; - } + if (batchedArgs == null || batchedArgs.size() == 0) { + return new long[0]; + } - // we timeout the entire batch, not individual statements - long individualStatementTimeout = getTimeoutInMillis(); - setTimeoutInMillis(0); + // we timeout the entire batch, not individual statements + long individualStatementTimeout = getTimeoutInMillis(); + setTimeoutInMillis(0); - CancelQueryTask timeoutTask = null; + CancelQueryTask timeoutTask = null; - try { - resetCancelledState(); + try { + resetCancelledState(); - statementBegins(); + statementBegins(); - clearWarnings(); + clearWarnings(); - try { - this.retrieveGeneratedKeys = true; // The JDBC spec doesn't forbid this, but doesn't provide for it either...we do.. + try { + this.retrieveGeneratedKeys = true; // The JDBC spec doesn't forbid this, but doesn't provide for it either...we do.. - long[] updateCounts = null; + long[] updateCounts = null; - if (batchedArgs != null) { - int nbrCommands = batchedArgs.size(); + if (batchedArgs != null) { + int nbrCommands = batchedArgs.size(); - this.batchedGeneratedKeys = new ArrayList<>(batchedArgs.size()); + this.batchedGeneratedKeys = new ArrayList<>(batchedArgs.size()); - boolean multiQueriesEnabled = locallyScopedConn.getPropertySet().getBooleanProperty(PropertyKey.allowMultiQueries).getValue(); + boolean multiQueriesEnabled = locallyScopedConn.getPropertySet().getBooleanProperty(PropertyKey.allowMultiQueries).getValue(); - if (multiQueriesEnabled || this.rewriteBatchedStatements.getValue() && nbrCommands > 4) { - return executeBatchUsingMultiQueries(multiQueriesEnabled, nbrCommands, individualStatementTimeout); - } - - timeoutTask = startQueryTimer(this, individualStatementTimeout); + if (multiQueriesEnabled || this.rewriteBatchedStatements.getValue() && nbrCommands > 4) { + return executeBatchUsingMultiQueries(multiQueriesEnabled, nbrCommands, individualStatementTimeout); + } - updateCounts = new long[nbrCommands]; + timeoutTask = startQueryTimer(this, individualStatementTimeout); - for (int i = 0; i < nbrCommands; i++) { - updateCounts[i] = -3; - } + updateCounts = new long[nbrCommands]; - SQLException sqlEx = null; + for (int i = 0; i < nbrCommands; i++) { + updateCounts[i] = -3; + } - int commandIndex = 0; + SQLException sqlEx = null; - for (commandIndex = 0; commandIndex < nbrCommands; commandIndex++) { - try { - String sql = (String) batchedArgs.get(commandIndex); - updateCounts[commandIndex] = executeUpdateInternal(sql, true, true); + int commandIndex = 0; - if (timeoutTask != null) { - // we need to check the cancel state on each iteration to generate timeout exception if needed - checkCancelTimeout(); - } + for (commandIndex = 0; commandIndex < nbrCommands; commandIndex++) { + try { + String sql = (String) batchedArgs.get(commandIndex); + updateCounts[commandIndex] = executeUpdateInternal(sql, true, true); - // limit one generated key per OnDuplicateKey statement - getBatchedGeneratedKeys(this.results.getFirstCharOfQuery() == 'I' && containsOnDuplicateKeyInString(sql) ? 1 : 0); - } catch (SQLException ex) { - updateCounts[commandIndex] = EXECUTE_FAILED; + if (timeoutTask != null) { + // we need to check the cancel state on each iteration to generate timeout exception if needed + checkCancelTimeout(); + } - if (this.continueBatchOnError && !(ex instanceof MySQLTimeoutException) && !(ex instanceof MySQLStatementCancelledException) - && !hasDeadlockOrTimeoutRolledBackTx(ex)) { - sqlEx = ex; - } else { - long[] newUpdateCounts = new long[commandIndex]; + // limit one generated key per OnDuplicateKey statement + getBatchedGeneratedKeys(this.results.getFirstCharOfQuery() == 'I' && containsOnDuplicateKeyInString(sql) ? 1 : 0); + } catch (SQLException ex) { + updateCounts[commandIndex] = EXECUTE_FAILED; - if (hasDeadlockOrTimeoutRolledBackTx(ex)) { - for (int i = 0; i < newUpdateCounts.length; i++) { - newUpdateCounts[i] = java.sql.Statement.EXECUTE_FAILED; - } + if (this.continueBatchOnError && !(ex instanceof MySQLTimeoutException) && !(ex instanceof MySQLStatementCancelledException) + && !hasDeadlockOrTimeoutRolledBackTx(ex)) { + sqlEx = ex; } else { - System.arraycopy(updateCounts, 0, newUpdateCounts, 0, commandIndex); - } + long[] newUpdateCounts = new long[commandIndex]; + + if (hasDeadlockOrTimeoutRolledBackTx(ex)) { + for (int i = 0; i < newUpdateCounts.length; i++) { + newUpdateCounts[i] = java.sql.Statement.EXECUTE_FAILED; + } + } else { + System.arraycopy(updateCounts, 0, newUpdateCounts, 0, commandIndex); + } - sqlEx = ex; - break; - //throw SQLError.createBatchUpdateException(ex, newUpdateCounts, getExceptionInterceptor()); + sqlEx = ex; + break; + //throw SQLError.createBatchUpdateException(ex, newUpdateCounts, getExceptionInterceptor()); + } } } + + if (sqlEx != null) { + throw SQLError.createBatchUpdateException(sqlEx, updateCounts, getExceptionInterceptor()); + } } - if (sqlEx != null) { - throw SQLError.createBatchUpdateException(sqlEx, updateCounts, getExceptionInterceptor()); + if (timeoutTask != null) { + stopQueryTimer(timeoutTask, true, true); + timeoutTask = null; } - } - if (timeoutTask != null) { - stopQueryTimer(timeoutTask, true, true); - timeoutTask = null; + return updateCounts != null ? updateCounts : new long[0]; + } finally { + this.query.getStatementExecuting().set(false); } - - return updateCounts != null ? updateCounts : new long[0]; } finally { - this.query.getStatementExecuting().set(false); - } - } finally { - stopQueryTimer(timeoutTask, false, false); - resetCancelledState(); + stopQueryTimer(timeoutTask, false, false); + resetCancelledState(); - setTimeoutInMillis(individualStatementTimeout); + setTimeoutInMillis(individualStatementTimeout); - clearBatch(); + clearBatch(); + } + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); } } } @@ -1102,97 +1171,115 @@ protected SQLException handleExceptionForBatch(int endOfBatchIndex, int numValue @Override public java.sql.ResultSet executeQuery(String sql) throws SQLException { synchronized (checkClosed().getConnectionMutex()) { - JdbcConnection locallyScopedConn = this.connection; + TelemetrySpan span = getSession().getTelemetryHandler().startSpan(TelemetrySpanName.STMT_EXECUTE); + try (TelemetryScope scope = span.makeCurrent()) { + String dbOperation = QueryInfo.getStatementKeyword(sql, this.session.getServerSession().isNoBackslashEscapesSet()); + span.setAttribute(TelemetryAttribute.DB_NAME, getCurrentDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, dbOperation); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, dbOperation + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, this.connection.getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); + + JdbcConnection locallyScopedConn = this.connection; - this.retrieveGeneratedKeys = false; + this.retrieveGeneratedKeys = false; - checkNullOrEmptyQuery(sql); + checkNullOrEmptyQuery(sql); - resetCancelledState(); + resetCancelledState(); - implicitlyCloseAllOpenResults(); + implicitlyCloseAllOpenResults(); - clearWarnings(); + clearWarnings(); - if (sql.charAt(0) == '/') { - if (sql.startsWith(PING_MARKER)) { - doPingInstead(); + if (sql.charAt(0) == '/') { + if (sql.startsWith(PING_MARKER)) { + doPingInstead(); - return this.results; + return this.results; + } } - } - setupStreamingTimeout(locallyScopedConn); + setupStreamingTimeout(locallyScopedConn); - if (this.doEscapeProcessing) { - Object escapedSqlResult = EscapeProcessor.escapeSQL(sql, this.session.getServerSession().getSessionTimeZone(), - this.session.getServerSession().getCapabilities().serverSupportsFracSecs(), this.session.getServerSession().isServerTruncatesFracSecs(), - getExceptionInterceptor()); - sql = escapedSqlResult instanceof String ? (String) escapedSqlResult : ((EscapeProcessorResult) escapedSqlResult).escapedSql; - } + if (this.doEscapeProcessing) { + Object escapedSqlResult = EscapeProcessor.escapeSQL(sql, this.session.getServerSession().getSessionTimeZone(), + this.session.getServerSession().getCapabilities().serverSupportsFracSecs(), + this.session.getServerSession().isServerTruncatesFracSecs(), getExceptionInterceptor()); + sql = escapedSqlResult instanceof String ? (String) escapedSqlResult : ((EscapeProcessorResult) escapedSqlResult).escapedSql; + } - if (!isResultSetProducingQuery(sql)) { - throw SQLError.createSQLException(Messages.getString("Statement.57"), MysqlErrorNumbers.SQL_STATE_ILLEGAL_ARGUMENT, getExceptionInterceptor()); - } + if (!isResultSetProducingQuery(sql)) { + throw SQLError.createSQLException(Messages.getString("Statement.57"), MysqlErrorNumbers.SQL_STATE_ILLEGAL_ARGUMENT, + getExceptionInterceptor()); + } - CachedResultSetMetaData cachedMetaData = null; + CachedResultSetMetaData cachedMetaData = null; - if (useServerFetch()) { - this.results = createResultSetUsingServerFetch(sql); + if (useServerFetch()) { + this.results = createResultSetUsingServerFetch(sql); - return this.results; - } + return this.results; + } - CancelQueryTask timeoutTask = null; + CancelQueryTask timeoutTask = null; - String oldDb = null; + String oldDb = null; - try { - timeoutTask = startQueryTimer(this, getTimeoutInMillis()); + try { + timeoutTask = startQueryTimer(this, getTimeoutInMillis()); - if (!locallyScopedConn.getDatabase().equals(getCurrentDatabase())) { - oldDb = locallyScopedConn.getDatabase(); - locallyScopedConn.setDatabase(getCurrentDatabase()); - } + if (!locallyScopedConn.getDatabase().equals(getCurrentDatabase())) { + oldDb = locallyScopedConn.getDatabase(); + locallyScopedConn.setDatabase(getCurrentDatabase()); + } - // - // Check if we have cached metadata for this query... - // - if (locallyScopedConn.getPropertySet().getBooleanProperty(PropertyKey.cacheResultSetMetadata).getValue()) { - cachedMetaData = locallyScopedConn.getCachedMetaData(sql); - } + // + // Check if we have cached metadata for this query... + // + if (locallyScopedConn.getPropertySet().getBooleanProperty(PropertyKey.cacheResultSetMetadata).getValue()) { + cachedMetaData = locallyScopedConn.getCachedMetaData(sql); + } - locallyScopedConn.setSessionMaxRows(this.maxRows); + locallyScopedConn.setSessionMaxRows(this.maxRows); - statementBegins(); + statementBegins(); - this.results = ((NativeSession) locallyScopedConn.getSession()).execSQL(this, sql, this.maxRows, null, createStreamingResultSet(), - getResultSetFactory(), cachedMetaData, false); + this.results = ((NativeSession) locallyScopedConn.getSession()).execSQL(this, sql, this.maxRows, null, createStreamingResultSet(), + getResultSetFactory(), cachedMetaData, false); - if (timeoutTask != null) { - stopQueryTimer(timeoutTask, true, true); - timeoutTask = null; - } + if (timeoutTask != null) { + stopQueryTimer(timeoutTask, true, true); + timeoutTask = null; + } - } catch (CJTimeoutException | OperationCancelledException e) { - throw SQLExceptionsMapping.translateException(e, this.exceptionInterceptor); + } catch (CJTimeoutException | OperationCancelledException e) { + throw SQLExceptionsMapping.translateException(e, this.exceptionInterceptor); - } finally { - this.query.getStatementExecuting().set(false); + } finally { + this.query.getStatementExecuting().set(false); - stopQueryTimer(timeoutTask, false, false); + stopQueryTimer(timeoutTask, false, false); - if (oldDb != null) { - locallyScopedConn.setDatabase(oldDb); + if (oldDb != null) { + locallyScopedConn.setDatabase(oldDb); + } } - } - this.lastInsertId = this.results.getUpdateID(); + this.lastInsertId = this.results.getUpdateID(); - if (cachedMetaData != null) { - locallyScopedConn.initializeResultsMetadataFromCache(sql, cachedMetaData, this.results); - } else if (this.connection.getPropertySet().getBooleanProperty(PropertyKey.cacheResultSetMetadata).getValue()) { - locallyScopedConn.initializeResultsMetadataFromCache(sql, null /* will be created */, this.results); + if (cachedMetaData != null) { + locallyScopedConn.initializeResultsMetadataFromCache(sql, cachedMetaData, this.results); + } else if (this.connection.getPropertySet().getBooleanProperty(PropertyKey.cacheResultSetMetadata).getValue()) { + locallyScopedConn.initializeResultsMetadataFromCache(sql, null /* will be created */, this.results); + } + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); } return this.results; @@ -1244,112 +1331,129 @@ public int executeUpdate(String sql) throws SQLException { return Util.truncateAndConvertToInt(executeLargeUpdate(sql)); } + @Override + public int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException { + return Util.truncateAndConvertToInt(executeLargeUpdate(sql, autoGeneratedKeys)); + } + + @Override + public int executeUpdate(String sql, int[] columnIndexes) throws SQLException { + return Util.truncateAndConvertToInt(executeLargeUpdate(sql, columnIndexes)); + } + + @Override + public int executeUpdate(String sql, String[] columnNames) throws SQLException { + return Util.truncateAndConvertToInt(executeLargeUpdate(sql, columnNames)); + } + protected long executeUpdateInternal(String sql, boolean isBatch, boolean returnGeneratedKeys) throws SQLException { synchronized (checkClosed().getConnectionMutex()) { - JdbcConnection locallyScopedConn = this.connection; + TelemetrySpan span = getSession().getTelemetryHandler().startSpan(TelemetrySpanName.STMT_EXECUTE); + try (TelemetryScope scope = span.makeCurrent()) { + String dbOperation = QueryInfo.getStatementKeyword(sql, this.session.getServerSession().isNoBackslashEscapesSet()); + span.setAttribute(TelemetryAttribute.DB_NAME, getCurrentDatabase()); + span.setAttribute(TelemetryAttribute.DB_OPERATION, dbOperation); + span.setAttribute(TelemetryAttribute.DB_STATEMENT, dbOperation + TelemetryAttribute.STATEMENT_SUFFIX); + span.setAttribute(TelemetryAttribute.DB_SYSTEM, TelemetryAttribute.DB_SYSTEM_DEFAULT); + span.setAttribute(TelemetryAttribute.DB_USER, this.connection.getUser()); + span.setAttribute(TelemetryAttribute.THREAD_ID, Thread.currentThread().getId()); + span.setAttribute(TelemetryAttribute.THREAD_NAME, Thread.currentThread().getName()); - checkNullOrEmptyQuery(sql); + JdbcConnection locallyScopedConn = this.connection; - resetCancelledState(); + checkNullOrEmptyQuery(sql); - clearWarnings(); + resetCancelledState(); - char firstStatementChar = QueryInfo.firstCharOfStatementUc(sql, this.session.getServerSession().isNoBackslashEscapesSet()); - if (!isNonResultSetProducingQuery(sql)) { - throw SQLError.createSQLException(Messages.getString("Statement.46"), "01S03", getExceptionInterceptor()); - } + clearWarnings(); - this.retrieveGeneratedKeys = returnGeneratedKeys; + char firstStatementChar = QueryInfo.firstCharOfStatementUc(sql, this.session.getServerSession().isNoBackslashEscapesSet()); + if (!isNonResultSetProducingQuery(sql)) { + throw SQLError.createSQLException(Messages.getString("Statement.46"), "01S03", getExceptionInterceptor()); + } - this.lastQueryIsOnDupKeyUpdate = returnGeneratedKeys && firstStatementChar == 'I' && containsOnDuplicateKeyInString(sql); + this.retrieveGeneratedKeys = returnGeneratedKeys; - ResultSetInternalMethods rs = null; + this.lastQueryIsOnDupKeyUpdate = returnGeneratedKeys && firstStatementChar == 'I' && containsOnDuplicateKeyInString(sql); - if (this.doEscapeProcessing) { - Object escapedSqlResult = EscapeProcessor.escapeSQL(sql, this.session.getServerSession().getSessionTimeZone(), - this.session.getServerSession().getCapabilities().serverSupportsFracSecs(), this.session.getServerSession().isServerTruncatesFracSecs(), - getExceptionInterceptor()); - sql = escapedSqlResult instanceof String ? (String) escapedSqlResult : ((EscapeProcessorResult) escapedSqlResult).escapedSql; - } + ResultSetInternalMethods rs = null; - if (locallyScopedConn.isReadOnly(false)) { - throw SQLError.createSQLException(Messages.getString("Statement.42") + Messages.getString("Statement.43"), - MysqlErrorNumbers.SQL_STATE_ILLEGAL_ARGUMENT, getExceptionInterceptor()); - } + if (this.doEscapeProcessing) { + Object escapedSqlResult = EscapeProcessor.escapeSQL(sql, this.session.getServerSession().getSessionTimeZone(), + this.session.getServerSession().getCapabilities().serverSupportsFracSecs(), + this.session.getServerSession().isServerTruncatesFracSecs(), getExceptionInterceptor()); + sql = escapedSqlResult instanceof String ? (String) escapedSqlResult : ((EscapeProcessorResult) escapedSqlResult).escapedSql; + } - implicitlyCloseAllOpenResults(); + if (locallyScopedConn.isReadOnly(false)) { + throw SQLError.createSQLException(Messages.getString("Statement.42") + Messages.getString("Statement.43"), + MysqlErrorNumbers.SQL_STATE_ILLEGAL_ARGUMENT, getExceptionInterceptor()); + } - // The checking and changing of databases must happen in sequence, so synchronize on the same mutex that _conn is using + implicitlyCloseAllOpenResults(); - CancelQueryTask timeoutTask = null; + // The checking and changing of databases must happen in sequence, so synchronize on the same mutex that _conn is using - String oldDb = null; + CancelQueryTask timeoutTask = null; - try { - timeoutTask = startQueryTimer(this, getTimeoutInMillis()); + String oldDb = null; - if (!locallyScopedConn.getDatabase().equals(getCurrentDatabase())) { - oldDb = locallyScopedConn.getDatabase(); - locallyScopedConn.setDatabase(getCurrentDatabase()); - } + try { + timeoutTask = startQueryTimer(this, getTimeoutInMillis()); - // - // Only apply max_rows to selects - // - locallyScopedConn.setSessionMaxRows(-1); + if (!locallyScopedConn.getDatabase().equals(getCurrentDatabase())) { + oldDb = locallyScopedConn.getDatabase(); + locallyScopedConn.setDatabase(getCurrentDatabase()); + } - statementBegins(); + // + // Only apply max_rows to selects + // + locallyScopedConn.setSessionMaxRows(-1); - // null database: force read of field info on DML - rs = ((NativeSession) locallyScopedConn.getSession()).execSQL(this, sql, -1, null, false, getResultSetFactory(), null, isBatch); + statementBegins(); - if (timeoutTask != null) { - stopQueryTimer(timeoutTask, true, true); - timeoutTask = null; - } + // null database: force read of field info on DML + rs = ((NativeSession) locallyScopedConn.getSession()).execSQL(this, sql, -1, null, false, getResultSetFactory(), null, isBatch); - } catch (CJTimeoutException | OperationCancelledException e) { - throw SQLExceptionsMapping.translateException(e, this.exceptionInterceptor); + if (timeoutTask != null) { + stopQueryTimer(timeoutTask, true, true); + timeoutTask = null; + } - } finally { - stopQueryTimer(timeoutTask, false, false); + } catch (CJTimeoutException | OperationCancelledException e) { + throw SQLExceptionsMapping.translateException(e, this.exceptionInterceptor); - if (oldDb != null) { - locallyScopedConn.setDatabase(oldDb); - } + } finally { + stopQueryTimer(timeoutTask, false, false); - if (!isBatch) { - this.query.getStatementExecuting().set(false); + if (oldDb != null) { + locallyScopedConn.setDatabase(oldDb); + } + + if (!isBatch) { + this.query.getStatementExecuting().set(false); + } } - } - this.results = rs; + this.results = rs; - rs.setFirstCharOfQuery(firstStatementChar); + rs.setFirstCharOfQuery(firstStatementChar); - this.updateCount = rs.getUpdateCount(); + this.updateCount = rs.getUpdateCount(); - this.lastInsertId = rs.getUpdateID(); + this.lastInsertId = rs.getUpdateID(); + } catch (Throwable t) { + span.setError(t); + throw t; + } finally { + span.end(); + } return this.updateCount; } } - @Override - public int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException { - return Util.truncateAndConvertToInt(executeLargeUpdate(sql, autoGeneratedKeys)); - } - - @Override - public int executeUpdate(String sql, int[] columnIndexes) throws SQLException { - return Util.truncateAndConvertToInt(executeLargeUpdate(sql, columnIndexes)); - } - - @Override - public int executeUpdate(String sql, String[] columnNames) throws SQLException { - return Util.truncateAndConvertToInt(executeLargeUpdate(sql, columnNames)); - } - @Override public java.sql.Connection getConnection() throws SQLException { synchronized (checkClosed().getConnectionMutex()) { diff --git a/src/test/java/testsuite/regression/ConnectionRegressionTest.java b/src/test/java/testsuite/regression/ConnectionRegressionTest.java index 698037507..6809c1844 100644 --- a/src/test/java/testsuite/regression/ConnectionRegressionTest.java +++ b/src/test/java/testsuite/regression/ConnectionRegressionTest.java @@ -10821,7 +10821,6 @@ public void testBug70677() throws Exception { } /** - * @SuppressWarnings("javadoc") * Test fix for Bug#98445 (30832513), Connection option clientInfoProvider=ClientInfoProviderSP causes NPE. * * @throws Exception diff --git a/src/test/java/testsuite/simple/ConnectionTest.java b/src/test/java/testsuite/simple/ConnectionTest.java index 50c0d1b77..926cd40bc 100644 --- a/src/test/java/testsuite/simple/ConnectionTest.java +++ b/src/test/java/testsuite/simple/ConnectionTest.java @@ -1139,10 +1139,10 @@ public void testUseLocalSessionStateRollback() throws Exception { // space is important here, we don't want to count occurrences in stack traces while (rollbackPos != -1) { - rollbackPos = searchIn.indexOf(" rollback", rollbackPos); + rollbackPos = searchIn.indexOf(" ROLLBACK", rollbackPos); if (rollbackPos != -1) { - rollbackPos += "rollback".length(); + rollbackPos += "ROLLBACK".length(); rollbackCount++; } } @@ -1154,10 +1154,10 @@ public void testUseLocalSessionStateRollback() throws Exception { // space is important here, we don't want to count "autocommit" nor occurrences in stack traces while (commitPos != -1) { - commitPos = searchIn.indexOf(" commit", commitPos); + commitPos = searchIn.indexOf(" COMMIT", commitPos); if (commitPos != -1) { - commitPos += " commit".length(); + commitPos += " COMMIT".length(); commitCount++; } } @@ -1449,16 +1449,16 @@ public void testReadOnly56() throws Exception { for (int i = 0; i < 2; i++) { BufferingLogger.startLoggingToBuffer(); notLocalState.setReadOnly(true); - assertTrue(BufferingLogger.getBuffer().toString().indexOf("set session transaction read only") != -1); - notLocalState.createStatement().execute("set session transaction read write"); + assertTrue(BufferingLogger.getBuffer().toString().indexOf("SET SESSION TRANSACTION READ ONLY") != -1); + notLocalState.createStatement().execute("SET SESSION TRANSACTION READ WRITE"); assertFalse(notLocalState.isReadOnly()); } for (int i = 0; i < 2; i++) { BufferingLogger.startLoggingToBuffer(); notLocalState.setReadOnly(false); - assertTrue(BufferingLogger.getBuffer().toString().indexOf("set session transaction read write") != -1); - notLocalState.createStatement().execute("set session transaction read only"); + assertTrue(BufferingLogger.getBuffer().toString().indexOf("SET SESSION TRANSACTION READ WRITE") != -1); + notLocalState.createStatement().execute("SET SESSION TRANSACTION READ ONLY"); assertTrue(notLocalState.isReadOnly()); } @@ -1471,9 +1471,9 @@ public void testReadOnly56() throws Exception { BufferingLogger.startLoggingToBuffer(); localState.setReadOnly(true); if (i == 0) { - assertTrue(BufferingLogger.getBuffer().toString().indexOf("set session transaction read only") != -1); + assertTrue(BufferingLogger.getBuffer().toString().indexOf("SET SESSION TRANSACTION READ ONLY") != -1); } else { - assertTrue(BufferingLogger.getBuffer().toString().indexOf("set session transaction read only") == -1); + assertTrue(BufferingLogger.getBuffer().toString().indexOf("SET SESSION TRANSACTION READ ONLY") == -1); } BufferingLogger.startLoggingToBuffer(); localState.isReadOnly(); @@ -1487,7 +1487,7 @@ public void testReadOnly56() throws Exception { for (int i = 0; i < 2; i++) { BufferingLogger.startLoggingToBuffer(); noOptimization.setReadOnly(true); - assertTrue(BufferingLogger.getBuffer().toString().indexOf("set session transaction read only") == -1); + assertTrue(BufferingLogger.getBuffer().toString().indexOf("SET SESSION TRANSACTION READ ONLY") == -1); BufferingLogger.startLoggingToBuffer(); noOptimization.isReadOnly(); assertTrue(BufferingLogger.getBuffer().toString().indexOf("select @@session." + s) == -1); From 5f2383dbbb8f020ebb4884673d5bc0f7b2488d88 Mon Sep 17 00:00:00 2001 From: Filipe Silva Date: Sat, 9 Mar 2024 01:34:50 +0000 Subject: [PATCH 17/18] Update fix for Bug#36380711, Tests failing due to removal of deprecated features. Change-Id: I6561e4bdfb5e07c4497d2d3e43f8d737632be631 --- .../user-impl/java/com/mysql/cj/jdbc/DatabaseMetaData.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/user-impl/java/com/mysql/cj/jdbc/DatabaseMetaData.java b/src/main/user-impl/java/com/mysql/cj/jdbc/DatabaseMetaData.java index e0e0631cd..664bb0776 100644 --- a/src/main/user-impl/java/com/mysql/cj/jdbc/DatabaseMetaData.java +++ b/src/main/user-impl/java/com/mysql/cj/jdbc/DatabaseMetaData.java @@ -4002,6 +4002,13 @@ private byte[][] getTypeInfo(String mysqlTypeName) throws SQLException { case TINYINT_UNSIGNED: rowVal[11] = s2b("true"); // Auto Increment break; + case DOUBLE: + case DOUBLE_UNSIGNED: + case FLOAT: + case FLOAT_UNSIGNED: + boolean supportsAutoIncrement = !this.session.versionMeetsMinimum(8, 4, 0); + rowVal[11] = supportsAutoIncrement ? s2b("true") : s2b("false"); // Auto Increment + break; default: rowVal[11] = s2b("false"); // Auto Increment break; From 1c3f5c149e0bfe31c7fbeb24e2d260cd890972c4 Mon Sep 17 00:00:00 2001 From: Filipe Silva Date: Wed, 13 Mar 2024 00:05:49 +0000 Subject: [PATCH 18/18] Documentation review for WL#15706 and WL#16174. Change-Id: I1596ef5588a314aea8567a1cbf1737aeeac53d53 --- src/main/core-api/java/com/mysql/cj/MysqlType.java | 6 +++--- .../core-api/java/com/mysql/cj/QueryAttributesBindings.java | 2 +- .../java/com/mysql/cj/telemetry/TelemetryHandler.java | 4 ++-- .../core-api/java/com/mysql/cj/telemetry/TelemetrySpan.java | 4 ++-- .../java/com/mysql/cj/telemetry/TelemetrySpanName.java | 2 +- src/main/core-impl/java/com/mysql/cj/CoreSession.java | 2 +- .../java/com/mysql/cj/NativeQueryAttributesBindings.java | 2 +- .../java/com/mysql/cj/result/DefaultColumnDefinition.java | 6 ++---- .../java/com/mysql/cj/protocol/a/NativeProtocol.java | 2 +- .../com/mysql/cj/LocalizedErrorMessages.properties | 4 ++-- 10 files changed, 16 insertions(+), 18 deletions(-) diff --git a/src/main/core-api/java/com/mysql/cj/MysqlType.java b/src/main/core-api/java/com/mysql/cj/MysqlType.java index 2a07a4e8d..53d7e5fef 100644 --- a/src/main/core-api/java/com/mysql/cj/MysqlType.java +++ b/src/main/core-api/java/com/mysql/cj/MysqlType.java @@ -423,15 +423,15 @@ public enum MysqlType implements SQLType { GEOMETRY("GEOMETRY", Types.BINARY, null, 0, MysqlType.IS_NOT_DECIMAL, 65535L, ""), // TODO check precision, it isn't well documented, only mentioned that WKB format is represented by BLOB /** * VECTOR[(M)] - * A VECTOR column with a maximum length of 65,532 (16383 x 4) bytes. An optional length M can be given for this type which indicates the maximum number of - * entries in the VECTOR, with maximum of 16383. Each entry is a 4 Byte (single-precision) floating-point value. + * A VECTOR column with a maximum length of 65,532 (16383 x 4) bytes. An optional length M can be given for this type to indicate the maximum number of + * entries in a VECTOR. M cannot exceed 16383. Each entry is a 4 Byte (single-precision) floating-point value. * * Protocol: FIELD_TYPE_VECTOR = 242 */ VECTOR("VECTOR", Types.LONGVARBINARY, null, 0, MysqlType.IS_NOT_DECIMAL, 65532L, "[(M)]"), /** - * Fall-back type for those MySQL data types which c/J can't recognize. + * Fall-back type for those MySQL data types which Connector/J cannot recognize. * Handled the same as BLOB. * * Has no protocol ID. diff --git a/src/main/core-api/java/com/mysql/cj/QueryAttributesBindings.java b/src/main/core-api/java/com/mysql/cj/QueryAttributesBindings.java index 6edf3f6e3..d427a4efe 100644 --- a/src/main/core-api/java/com/mysql/cj/QueryAttributesBindings.java +++ b/src/main/core-api/java/com/mysql/cj/QueryAttributesBindings.java @@ -76,7 +76,7 @@ public interface QueryAttributesBindings { void runThroughAll(Consumer bindAttribute); /** - * Checks if there's already an attribute with the specified name. + * Checks if there is already an attribute with the specified name. * * @param name * the query attribute name. diff --git a/src/main/core-api/java/com/mysql/cj/telemetry/TelemetryHandler.java b/src/main/core-api/java/com/mysql/cj/telemetry/TelemetryHandler.java index 3b15fa914..5d9d065fc 100644 --- a/src/main/core-api/java/com/mysql/cj/telemetry/TelemetryHandler.java +++ b/src/main/core-api/java/com/mysql/cj/telemetry/TelemetryHandler.java @@ -30,7 +30,7 @@ public interface TelemetryHandler { /** - * Start a telemetry span. Additionally, the returned {@link TelemetrySpan} object returned must be made current so that it gets recorded by the telemetry + * Start a telemetry span. Additionally, the returned {@link TelemetrySpan} object must be made current so that it gets recorded by the telemetry * tracer. * A {@link TelemetrySpan} object must be closed in a finally block after being made current, e.g.: * @@ -48,7 +48,7 @@ public interface TelemetryHandler { * @param args * arguments used for interpolating the specified span name via {@link String#format(String, Object...)} * @return - * the newly created span object + * the newly-created span object */ TelemetrySpan startSpan(TelemetrySpanName spanName, Object... args); diff --git a/src/main/core-api/java/com/mysql/cj/telemetry/TelemetrySpan.java b/src/main/core-api/java/com/mysql/cj/telemetry/TelemetrySpan.java index 7b4d95402..8de2875ce 100644 --- a/src/main/core-api/java/com/mysql/cj/telemetry/TelemetrySpan.java +++ b/src/main/core-api/java/com/mysql/cj/telemetry/TelemetrySpan.java @@ -23,7 +23,7 @@ /** * A telemetry span wrapper that hides all specific details from the underlying telemetry library. * - * A default no-op implementation is provided so that telemetry may be turned off with minimal impact to the driver code. + * A default no-op implementation is provided so that telemetry may be turned off with minimal impact on the driver code. */ public interface TelemetrySpan extends AutoCloseable { @@ -77,7 +77,7 @@ default void end() { } /** - * {@link AutoCloseable#close()} that can be used to end this span and, thus, make it possible to create new span within try-with-resources blocks. + * {@link AutoCloseable#close()} that can be used to end this span and, making it possible to create new span within the try-with-resources blocks. */ @Override default void close() { diff --git a/src/main/core-api/java/com/mysql/cj/telemetry/TelemetrySpanName.java b/src/main/core-api/java/com/mysql/cj/telemetry/TelemetrySpanName.java index cb279d4c7..6e9af0d4a 100644 --- a/src/main/core-api/java/com/mysql/cj/telemetry/TelemetrySpanName.java +++ b/src/main/core-api/java/com/mysql/cj/telemetry/TelemetrySpanName.java @@ -21,7 +21,7 @@ package com.mysql.cj.telemetry; /** - * List of most common telemetry span names. + * List of telemetry span names. */ public enum TelemetrySpanName { diff --git a/src/main/core-impl/java/com/mysql/cj/CoreSession.java b/src/main/core-impl/java/com/mysql/cj/CoreSession.java index e7a45c9bd..ef7d58889 100644 --- a/src/main/core-impl/java/com/mysql/cj/CoreSession.java +++ b/src/main/core-impl/java/com/mysql/cj/CoreSession.java @@ -71,7 +71,7 @@ public abstract class CoreSession implements Session { /** The event sink to use for profiling */ private ProfilerEventHandler eventSink; - /** The Telemetry handler to process telemetry operations */ + /** The telemetry handler to process telemetry operations */ private TelemetryHandler telemetryHandler = null; public CoreSession(HostInfo hostInfo, PropertySet propSet) { diff --git a/src/main/core-impl/java/com/mysql/cj/NativeQueryAttributesBindings.java b/src/main/core-impl/java/com/mysql/cj/NativeQueryAttributesBindings.java index 42829cd9b..41748dd60 100644 --- a/src/main/core-impl/java/com/mysql/cj/NativeQueryAttributesBindings.java +++ b/src/main/core-impl/java/com/mysql/cj/NativeQueryAttributesBindings.java @@ -40,7 +40,7 @@ public class NativeQueryAttributesBindings implements QueryAttributesBindings { - // Query attributes use a different type mapping than other parameters bindings. + // Query attributes use a different type mapping than other parameter bindings. private static final Map, MysqlType> DEFAULT_MYSQL_TYPES = new HashMap<>(); static { DEFAULT_MYSQL_TYPES.put(String.class, MysqlType.CHAR); diff --git a/src/main/core-impl/java/com/mysql/cj/result/DefaultColumnDefinition.java b/src/main/core-impl/java/com/mysql/cj/result/DefaultColumnDefinition.java index 1ec38df66..394ebcab0 100644 --- a/src/main/core-impl/java/com/mysql/cj/result/DefaultColumnDefinition.java +++ b/src/main/core-impl/java/com/mysql/cj/result/DefaultColumnDefinition.java @@ -213,10 +213,8 @@ public int findColumn(String columnName, boolean useColumnNamesInFindColumn, int } /** - * Check if fields with type BLOB, MEDIUMBLOB, LONGBLOB, TEXT, MEDIUMTEXT, LONGTEXT or VECTOR - * exist in this ColumnDefinition. - * This check is used for making a decision about whether we want to force a - * buffer row (better for rows with large fields). + * Check if fields with type BLOB, MEDIUMBLOB, LONGBLOB, TEXT, MEDIUMTEXT, LONGTEXT, or VECTOR exist in this ColumnDefinition. + * This check is used for making a decision about whether we want to force a buffer row (better for rows with large fields). * * @return true if this ColumnDefinition has large fields */ diff --git a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeProtocol.java b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeProtocol.java index cbf88d757..ad4df4193 100644 --- a/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeProtocol.java +++ b/src/main/protocol-impl/java/com/mysql/cj/protocol/a/NativeProtocol.java @@ -336,7 +336,7 @@ public Supplier getValueEncoderSupplier(Object obj) { } /** - * Negotiates the SSL communications channel used when connecting to a MySQL server that understands SSL. + * Negotiates the SSL communication channel used when connecting to a MySQL server that has SSL enabled. */ @Override public void negotiateSSLConnection() { diff --git a/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties b/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties index 1e88e7833..4f2d92e62 100644 --- a/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties +++ b/src/main/resources/com/mysql/cj/LocalizedErrorMessages.properties @@ -902,7 +902,7 @@ ConnectionProperties.noDatetimeStringSync=Don''t ensure that ''ResultSet.getTime ConnectionProperties.nullCatalogMeansCurrent=In ''DatabaseMetaData'' methods that take a ''catalog'' or ''schema'' parameter, does the value "null" mean to use the current database? See also the property ''databaseTerm''. ConnectionProperties.ociConfigFile=The location of the OCI configuration file as required by the OCI SDK for Java. Default value is "~/.oci/config" for Unix-like systems and "%HOMEDRIVE%%HOMEPATH%.oci\\config" for Windows. ConnectionProperties.ociConfigProfile=The profile in the OCI configuration file specified in ''ociConfigFile'', from where the configuration to use in the ''authentication_oci_client'' authentication plugin is to be read. -ConnectionProperties.openTelemetry=Should the driver generate OpenTelemetry traces and handle context propagation to the MySQL Server? This option accepts the values "REQUIRED", "PREFERRED" and "DISABLED". If set to "REQUIRED", an OpenTelemetry library must be available at run time, or else connections to the MySQL Server will fail. Setting it to "DISABLED", turns off generating OpenTelemetry instrumentation by Connector/J. Setting it to "PREFERRED" enables generating OpenTelemetry instrumentation provided that an OpenTelemetry library is available at run time, and a warning is issued otherwise. Not setting a value for the property is equivalent to setting it as "PREFERRED" but no warning is issued when no OpenTelmetry library is available at run time. Connector/J relies entirely on the OpenTelemetry exporters configured in the calling application and does not provide any means of configuring its own exporters. +ConnectionProperties.openTelemetry=Should the driver generate OpenTelemetry traces and handle context propagation to the MySQL Server? This option accepts the values "REQUIRED", "PREFERRED", and "DISABLED". If set to "REQUIRED", an OpenTelemetry library must be available at run time, or connections to the MySQL Server will fail. Setting it to "DISABLED" turns off generating OpenTelemetry instrumentation by Connector/J. Setting it to "PREFERRED" enables generating OpenTelemetry instrumentation provided that an OpenTelemetry library is available at run time, and a warning is issued otherwise. Not setting a value for the property is equivalent to setting it as "PREFERRED", but no warning is issued when no OpenTelmetry library is available at run time. Connector/J relies entirely on the OpenTelemetry exporters configured in the calling application and does not provide any means of configuring its own exporters. ConnectionProperties.overrideSupportsIEF=Should the driver return "true" for ''DatabaseMetaData.supportsIntegrityEnhancementFacility()'' even if the database doesn''t support it to workaround applications that require this method to return "true" to signal support of foreign keys, even though the SQL specification states that this facility contains much more than just foreign key support (one such application being OpenOffice)? ConnectionProperties.packetDebugBufferSize=The maximum number of packets to retain when ''enablePacketDebug'' is "true". ConnectionProperties.padCharsWithSpace=If a result set column has the CHAR type and the value does not fill the amount of characters specified in the DDL for the column, should the driver pad the remaining characters with space (for ANSI compliance)? @@ -922,7 +922,7 @@ ConnectionProperties.processEscapeCodesForPrepStmts=Should the driver process es ConnectionProperties.profilerEventHandler=Name of a class that implements the interface ''com.mysql.cj.log.ProfilerEventHandler'' that will be used to handle profiling/tracing events. ConnectionProperties.profileSQL=Trace queries and their execution/fetch times to the configured ''profilerEventHandler''. ConnectionProperties.queriesBeforeRetrySource=When using multi-host failover, the number of queries to issue before falling back to the primary host when failed over. Whichever condition is met first, ''queriesBeforeRetrySource'' or ''secondsBeforeRetrySource'' will cause an attempt to be made to reconnect to the primary host. Setting both properties to "0" disables the automatic fall back to the primary host at transaction boundaries. -ConnectionProperties.queryInfoCacheFactory=Name of a class implementing ''com.mysql.cj.CacheAdapterFactory'' which will be used to create caches for the parsed representation of prepared statements. Prior to version 8.0.29, this property was named ''parseInfoCacheFactory'', which remains as an alias. +ConnectionProperties.queryInfoCacheFactory=Name of a class implementing ''com.mysql.cj.CacheAdapterFactory'', which will be used to create caches for the parsed representation of prepared statements. Prior to version 8.0.29, this property was named ''parseInfoCacheFactory'', which remains as an alias. ConnectionProperties.queryInterceptors=A comma-delimited list of classes that implement ''com.mysql.cj.interceptors.QueryInterceptor'' that intercept query executions and are able influence the results. Query iterceptors are chainable: the results returned by the current interceptor will be passed on to the next in the chain, from left-to-right in the order specified in this property. ConnectionProperties.queryTimeoutKillsConnection=If the timeout given in ''Statement.setQueryTimeout()'' expires, should the driver forcibly abort the connection instead of attempting to abort the query? ConnectionProperties.readFromSourceWhenNoReplicas=Replication-aware connections distribute load by using the source hosts when in read/write state and by using the replica hosts when in read-only state. If, when setting the connection to read-only state, none of the replica hosts are available, an ''SQLException'' is thrown back. Setting this property to "true" allows to fail over to the source hosts, while setting the connection state to read-only, when no replica hosts are available at switch instant.