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 Watzek (JIRA)" <ji...@apache.org> on 2005/10/19 12:35:45 UTC
[jira] Closed: (JDO-176) JPOX fails when a query calls String.matches
[ http://issues.apache.org/jira/browse/JDO-176?page=all ]
Michael Watzek closed JDO-176:
------------------------------
Resolution: Invalid
This is not a bug because the regular expression passed to method "matches" is invalid.
> JPOX fails when a query calls String.matches
> --------------------------------------------
>
> Key: JDO-176
> URL: http://issues.apache.org/jira/browse/JDO-176
> Project: JDO
> Type: Bug
> Components: tck20
> Reporter: Michael Watzek
> Assignee: Erik Bengtson
>
> JPOX fails when a query calls String.matches. This bug may be reproduced applying patch JDO-159. The SQL generation of the following query is incorrect:
> SELECT FROM org.apache.jdo.tck.pc.company.Person WHERE firstname.matches('*First')
> The LIKE clause of the generated SQL statement contains '*First'. This is a bug. It should contain '%First'.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira