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 2018/10/30 15:09:00 UTC

[jira] [Created] (OPENJPA-2755) support MySQL DATETIME and TIMESTAMP fractions (milliseconds, nanos)

Mark Struberg created OPENJPA-2755:
--------------------------------------

             Summary: support MySQL DATETIME and TIMESTAMP fractions (milliseconds, nanos)
                 Key: OPENJPA-2755
                 URL: https://issues.apache.org/jira/browse/OPENJPA-2755
             Project: OpenJPA
          Issue Type: Improvement
          Components: sql
    Affects Versions: 3.0.0
            Reporter: Mark Struberg
            Assignee: Mark Struberg
             Fix For: 3.0.1


MySQL supports to add a time fraction to their DATETIME and TIMESTAMP fields. E.g. DATETIME(3) to store milliseconds or DATETIME(6) for microseconds.

This only exists as of MySQL-5.6.4 and onwards. 

We should create proper CREATE TABLE statements for it if we detect one of those versions.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)