jTDS incorrectly reports data type info in result set metadata (for DATE columns, reports NVARCHAR)
问题 Currently, the jTDS JDBC driver (1.2.5) against Microsoft SQL Server 2008 appears to incorrectly report the data type for DATE columns as NVARCHAR. It probably behaves the same for both earlier versions of jTDS and SQL Server (2005, 2000) Are there any workarounds for this that don't require switching to a different driver (for example Microsoft's own driver) or patching the jTDS driver? Also I would like to avoid having to perform queries against the data dictionary (INFORMATION_SCHEMA