Subject RE: [firebird-support] odbcjdbc v1.1 b2 bug
Author Helen Borrie
At 10:30 AM 22/01/2004 +1100, you wrote:
>vmdd_tech wrote:
> > Using odbcjdbc v1.1 b2,
>Do you mean OdbjJdbc v1.2 (beta)? That's the latest version at:
>I have started using this recently after switching from the free XTG ODBC
>driver and found the following problem:
>Often the query "select gen_id(my_gen,1) from rdb$database" fails and an
>exception is thrown with the message "Unspecified error". The best that I
>could determine is that the exception was thrown in the provider.

It's quite possible that the driver doesn't tolerate an unnamed field being
returned. How do you get on with using the full syntax?

select gen_id(my_gen,1) AS GEN_FIELD from rdb$database

>Occasionally this query works but mostly it doesn't.

A better place to raise this would be in the firebird-odbc-devel: