steve icon indicating copy to clipboard operation
steve copied to clipboard

Mysql JDBC driver truncates milliseconds when using with MariaDB

Open goekay opened this issue 1 year ago • 1 comments

Checklist

  • [x] I checked other issues already, but found no answer/solution
  • [x] I checked the documentation and wiki, but found no answer/solution
  • [x] I am running the latest version and the issue still occurs
  • [x] 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

...

goekay avatar Jan 21 '24 17:01 goekay

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

fnkbsi avatar Mar 08 '24 12:03 fnkbsi