[
https://issues.apache.org/jira/browse/OPENJPA-3066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18139093#comment-18139093
]
ASF subversion and git services commented on OPENJPA-3066:
----------------------------------------------------------
Commit 2004c78bded87292cb7b9c609bd9089383ac6bf6 in openjpa's branch
refs/heads/OPENJPA-3028-calendar-temporal from Richard Zowalla
[ https://gitbox.apache.org/repos/asf?p=openjpa.git;h=2004c78bd ]
[OPENJPA-3066] Use pattern matching and braces when building the query cache key
> setParameter(Parameter, Calendar, TemporalType) ignores the TemporalType
> ------------------------------------------------------------------------
>
> Key: OPENJPA-3066
> URL: https://issues.apache.org/jira/browse/OPENJPA-3066
> Project: OpenJPA
> Issue Type: Sub-task
> Reporter: Richard Zowalla
> Assignee: Richard Zowalla
> Priority: Major
> Fix For: 4.2.0
>
>
> The temporal type is lost, so a DATE parameter is bound as a timestamp once
> the query runs from the prepared query cache.
> TCK:
> core.query.apitests.Client1#setParameterParameterCalendarTemporalTypeTest
> fails on MySQL, MariaDB and SQL Server.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)