I do not see how this is going to break anything. The JDBC spec indicates should, not "must". As the other doc points out you could use either a short or a byte based on your needs. setbyte() will work if the value is in range for the database which means it has to be non-negative for TINYINT in the case of Sybase. setShort() will also work for a TINYINT as long as the value is in range. So i guess i am not sure of your concern dan. This datatype has worked fine for drivers which have supported Sybase and MS SQL server for years. Assuming there is agreement to add TINYINT, i would add it to be compatible with Sybase and MS SQL Server. MySQL seems to claim both ranges, but I didn't look to see how you specifiy signed vs. unsigned. Given MySQL's type handling in other areas I'm not sure they a a good "reference" implementation. Rick, you also, I think, said in one e-mail that Postgres supports TINYINT, I've only been able to find information that Postgres does not support TINYINT, do you have a link? Dan. |
- Re: [jira] Commented: (DERBY-695) Re-enable the TIN... Lance J. Andersen
- Re: [jira] Commented: (DERBY-695) Re-enable th... David W. Van Couvering
- Re: [jira] Commented: (DERBY-695) Re-enabl... Daniel John Debrunner
- Re: [jira] Commented: (DERBY-695) Re-e... Lance J. Andersen
- Re: [jira] Commented: (DERBY-695) Re-enable th... Daniel John Debrunner
- Re: [jira] Commented: (DERBY-695) Re-enabl... 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
