Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-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 5B9499986 for ; Wed, 16 May 2012 18:37:29 +0000 (UTC) Received: (qmail 48716 invoked by uid 500); 16 May 2012 18:37:29 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 48694 invoked by uid 500); 16 May 2012 18:37:29 -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 48687 invoked by uid 99); 16 May 2012 18:37:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 May 2012 18:37:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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; Wed, 16 May 2012 18:37:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6B39473FD for ; Wed, 16 May 2012 18:37:07 +0000 (UTC) Date: Wed, 16 May 2012 18:37:07 +0000 (UTC) From: "Kim Haase (JIRA)" To: derby-dev@db.apache.org Message-ID: <1631191151.5216.1337193427440.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1579901782.215.1337103129422.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (DERBY-5763) Reference Guide should note the new casing rules for the USERNAME arguments to the NATIVE procedures 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/DERBY-5763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kim Haase updated DERBY-5763: ----------------------------- Issue & fix info: Patch Available > Reference Guide should note the new casing rules for the USERNAME arguments to the NATIVE procedures > ---------------------------------------------------------------------------------------------------- > > Key: DERBY-5763 > URL: https://issues.apache.org/jira/browse/DERBY-5763 > Project: Derby > Issue Type: Improvement > Components: Documentation > Affects Versions: 10.9.0.0 > Reporter: Rick Hillegas > Assignee: Kim Haase > Attachments: DERBY-5763.diff, DERBY-5763.stat, DERBY-5763.zip > > > The work on DERBY-5762 changed the behavior of the USERNAME arguments to the NATIVE procedures. Now those arguments are case-sensitive only if you double-quote the username string. For example, the following calls affect the same user, EDWARD: > call syscs_util.syscs_create_user( 'Edward', 'hisPassword' ) > call syscs_util.syscs_create_user( 'EdWard', 'hisPassword' ) > ...while the following call affects a different user, EdWard: > call syscs_util.syscs_create_user( '"EdWard"', 'hisPassword' ) > The rule is this: without double quotes, the USERNAME argument is uppercased. To create camel-case or lowercase users, you need to double-quote the USERNAME. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira