problem with currency symbol in rs.getString - Mailing list pgsql-jdbc

From Kuldip
Subject problem with currency symbol in rs.getString
Date
Msg-id 006101c2cb62$54cab700$1a01a8c0@kuldip
Whole thread Raw
In response to Hierarchic database  ("Luke" <redbeam@interia.pl>)
Responses Re: problem with currency symbol in rs.getString
List pgsql-jdbc
Hello
I am facing follwoing problem with Postgres JDBC (downloaded from
jdbc.postgresql.org)

I have a data base structure like this

CREATE TABLE currency

(

currencyname varchar(20),

currencysymbol varchar(10) NOT NULL,

)



I am restoring  currencies and its symbols (dollar , $  )(pound, £ )

When i am retireving these currency using rs.getString("currencysymbol ") ,
Driver is throwing java.lang.ArrayIndexOfBoundsException

Anyone have any idea about this??

Thanks in advance
kuldip





pgsql-jdbc by date:

Previous
From: "Luke"
Date:
Subject: Hierarchic database
Next
From: Oliver Jowett
Date:
Subject: Re: DatabaseMetaData oddities