Issue Details (XML | Word | Printable)

Key: JDBC-388
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Mark Rotteveel
Reporter: Zoltan Kuroli
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Jaybird JCA/JDBC Driver

Connection.getMetaData().getColumns ResultSet contains wrong (empty) COLUMN_DEF if column type was defined using Domain

Created: 03/Apr/15 07:08 AM   Updated: 31/May/15 02:37 PM
Component/s: JDBC driver
Affects Version/s: Jaybird 2.2.5, Jaybird 2.2.7
Fix Version/s: Jaybird 2.2.8, Jaybird 3.0.0

Environment: JDK8, Fedora 20, x64, tomcat 8.0.15


 Description  « Hide
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.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Mark Rotteveel added a comment - 03/Apr/15 07:31 AM
Planned for 2.2.8