Sorry, that does not work. The driver I use (jaybird 2.0.1) returns still smallint (the type in the domain). I think it cannot return a boolean because there is no standard representation for this type in Firebird.
I thought, that the UDT functionality should work to get the user type, but it seems to be not implemented (yet) in jaybird. André Thomas Dudziak wrote: > On 1/19/06, Martin van den Bemt <[EMAIL PROTECTED]> wrote: >> The driver never returns a boolean/bit, which is kind of a problem with >> getting the tests to pass, >> unless on database creation I start creating domain types names boolean and >> bit. >> >> Any suggestions welcome :) > > You could try Andre's suggestion (using domains) and see what the > driver does. If it still does not return boolean/bit, then we're out > of luck. But that's what the third argument is for in the native type > mapping call. DdlUtils will at least not try to change the column when > the database is altered. > > Tom >
