Re: problem with currency symbol in rs.getString
| От | Barry Lind |
|---|---|
| Тема | Re: problem with currency symbol in rs.getString |
| Дата | |
| Msg-id | 3E3FEEBC.9050204@xythos.com обсуждение исходный текст |
| Ответ на | problem with currency symbol in rs.getString ("Kuldip" <kuldip@fsltechnologies.com>) |
| Список | 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
>
В списке pgsql-jdbc по дате отправления: