Subject Re: [IBO] ColumnAttributes with BOOLEAN Domain
Author mag_jung <magjung@phreaker.net>
Thanks very much, Boolean is the only non-prefixed object in my db,
but I'll think about changing it.
DOM_..., TR_... SP_... and so on

I love IBO for taking the monkey work off the developers ..

--- In IBObjects@yahoogroups.com, Lucas Franzen <luc@r...> wrote:

> You have to set the FieldEntryTypes.fetDomainNames property of the
> TIB_Connection to true so that the domain informations will be
retrieved
> after connecting.
>
> Then set the ColumnAttributes property of the TIB_Connection.
> Now you can drop this property at your Queries (it should be
obsolete
> now).
>
> Additionally:
> you can make an entry in the TIB_Connection.DefaultValues like:
> BOOLEAN=BOOLEAN=j,n
> which will automatically assign new values the appropriate value on
> inserting.
>
> Note:
> I think, naming a domain BOOLEAN is asking for trouble within the
next
> versions.
>
> Think about finding a naming convenience, and name eg. domains
> T_SOMETHING or D_STH.
>
> If you follow that rule for triggers, procedures, constraint,
indexess,
> and.. and.. you'll notice that even a big database (in the meaning
of
> with lots of metadata, not data) is easy to maintain and understand.
>
> Just my 2c
>
> Luc.