You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Michael Bouschen (Jira)" <ji...@apache.org> on 2019/10/27 21:25:00 UTC

[jira] [Resolved] (JDO-746) Allow wildcard matching on StringExpression in typesafe queries (fluent API)

     [ https://issues.apache.org/jira/browse/JDO-746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Bouschen resolved JDO-746.
----------------------------------
    Resolution: Fixed

Interface StringExpression provides two matches methods:
 * BooleanExpression matches(StringExpression expr);
 * BooleanExpression matches(String str);

The TCK class SupportedStringMethods has test cases for the matches methods taking a string.

The matches methods will be added to the specifcation as part of JDO-652.

> Allow wildcard matching on StringExpression in typesafe queries (fluent API)
> ----------------------------------------------------------------------------
>
>                 Key: JDO-746
>                 URL: https://issues.apache.org/jira/browse/JDO-746
>             Project: JDO
>          Issue Type: Improvement
>          Components: api, specification, tck
>    Affects Versions: JDO 3.2
>            Reporter: Jeroen van der Wal
>            Assignee: Michael Bouschen
>            Priority: Major
>             Fix For: JDO 3.2
>
>
> Currently JDOQL 3.1 specifies the matches() function. We are using the fluent API in Datanucleus 4.2 however the 3.2 implementation of the StringExpression does not contain a matches() function.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)