The TDS protocol does not support JDBC datatype 2002
hibernate 操作Geometry类型为null时返回The TDS protocol does not support JDBC datatype 2002,解决方法如下:
引用自http://sourceforge.net/p/jtds/discussion/104388/thread/5d7d1dad/?limit=25
more ...I found that the JDBC datatype "2002" corresponds to a java.sql.Types.STRUCT
The TdsData.getNativeType(JtdsConnection connection, ParamInfo pi) does not support type STRUCT.
JtdsPreparedStatement ...