Can't you instead use setString(1, "x'a'")?
If not, this also brings up another thing. Did you want to treat "x'a'"
as a number now?
In any case, here is a revised version of the patch. =) Thanks for the
pointers.
Also, the remove radix thing is not meant for preventing SQL injection.
It is meant for this like:
create function integer_in(integer) ....
and then using things like select integer_in(1.11231E9)
Kim
On Fri, 2003-07-18 at 13:40, Dmitry Tkach wrote:
> Dmitry Tkach wrote:
>
> >
> > s.setObject (1, "x'a'");
> >
> I meant s.setObject (1, "x'a'", Types.INTEGER) of course...
>
> Dima
>
>