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)