January 12,2007

[JAVA] JDBC bug CachedRowSet with the column "Text, NText" in Sql Server 2000

使用sun.jdbc.rowset.CachedRowSet時會發生的怪問題,當MS SQL server 2000的資料欄位型態是 text or ntext的時候,如果資料是空字串,會Catch到SQLException: underlying input stream returned zero bytes。

Solution:改用varchar就沒事了....  囧....



Posted by soboring at 樂多Roodo! │09:49 │引用(0)筆記備忘
樂多分類:網路/3C 工具:編輯本文
Ads by Roodo! 

引用URL

http://cgi.blog.roodo.com/trackback/2639677