You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Maxim Solodovnik (Jira)" <ji...@apache.org> on 2026/08/20 09:33:00 UTC

[jira] [Commented] (OPENJPA-2987) Externalized-parameter tests reduced to no-op assertions

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

Maxim Solodovnik commented on OPENJPA-2987:
-------------------------------------------

[~rzo1] I believe this one need to be answered by you :)

> Externalized-parameter tests reduced to no-op assertions
> --------------------------------------------------------
>
>                 Key: OPENJPA-2987
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2987
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: jpa
>    Affects Versions: 4.2.0
>            Reporter: Maxim Solodovnik
>            Priority: Major
>             Fix For: 4.2.0
>
>
> Discussion thread: https://github.com/apache/openjpa/pull/144#discussion_r3683006222
> **(high)** These three tests kept their names ("CanDetectExternalized...") but no longer detect anything: the `getExpressions()` helper was deleted and the `isUsingExternalizedParameter(...)` assertions were replaced by `assertNotNull(getResultList())`, which can never fail. Was externalized-parameter detection actually removed from the prepared-query cache, or can the original assertions be restored? As written the tests are no-ops.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)