SQL Server中支持image到Blob的装还吗? please use rs.getBlob(1) instead of rs.getBytes(1) 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 对啊,使用rs.getBytes(1)没错但是可不可以使用下面的办法呢?Blob blob = rs.getBlob( 1 );byte[] b = blob.getBytes( 1, (int)blob.length() ); E:\Program Files\Microsoft SQL Server 2000 Driver for JDBC\Help\jdbcsupp11.html 你看看这个文件,因为sql server2000的MS的JDBC驱动不支持,getBlob()方法。Blob getBlob (int) 2.0 Core No Throws "unsupported method" exception. Blob getBlob (String) 2.0 Core No Throws "unsupported method" exception. 我用同样的代码是没有问题的,我用的是MySQL,不是SQL Server,可能是你的数据库驱动有问题。 关于JTextArea,setText(String)其中String需要用线程控制1秒显示一个字符 ArrayList集合的问题 p2p传输文件,哪位有研究的大侠能说说么,最好有实现! 救命啊,没有鼠标监听的item扩展类,怎么获取 classpath问题 不解 近来下 关于当前时间的菜鸟问题,求救啊!!! byte[7]数组,内容为1,2,...7,转换为String,String显示为"1234567"怎么转换 求助,下面的程序段问题出在哪? 一个简单的程序,测测你机器的速度 急:java 显示VRML的问题 如何把字符串的"\n"去掉?
但是可不可以使用下面的办法呢?
Blob blob = rs.getBlob( 1 );
byte[] b = blob.getBytes( 1, (int)blob.length() );
Blob getBlob (int) 2.0 Core No Throws "unsupported method" exception.
Blob getBlob (String) 2.0 Core No Throws "unsupported method" exception.