|
Daniel John Debrunner wrote: Understand but this is also somewhat of a guide as not every database supports the datatypes listed in the list so it is not just a straight answer.Lance J. Andersen wrote:Hmmmm, that's kind of an awkward place to be in. It seems you want to add this non-standard SQL type to match other databases, but by matching the other databases you break the JDBC spec. :-) JDBC is really just plumbing so unfortunately the user has to know the requirements of the backend. True, but this is not the only scenario where this could happen due to database compatiblity issuesThus they may find their application works fine, because they only test it with values in the range 0-128, but later hit bugs in the field when larger values are used. I will put this on my todo list to have the fun EG discussion, but i am afraid this will open up pandoras box about all data types that are not explictly supported.If the JDBC TINYINT type was really put there to match the TINYINT SQL datatype of SQL Server and Sybase, then maybe JDBC 4.0 should clarify this so that the type mapping in B1 and B2 is TINYINT <-> short and B6 has the big X in getShort-TINYINT cell? Dan. |
- Re: [jira] Commented: (DERBY-695) Re-enable the TIN... Lance J. Andersen
- Re: [jira] Commented: (DERBY-695) Re-enable th... Lance J. Andersen
- Re: [jira] Commented: (DERBY-695) Re-enable th... Rick Hillegas
- Re: [jira] Commented: (DERBY-695) Re-enabl... Rick Hillegas
- Re: [jira] Commented: (DERBY-695) Re-e... Daniel John Debrunner
- Re: [jira] Commented: (DERBY-695) ... Lance J. Andersen
- Re: [jira] Commented: (DERBY-... Francois Orsini
- Re: [jira] Commented: (DE... David W. Van Couvering
- Re: [jira] Commented:... Daniel John Debrunner
- Re: [jira] Commented:... Rick Hillegas
- Re: [jira] Commented:... Daniel John Debrunner
