[
https://issues.apache.org/jira/browse/OPENJPA-3041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18134693#comment-18134693
]
ASF subversion and git services commented on OPENJPA-3041:
----------------------------------------------------------
Commit 04dd84f8f97c54547179d3594811f0e1cab5b2a3 in openjpa's branch
refs/heads/asciidoc from Richard Zowalla
[ https://gitbox.apache.org/repos/asf?p=openjpa.git;h=04dd84f8f ]
[OPENJPA-3041] Keep the fraction of a second in EXTRACT(SECOND) on H2 (#238)
* [OPENJPA-3041] Keep the fraction of a second in EXTRACT(SECOND) on H2
* [OPENJPA-3041] Use try-with-resources in the test
> H2: EXTRACT(SECOND) drops fractional seconds
> --------------------------------------------
>
> Key: OPENJPA-3041
> URL: https://issues.apache.org/jira/browse/OPENJPA-3041
> Project: OpenJPA
> Issue Type: Sub-task
> Reporter: Richard Zowalla
> Assignee: Richard Zowalla
> Priority: Major
> Fix For: 4.2.0
>
>
> On H2, {{EXTRACT(SECOND FROM ts)}} returns 30.0 for a timestamp with 30.5
> seconds. The Jakarta Persistence spec includes fractional seconds for SECOND.
> Derby (since OPENJPA-3029) returns 30.5. Found while testing OPENJPA-3029.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)