[
https://issues.apache.org/jira/browse/OPENJPA-3055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18136522#comment-18136522
]
ASF subversion and git services commented on OPENJPA-3055:
----------------------------------------------------------
Commit c55451dbbacfe7316493ecefc1176cd4a8eb014c in openjpa's branch
refs/heads/master from Paulo Cristovão de Araújo Silva Filho
[ https://gitbox.apache.org/repos/asf?p=openjpa.git;h=c55451dbb ]
Merge pull request #251 from apache/OPENJPA-3055
[OPENJPA-3055] Keep the fraction of a second in EXTRACT(SECOND) on MySQL and
MariaDB
> EXTRACT(SECOND) lost the fraction (all MySQL and MariaDB jobs)
> --------------------------------------------------------------
>
> Key: OPENJPA-3055
> URL: https://issues.apache.org/jira/browse/OPENJPA-3055
> Project: OpenJPA
> Issue Type: Bug
> Reporter: Richard Zowalla
> Assignee: Richard Zowalla
> Priority: Major
> Fix For: 4.2.0
>
>
> - MySQL and MariaDB return only whole seconds for EXTRACT(SECOND). The fix
> adds EXTRACT(MICROSECOND)/1000000.0, the same approach OPENJPA-3041 used for
> H2.
> - A second cause turned up after that: LocalTime parameters were sent to
> the database as java.sql.Time, which has no fraction of a second. Both
> dictionaries now send and read LocalTime directly, like H2 and Postgres
> already do.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)