Felix's Blog
  • Java
  • Linux
  • Pelican
  • Python
  • Sql
  • Archives

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

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 ...

more ...

  • Social

    • twitter
    • facebook
    • github
  • Tags

    • sql
    • pelican
    • github pages
    • PostgreSQL
    • python
    • linux
    • CentOS
    • hibernate
    • java
    • pychram
    • Geometry
    • tty
    • jetbrains
    • ssh
    • markdown
    • Virtualenvwrapper
    • json
    • ubuntu
    • pip
    • rollup
    • svn
    • mysql-python
    • ftp
    • xml
    • postgis
    • mysql
    • iptables
    • template
    • virtualenv
    • pyenv
    • Spring MVC
  • Links

    • x-dev
    • 三千网络

© 2014 Felix ·

Back to top