The database MetaData returns correctly the Default Value for columns where the Default Value is defined on the column itself.

However if the Default Value is defined in the Domain, the Default Value is not stored any more on the Column definition only on the Domain, and is not returned in the MetaData.

I think beside the Type, Size, etc. data of the Column also the Default Value should be gathered from the Domain to reflect the actual state of the Column.

Description

The database MetaData returns correctly the Default Value for columns where the Default Value is defined on the column itself.
However if the Default Value is defined in the Domain, the Default Value is not stored any more on the Column definition only on the Domain, and is not returned in the MetaData.
I think beside the Type, Size, etc. data of the Column also the Default Value should be gathered from the Domain to reflect the actual state of the Column.