Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 83836 invoked from network); 19 Oct 2005 10:36:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Oct 2005 10:36:10 -0000 Received: (qmail 37725 invoked by uid 500); 19 Oct 2005 10:36:09 -0000 Mailing-List: contact jdo-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-dev@db.apache.org Received: (qmail 37714 invoked by uid 99); 19 Oct 2005 10:36:09 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Oct 2005 03:36:07 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id E882350F for ; Wed, 19 Oct 2005 12:35:45 +0200 (CEST) Message-ID: <1553574066.1129718145945.JavaMail.jira@ajax.apache.org> Date: Wed, 19 Oct 2005 12:35:45 +0200 (CEST) From: "Michael Watzek (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Closed: (JDO-176) JPOX fails when a query calls String.matches In-Reply-To: <735851295.1128614147906.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ 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