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-issue-importer opened this issue Apr 3, 2015 · 5 comments

Comments

@firebird-issue-importer
Copy link

@firebird-issue-importer firebird-issue-importer commented Apr 3, 2015

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-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Apr 3, 2015

Modified by: @mrotteveel

Fix Version: Jaybird 2.2.8 [ 10664 ]

Fix Version: Jaybird 3.0 [ 10440 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Apr 3, 2015

Commented by: @mrotteveel

Planned for 2.2.8

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented May 2, 2015

Commented by: @mrotteveel

Added fallback to domain default value.

Commits:
master: f998d92
Branch_2_2: 1ee30b9

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented May 2, 2015

Modified by: @mrotteveel

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

resolution: Fixed [ 1 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented May 31, 2015

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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants