[#769] | project: api | priority: low | category: bug | |
---|---|---|---|---|
submitter | assigned to | status | date submitted | |
Nikolay | Gilles | open | 2006-10-06 15:11:29.0 | |
subject | [contrib #221] length of characterVarying | |||
code |
created simple vendor class for H2, created table with name varchar. attempted select. |
|||
what happened | threw type compatibility error on select -- dbc is pulling the length with resultset's metadata for display widt\ h. i don't think this is valid in general, and I'm not sure how you're supposed to get the maximum width. in th\ is case h2 is returning a display width of 10, which happens to be the long length string in the table. some dat\ abases now support varchar without a limit, and maybe that's the way that dbc should go to. |
|||
what expected | display width should not be used as varchar limit for select. characterVarying should also support no limit, which is common these days. | |||
[back to overview] |
Nikolay edited on 2006-10-06 15:12:00.0 |
Transferred from the contributions and assigned to Gilles |