You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/04/08 12:58:00 UTC

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

    [ https://issues.apache.org/jira/browse/OPENJPA-2864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17317164#comment-17317164 ] 

ASF subversion and git services commented on OPENJPA-2864:
----------------------------------------------------------

Commit a68835381e0975aa1c75cd381e5e37d63b1d0db1 in openjpa's branch refs/heads/master from Mark Struberg
[ https://gitbox.apache.org/repos/asf?p=openjpa.git;h=a688353 ]

OPENJPA-2864 use Timestamp precision from Column if set


> 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
>            Priority: Major
>             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)