Blob blob = rs.getBlob("article_content");
InputStream instream = blob.getBinaryStream();
int flength=(int)blob.length();
byte[] b = new byte[flength];
byte[] nb=new byte[1024];
int len=0;
int tlen=0;
while(flength>0){
len=instream.read(nb);
System.arraycopy(nb, 0, b, tlen, len);
tlen+=len;
flength-=len;
}
instream.close();
a.setArticleContent(new String(b,"GBK"));