Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mysql JDBC driver truncates milliseconds when using with MariaDB #1371

Open
4 tasks done
goekay opened this issue Jan 21, 2024 · 1 comment
Open
4 tasks done

Mysql JDBC driver truncates milliseconds when using with MariaDB #1371

goekay opened this issue Jan 21, 2024 · 1 comment
Labels

Comments

@goekay
Copy link
Member

goekay commented Jan 21, 2024

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

...

goekay added a commit that referenced this issue Jan 21, 2024
@goekay goekay added the bug label Jan 21, 2024
@fnkbsi
Copy link
Contributor

fnkbsi commented Mar 8, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants