Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection.getMetaData().getColumns ResultSet contains wrong (empty) COLUMN_DEF if column type was defined using Domain [JDBC388] #430

Closed
firebird-automations opened this issue Apr 3, 2015 · 5 comments

Comments

@firebird-automations
Copy link

Submitted by: Zoltan Kuroli (kz11)

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.

Commits: 3055866 9f80108 f998d92 1ee30b9

@firebird-automations
Copy link
Author

Modified by: @mrotteveel

Fix Version: Jaybird 2.2.8 [ 10664 ]

Fix Version: Jaybird 3.0 [ 10440 ]

@firebird-automations
Copy link
Author

Commented by: @mrotteveel

Planned for 2.2.8

@firebird-automations
Copy link
Author

Commented by: @mrotteveel

Added fallback to domain default value.

Commits:
master: f998d92
Branch_2_2: 1ee30b9

@firebird-automations
Copy link
Author

Modified by: @mrotteveel

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

@firebird-automations
Copy link
Author

Modified by: @mrotteveel

status: Resolved [ 5 ] => Closed [ 6 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment