Quantcast
Channel: MySQL Forums - Connector/J, JDBC and Java
Viewing all articles
Browse latest Browse all 884

Fractional Seconds Support with Connector/J and MariaDB (no replies)

$
0
0
Hi,

Sorry if this is not the right place.

I am using Connector/J 8.0.12 to connect to a MariaDB 10.3.

We are unable to insert timestamps with fractional seconds into the database into a DateTime(6) field.

The reason is, that the code to determine the capability of fractional second support (in the class com.mysql.cj.protocol.a.NativeCapabilities) checks for the version to be greater 5.6.4. But MariaDB provides the version String "5.5.5-10.3.10-MariaDB". MariaDB in Version 10 is capable of fractional seconds.

Can you provide some help please?

with kind regards
Alex

Viewing all articles
Browse latest Browse all 884

Trending Articles



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