[
https://issues.apache.org/jira/browse/OPENJPA-2988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maxim Solodovnik reassigned OPENJPA-2988:
-----------------------------------------
Assignee: Maxim Solodovnik
> LOCAL TIME test query is a tautology matching all rows
> ------------------------------------------------------
>
> Key: OPENJPA-2988
> URL: https://issues.apache.org/jira/browse/OPENJPA-2988
> Project: OpenJPA
> Issue Type: Sub-task
> Components: jpa
> Affects Versions: 4.2.0
> Reporter: Maxim Solodovnik
> Assignee: Maxim Solodovnik
> Priority: Major
> Fix For: 4.2.0
>
>
> Discussion thread:
> https://github.com/apache/openjpa/pull/144#discussion_r3683006359
> **(high)** The query in testGetCurrentLocalTime was changed to
> `localTimeField < LOCAL TIME OR localTimeField >= LOCAL TIME`, a tautology
> matching every row no matter what LOCAL TIME evaluates to. The test now only
> verifies the query parses. Could we keep an assertion that actually
> constrains the result (e.g. compare against a value persisted just before)?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)