Return-Path: X-Original-To: apmail-db-jdo-dev-archive@www.apache.org Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C054399AF for ; Mon, 19 Sep 2011 16:11:33 +0000 (UTC) Received: (qmail 84615 invoked by uid 500); 19 Sep 2011 16:11:33 -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 84605 invoked by uid 99); 19 Sep 2011 16:11:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Sep 2011 16:11:33 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Sep 2011 16:11:31 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 0BA70A218D for ; Mon, 19 Sep 2011 16:11:10 +0000 (UTC) Date: Mon, 19 Sep 2011 16:11:10 +0000 (UTC) From: "Michael Bouschen (JIRA)" To: jdo-dev@db.apache.org Message-ID: <195245145.42634.1316448670044.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (JDO-658) JDOQL : Support for further methods (String, Enum, Date, JDOHelper) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JDO-658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13107933#comment-13107933 ] Michael Bouschen commented on JDO-658: -------------------------------------- Patch for Enum.ordinal, Enum.toString and String.trim applied. > JDOQL : Support for further methods (String, Enum, Date, JDOHelper) > ------------------------------------------------------------------- > > Key: JDO-658 > URL: https://issues.apache.org/jira/browse/JDO-658 > Project: JDO > Issue Type: New Feature > Components: specification, tck > Affects Versions: JDO 3 > Reporter: Andy Jefferson > Fix For: JDO 3 maintenance release 1 > > Attachments: JDO-658-mbo.patch, JDO-658.patch, jdohelper_getversion.patch > > > Consider extending JDOQL in JDO3.1 to include a series of new methods, following the contracts of existing Java classes > String.charAt(int) > String.startsWith(String, int) > String.length() > String.trim() > Enum.ordinal() > Enum.toString() > The following are obviously deprecated in the JDK, but worth consideration > Date.getHour() > Date.getMinutes() > Date.getSeconds() > Date.getDay() > Date.getMonth() > Date.getYear() > We already have JDOHelper.getObjectId(Object), so why not add > JDOHelper.getVersion(Object) > On a related topic JDO-633 has "List.get(int)". > Note that all of these are already implemented in the RI. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira