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/08 12:54:00 UTC

[jira] [Created] (OPENJPA-2864) respect the Columns precision when persisting a java.sql.Timestamp value

Mark Struberg created OPENJPA-2864:
--------------------------------------

             Summary: respect the Columns precision when persisting a java.sql.Timestamp value
                 Key: OPENJPA-2864
                 URL: https://issues.apache.org/jira/browse/OPENJPA-2864
             Project: OpenJPA
          Issue Type: Bug
          Components: jdbc
    Affects Versions: 3.1.2
            Reporter: Mark Struberg
            Assignee: Mark Struberg
             Fix For: 3.1.3


right now we use the {{datePrecision}} for rounding/truncating {{java.sql.Timestamp}} values.

The value should still be used as default, but if a Column has a specific precision configured, then we should use that.



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