db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dag H. Wanvik (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-2188) Developer's Guide talks about a jdbc url property "locale" which is not supported by Derby.
Date Mon, 18 Dec 2006 15:04:23 GMT
    [ http://issues.apache.org/jira/browse/DERBY-2188?page=comments#action_12459368 ] 
            
Dag H. Wanvik commented on DERBY-2188:
--------------------------------------

The "Locale=ll_CC" should be "territory=ll_CC", I think. This is what
is used in Derby to specifiy locale when the database is created
(connection attribute). I also find a similar (erroneous) quote in
"Getting started->Quick start guide->Connection URL":

    One or more of the supported attributes of the
    database connection URL, such as ;locale=ll_CC or ;create=true.
                                      ***********************************

This should be "territory=ll_CC", too. Maybe the name has been changed
at one time in the past from "locale" to "territory", and we are
seeing a palimpsest effect.

The missing doc for derby.ui.locale (used by the tools, not at
database creation) should also be fixed, I guess.



> Developer's Guide talks about a jdbc url property "locale" which is not supported by
Derby.
> -------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2188
>                 URL: http://issues.apache.org/jira/browse/DERBY-2188
>             Project: Derby
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 10.2.1.6
>            Reporter: Mamta A. Satoor
>
> Under "Localizing Derby" section, Developer's Guide talks about error messages and tools
not relying on database's locale set by "locale=ll_CC". But Derby does not support any property
called "locale". 
> The exact statement from documentation is as follows 
> "The locale of the error messages and of the tools is not determined by the database's
localle set by the locale=ll_CC attribute when the database is created but instead by the
default system locale. This means that it is possible to create a database with a non-default
locale. In such a case, error messages would not be returned in the language of the database's
locale but in the language of the default locale instead."

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

        

Mime
View raw message