steve-community/steve

Mysql JDBC driver truncates milliseconds when using with MariaDB

Opened this issue · 1 comments

Checklist

  • I checked other issues already, but found no answer/solution
  • I checked the documentation and wiki, but found no answer/solution
  • I am running the latest version and the issue still occurs
  • I am sure that this issue is about SteVe (and not about the charging station software or something unrelated to SteVe)

Specifications

SteVe Version     : latest
Operating system  : -
JDK               : 17
Database          : MariaDB 10.X

Expected Behavior

There is no difference in behaviour between Mysql and MariaDB. Milliseconds (or fractional seconds) must be retained.

Actual Behavior

The fractional seconds are truncated.

Steps to Reproduce the Problem

  1. ...
  2. ...
  3. ...

Additional context

...

I can confirm the issue for MariaDB version 10.x. Using MariaDB Version 11.2.2 the milliseconds are not truncated.