My Oracle Support Banner

Connector/J 8.0.23 and higher cause Class Cast Exceptions (Doc ID 2796736.1)

Last updated on SEPTEMBER 22, 2023

Applies to:

MySQL Connectors - Version 8.0 and later
Information in this document applies to any platform.

Symptoms

On : 8.0 version, Connector/J and JDBC

Connector/J 8.0.19 to .25 and preserveInstants





STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Upgrade from 8.0.19 to 8.0.25
2. Add preserveInstants=true in the connection string
3. Call the getObject() method and/or attempt to retrieve metadata

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot rely on a consistent, working response from the system.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.