Thread: Hierarchic database

Hierarchic database

From
"Luke"
Date:
Hi,

Does anybody know if it is a hierarchic database which support JDBC ?


----------------------------------------------------------------------
Poczta nowych mozliwosci >>> http://link.interia.pl/f16bc



problem with currency symbol in rs.getString

From
"Kuldip"
Date:
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





Re: problem with currency symbol in rs.getString

From
Barry Lind
Date:
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
>