Subject Re: FBPreparedStatement
Author patcom123
> Just a question: would it be possible to "enhance" the
> setString(int,String) method to be used to store numeric values (in
> numeric columns, obviously...)? I.e. something like
> setString(1,"123.4"), where column 1 is a decimal(10,2) or so. With
> the current version I get an Exception ("not a string type").

I made this request a while ago (and have since made the changes to
my version) to allow compatibility with the old interclient. It seems
that conversion isn't part of the standard as it can introduce
ambiguities.

You can use setObject, which does do automatic conversion - but it
was easier to re-write setString than change 1000s of references to
it.

JOHN