db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anders Morken (JIRA)" <derby-...@db.apache.org>
Subject [jira] Commented: (DERBY-1244) ij no longer returns error messages based on derby.ui.locale
Date Fri, 21 Apr 2006 19:03:06 GMT
    [ http://issues.apache.org/jira/browse/DERBY-1244?page=comments#action_12375619 ] 

Anders Morken commented on DERBY-1244:
--------------------------------------

Works for me, using both jars and classes from a freshly built rev 395950.

[andersmo@klabb tmp]$ java -cp ../jars/sane/derby.jar:../jars/sane/derbyLocale_de_DE.jar:../jars/sane/derbytools.jar
-Dderby.ui.locale=de_DE org.apache.derby.tools.ij
IJ Version 10.2
ij> connect 'jdbc:derby:bladb';
ij> drop table t;
0 Zeilen eingefügt/aktualisiert/gelöscht
[andersmo@klabb tmp]$ java -cp ../classes/ -Dderby.ui.locale=de_DE org.apache.derby.tools.ij
IJ Version 10.2
ij> connect 'jdbc:derby:bladb';
ij> create table t(c1 int);
0 Zeilen eingefügt/aktualisiert/gelöscht
ij>
[andersmo@klabb tmp]$ which java
/usr/java/j2sdk1.4.2_09/bin/java
[andersmo@klabb tmp]$ echo $JAVA_HOME
/usr/java/j2sdk1.4.2_09


> ij no longer returns error messages based on derby.ui.locale
> ------------------------------------------------------------
>
>          Key: DERBY-1244
>          URL: http://issues.apache.org/jira/browse/DERBY-1244
>      Project: Derby
>         Type: Bug

>   Components: Tools
>     Versions: 10.2.0.0
>     Reporter: Myrna van Lunteren
>     Assignee: Andrew McIntyre
>      Fix For: 10.2.0.0

>
> ij no longer resolves derby.ui.locale after checkin of revision 395088 (for ij --help)
> Before this change one could get the following:
> -----------------
> java -Dderby.ui.locale=de_DE org.apache.derby.tools.ij
> IJ Version 10.2
> ij> connect 'jdbc:derby:bladb';
> ij> create table t(c1 int);
> 0 Zeilen eingef..gt/aktualisiert/gel..scht
> ij> select x;
> FEHLER 42X01: Syntax error: Encountered "<EOF>" at line 1, column 8.
> ij>
> ------------------
> (I replaced the on my system funkily displayed u- and o-umlaut with .. ). 
> Now, the same process goes like this:
> ------------------
> $ >java -Dderby.ui.locale=de_DE org.apache.derby.tools.ij
> ij version 10.2
> ij> connect 'jdbc:derby:bladb';
> ij> create table t(c1 int);
> 0 rows inserted/updated/deleted
> ij> select x;
> ERROR 42X01: Syntax error: Encountered "<EOF>" at line 1, column 8.
> ij>
> --------------------
> (I'm a little puzzled why even when things apparently worked ok, there is the English
'Syntax error', but that's another issue).
> I svn-updated back until the German showed up again, and with revision 395014 all is
ok, with 395088 it's wrong.

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