Quantcast
Channel: MySQL Forums - Connector/J, JDBC and Java
Browsing all 884 articles
Browse latest View live
↧

Help I don't know why my Timestamp statement in JAVA for certain fields is...

Help I need a solution idk why but when making the backend for a project when assigning a Timestamp variable to creation date and modification date if I run a JSON using Postman it just gives me Null...

View Article


why mysql jdbc driver of com.mysql.cj.Messages always reference String not...

In our project, have call mysql driver But I don't know why have a String object, Not release memory an when have a SQL query, the String Object will be have again, and at the last will be out of...

View Article


Bug regarding rewritableAsMultiValues introduced in 8.0.29 (8 replies)

After bumping to 8.0.29 and later versions we noticed that batch inserts made by prepared statements took much longer time to execute. After a bit of investigation we found that this only happens on...

View Article

MySQL Connector/J 5.1: NPE when executing SQL with QueryTimeout>0 on fabric...

When executing sql with QueryTimeout settings, getProperties() in class FabricMySQLConnectionProxy gets NULL when constructing CancelTask resulting in NPE. And sql with QueryTimeout settings is a...

View Article

cannot be cast to class com.mysql.cj.jdbc.ClientPreparedStatement (6 replies)

Hi We are developing a multi-threaded batch application on Spring Boot 2.7.8 + Aurora MySQL 2.11.1 (primary-db/replica-db). I am having trouble with ClassCastException when updating/inserting data...

View Article


Longtext Column Values getting hex encoded by jdbc driver (1 reply)

Hello, I was developing a simple Java application to save some data to a mysql database using the latest version of the jdbc connector mysql-connector-j-8.0.32 , and jdk 17. I have enabled query...

View Article

Procedure runs fine in DB but throwing errors while running within...

I have the below procedure which I wanted to run before each test in my application integration tests to quickly truncate all tables in my schema: But this does not work in integration test run while...

View Article

Unable to retrieve the timestamp field after upgrading to Mysql connector for...

Hi All, Recently we upgraded our MySQL connector from 5.1.x to 8.0.30 to accommodate the DB server upgrade. After the connector upgrade, application is unable to retrieve the timestamp value from the...

View Article


mysql-connector 8.0.32 exception : java.lang.IllegalArgumentException:...

mysql-server version: 8.0.32 mysql-connector version: 8.0.32 details : 1. we deploy two database nodes (for example, A and B). 2. one is CST,and the other is PDT. 3. data sync from A to B; when A has...

View Article


MySQL Connector/J 2FA and FIDO (WebAuthn) (no replies)

MySQL Connector/J 2FA and FIDO (WebAuthn) - https://blogs.oracle.com/mysql/post/mysql-connectorj-fido-webauthn

View Article

Performance degradation after upgrading to MySQL 8 (4 replies)

We have upgraded MySQL in our application from version 5.7.43 to version 8.0.35. We are getting below exception while trying the fetch the records from the database. 231104 04:04:03 :...

View Article

Aletrnative to ParseURL in Connector/J version (no replies)

Hi, with the removal of parseURL from com.mysql.jdbc.NonRegisteringDriver is there an alternative we have for this in version 8?

View Article

Unable to create initial connections of pool....

Hi Team I am stuck with below error , Although the connection is successful to localhost but still getting below mentioned error SEVERE [main] org.apache.tomcat.jdbc.pool.ConnectionPool.init Unable to...

View Article


Per field encoding (no replies)

Does the JDBC driver take table level encoding into account? We have a decades old database which uses latin1 as its default character set, but individual tables have a deviating charset, utf8....

View Article

Client-server compatibility 8.0-8.4 (no replies)

Hi all, Can we use mysql connector 8.0 with mysql server 8.4(LTS)? We want to upgrade to the latest LTS version but there are some clients which are still using Connector/J 8.0. Not sure if they may...

View Article


Connector/J not found (1 reply)

Hello, Where are the download link for the Connector/J for MS Windows? Because In the download page (https://dev.mysql.com/downloads/connector/j/)... They're not there.

View Article

Spring JDBC template batchUpdate: multiple update statements (5 replies)

Hey, hope you are doing great. I have the following question/doubt: I am using spring jdbctemplate batchUpdate method passing in a prepared statement and a batch of params. What it then does is to...

View Article


Connector/J 9 supported databases (2 replies)

We are in the middle of migration from MySQL 5 to 8 and at the same time we're in the middle of Java virtual threads adoption. Connector/J 9 contain improvements for virtual threads and I wanted to...

View Article

CVE-2024-7254 (no replies)

Hi since 09-18 we have the CVE-2024-7254 which is part of the protobuf-java lib (a dependency of mysql-connector-j) Is this CVE relevant for mysql-connector-j users? Kind Rergards Michael

View Article

MySQL Connector/J Observability with OpenTelemetry (no replies)

https://blogs.oracle.com/mysql/post/mysql-connectorj-observability-with-opentelemetry

View Article
Browsing all 884 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>