[ https://issues.apache.org/jira/browse/OPENJPA-2755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16676405#comment-16676405 ]
ASF subversion and git services commented on OPENJPA-2755: ---------------------------------------------------------- Commit 3b4c2e6f427de1f6f1e21a9c5a0cca4e5730167e in openjpa's branch refs/heads/OPENJPA-2754-maxTotal from [~struberg] [ https://gitbox.apache.org/repos/asf?p=openjpa.git;h=3b4c2e6 ] OPENJPA-2755 OPENJPA-2555 use scale to set Date fractions > 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 > Priority: Major > 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)