You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Mark Struberg (Jira)" <ji...@apache.org> on 2021/04/03 06:42:00 UTC

[jira] [Created] (OPENJPA-2856) [MariaDB] improve TIME handling

Mark Struberg created OPENJPA-2856:
--------------------------------------

             Summary: [MariaDB] improve TIME handling
                 Key: OPENJPA-2856
                 URL: https://issues.apache.org/jira/browse/OPENJPA-2856
             Project: OpenJPA
          Issue Type: Bug
          Components: jdbc
    Affects Versions: 3.1.2
            Reporter: Mark Struberg
            Assignee: Mark Struberg
             Fix For: 3.1.3


It seems that MariaDB > 10 supports fractionDigits also for TIME columns (although it doesn't show it in selects by default).

The other glitch we need to fix is that passing a java.sql.Time parameter which got converted from a java.util.Date does not get properly matched inside the database if the date part of the time internally is not Jan 1st 1970.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)