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就沒事了.... 囧....
引用URL
http://cgi.blog.roodo.com/trackback/2639677