Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 44242 invoked from network); 17 Aug 2006 23:36:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Aug 2006 23:36:14 -0000 Received: (qmail 8950 invoked by uid 500); 17 Aug 2006 23:36:13 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 8728 invoked by uid 500); 17 Aug 2006 23:36:13 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 8712 invoked by uid 99); 17 Aug 2006 23:36:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Aug 2006 16:36:13 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Aug 2006 16:36:12 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E675C7142C7 for ; Thu, 17 Aug 2006 23:33:14 +0000 (GMT) Message-ID: <23953815.1155857594941.JavaMail.jira@brutus> Date: Thu, 17 Aug 2006 16:33:14 -0700 (PDT) From: "Steve Ebersole (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-1623) Consider ANSI TRIM implementation In-Reply-To: <30960721.1154454013882.JavaMail.jira@brutus> 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/DERBY-1623?page=comments#action_12428830 ] Steve Ebersole commented on DERBY-1623: --------------------------------------- FWIW, an ANSI SQL compliant TRIM function would be fabulous. But even a REPLACE function would allow JPA providers to emulate the ANSI SQL TRIM functionality. Right now in Hibernate, for example, we emulate this on SQL Server and Sybase because neither support the full TRIM definition, but each do support LTRIM, RTRIM, and REPLACE which we use to achieve this emulation. > Consider ANSI TRIM implementation > --------------------------------- > > Key: DERBY-1623 > URL: http://issues.apache.org/jira/browse/DERBY-1623 > Project: Derby > Issue Type: Improvement > Components: SQL > Reporter: Emmanuel Bernard > > JPA is requiring databases to support this ANSI feature esp the ability to chose the trimmed character > TRIM([ [ LEADING | TRAILING | BOTH ] [ chars ] FROM ] str) -- 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