db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mamta A. Satoor (JIRA)" <j...@apache.org>
Subject [jira] Created: (DERBY-2319) JDBC url attribute territory accepted and ignored after database create time. Instead, it should throw an error.
Date Sat, 10 Feb 2007 15:50:05 GMT
JDBC url attribute territory accepted and ignored after database create time. Instead, it should
throw an error.
----------------------------------------------------------------------------------------------------------------

                 Key: DERBY-2319
                 URL: https://issues.apache.org/jira/browse/DERBY-2319
             Project: Derby
          Issue Type: Bug
    Affects Versions: 10.3.0.0
            Reporter: Mamta A. Satoor
            Priority: Minor


As per Reference Manual, territory attribute can be specified only at database creation time/upgrade
time. 

I created a database with territory=fr. Later, I connected back to the existing database with
a new value for territory=it. There was no error thrown for the territory attribute. The services.properties
file continued to have the territory specified at the database create time, ie derby.serviceLocale=fr
but I had expected to see an error when a user attempts to change the territory attribute
later on,

eg
$ java -Dij.exceptionTrace=true org.apache.derby.tools.ij
ij version 10.3
ij> connect 'jdbc:derby:c:/dellater/db1;create=true;territory=fr';
ij> exit;

Try to give territory attribute again
$ java -Dij.exceptionTrace=true org.apache.derby.tools.ij
ij version 10.3
ij> connect 'jdbc:derby:c:/dellater/db1;territory=it';
ij> exit;


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message