You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by fs...@apache.org on 2024/09/27 16:54:36 UTC

(jmeter) branch master updated (d1de0b8e1a -> 9643596b15)

This is an automated email from the ASF dual-hosted git repository.

fschumacher pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git


    from d1de0b8e1a Exclude Oracle Java on MacOS. It is not working currently
     new 3a38f0462a Add new jdbc.driver.class "com.mysql.cj.jdbc.Driver" to jmeter.properties
     new 9643596b15 Update component_reference.xml for com.mysql.cj.jdbc.Driver

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 bin/jmeter.properties                    | 2 +-
 xdocs/usermanual/component_reference.xml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


(jmeter) 01/02: Add new jdbc.driver.class "com.mysql.cj.jdbc.Driver" to jmeter.properties

Posted by fs...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

fschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git

commit 3a38f0462a28222bb0d675a2f3692422db189510
Author: David Getzlaff <Da...@telekom.de>
AuthorDate: Fri Apr 26 09:33:04 2024 +0200

    Add new jdbc.driver.class "com.mysql.cj.jdbc.Driver" to jmeter.properties
    
    By providing this new class, this message can be prevented:
    Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.
---
 bin/jmeter.properties | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/jmeter.properties b/bin/jmeter.properties
index 24a6798e4c..bac04e85bc 100644
--- a/bin/jmeter.properties
+++ b/bin/jmeter.properties
@@ -807,7 +807,7 @@ wmlParser.types=text/vnd.wap.wml
 # Database validation query
 # based in https://stackoverflow.com/questions/10684244/dbcp-validationquery-for-different-databases list
 jdbc.config.check.query=select 1 from INFORMATION_SCHEMA.SYSTEM_USERS|select 1 from dual|select 1 from sysibm.sysdummy1|select 1|select 1 from rdb$database
-jdbc.config.jdbc.driver.class=com.mysql.jdbc.Driver|org.postgresql.Driver|oracle.jdbc.OracleDriver|com.ingres.jdbc.IngresDriver|com.microsoft.sqlserver.jdbc.SQLServerDriver|com.microsoft.jdbc.sqlserver.SQLServerDriver|org.apache.derby.jdbc.ClientDriver|org.hsqldb.jdbc.JDBCDriver|com.ibm.db2.jcc.DB2Driver|org.apache.derby.jdbc.ClientDriver|org.h2.Driver|org.firebirdsql.jdbc.FBDriver|org.mariadb.jdbc.Driver|org.sqlite.JDBC|net.sourceforge.jtds.jdbc.Driver|com.exasol.jdbc.EXADriver
+jdbc.config.jdbc.driver.class=com.mysql.cj.jdbc.Driver|com.mysql.jdbc.Driver|org.postgresql.Driver|oracle.jdbc.OracleDriver|com.ingres.jdbc.IngresDriver|com.microsoft.sqlserver.jdbc.SQLServerDriver|com.microsoft.jdbc.sqlserver.SQLServerDriver|org.apache.derby.jdbc.ClientDriver|org.hsqldb.jdbc.JDBCDriver|com.ibm.db2.jcc.DB2Driver|org.apache.derby.jdbc.ClientDriver|org.h2.Driver|org.firebirdsql.jdbc.FBDriver|org.mariadb.jdbc.Driver|org.sqlite.JDBC|net.sourceforge.jtds.jdbc.Driver|com.exaso [...]
 
 #---------------------------------------------------------------------------
 # OS Process Sampler configuration


(jmeter) 02/02: Update component_reference.xml for com.mysql.cj.jdbc.Driver

Posted by fs...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

fschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git

commit 9643596b15c3dadc695c3f317f87c4e729a35b7b
Author: David Getzlaff <Da...@telekom.de>
AuthorDate: Fri Sep 27 14:36:27 2024 +0200

    Update component_reference.xml for com.mysql.cj.jdbc.Driver
---
 xdocs/usermanual/component_reference.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xdocs/usermanual/component_reference.xml b/xdocs/usermanual/component_reference.xml
index 5733903554..c91719f909 100644
--- a/xdocs/usermanual/component_reference.xml
+++ b/xdocs/usermanual/component_reference.xml
@@ -4104,7 +4104,7 @@ instead. (see figures 12 and 13).</p>
               <dt>hsqldb</dt><dd>org.hsqldb.jdbc.JDBCDriver</dd>
               <dt>Oracle</dt><dd>oracle.jdbc.OracleDriver</dd>
               <dt>DB2</dt><dd>com.ibm.db2.jcc.DB2Driver</dd>
-              <dt>MySQL</dt><dd>com.mysql.jdbc.Driver</dd>
+              <dt>MySQL</dt><dd>com.mysql.cj.jdbc.Driver</dd><dd>com.mysql.jdbc.Driver (deprecated)</dd>
               <dt>Microsoft SQL Server (MS JDBC driver)</dt><dd>com.microsoft.sqlserver.jdbc.SQLServerDriver or com.microsoft.jdbc.sqlserver.SQLServerDriver</dd>
               <dt>PostgreSQL</dt><dd>org.postgresql.Driver</dd>
               <dt>Ingres</dt><dd>com.ingres.jdbc.IngresDriver</dd>