Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-2755

support MySQL DATETIME and TIMESTAMP fractions (milliseconds, nanos)

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.1.0
    • Component/s: sql
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                struberg Mark Struberg
                Reporter:
                struberg Mark Struberg
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: