db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DERBY-5763) Reference Guide should note the new casing rules for the USERNAME arguments to the NATIVE procedures
Date Tue, 15 May 2012 17:32:09 GMT
Rick Hillegas created DERBY-5763:
------------------------------------

             Summary: 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


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

        

Mime
View raw message