From: | Barry Lind <blind(at)xythos(dot)com> |
---|---|
To: | Kuldip <kuldip(at)fsltechnologies(dot)com> |
Cc: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: problem with currency symbol in rs.getString |
Date: | 2003-02-04 16:47:56 |
Message-ID: | 3E3FEEBC.9050204@xythos.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Kuldip,
Is rs.getString("currencysymbol ") a typo? I don't think you want that
trailing space. If that isn't the problem, can you send a more complete
test case that shows both the query you are issuing and the execute and
fetches from the result set.
thanks,
--Barry
Kuldip wrote:
> 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
>
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>
From | Date | Subject | |
---|---|---|---|
Next Message | Barry Lind | 2003-02-04 17:00:51 | Re: 7.3 compability, select * from myfunc(); |
Previous Message | Barry Lind | 2003-02-04 16:42:29 | Re: java.lang.OutOfMemoryError |