Bug in jTDS database meta data
Brought to you by:
ickzon
There is a little issue in database meta data when dealing with MS SQL Server 2008 and it's new "date" type. jTDS considers it as VARCHAR type of zero length. We believe that the correct way is to use DATE for "date" string and TIMESTAMP for "datetime2" string returned from server.
The issue was reproduced in 1.2.5 (and fixed by ourselves), now it still exists in 1.3.1. Please see attached patch file.
Anonymous