Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

MySql: Handle time as strings #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jasonf20
Copy link
Contributor

@jasonf20 jasonf20 commented Dec 21, 2021

This is needed since sometimes mysql times contain durations and not clock-time and you can't read them as times.

This results in errors like:

The value '-5:0:0' is an invalid TIME value. JDBC Time objects represent a wall-clock time and not a duration as MySQL treats them. If you are treating this type as a duration, consider retrieving this value as a string and dealing with it according to your requirements.

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

Successfully merging this pull request may close these issues.

1 participant