可以用ResultSet接口的这两个方法来取值,这两个方法的返回值是Blob接口
1、Blob getBlob(int i) 
Returns the value of the designated column in the current row of this ResultSet object as a Blob object in the Java programming language. 2、Blob getBlob(String colName) 
Returns the value of the designated column in the current row of this ResultSet object as a Blob object in the Java programming language. 然后可以利用Blob接口定义的方法处理Blob值1、InputStream getBinaryStream() 
Retrieves the BLOB designated by this Blob instance as a stream. 
2、byte[] getBytes(long pos, int length) 
Returns as an array of bytes, part or all of the BLOB value that this Blob object designates. 
3、long length() 
Returns the number of bytes in the BLOB value designated by this Blob object. 
4、long position(Blob pattern, long start) 
Determines the byte position in the BLOB value designated by this Blob object at which pattern begins. 
5、long position(byte[] pattern, long start) 
Determines the byte position at which the specified byte pattern begins within the BLOB value that this Blob object represents.