使用JDK1.4的JDBC包操作起来可能好一些,因为在新的JDK中更多的增加了对CLOB(Character Large Object)和BLOB(Binary Large Object)的支持,如果需要提取图象文件的话可以使用BLOB
在API中有
java.sql.Blob
它是一个接口,在Resulset中有对BLOB的访问
Blob getBlob(int i) 
public Blob getBlob(int i)
             throws SQLExceptionRetrieves the value of the designated column in the current row of this ResultSet object as a Blob object in the Java programming language. Parameters:
i - the first column is 1, the second is 2, ... 
Returns:
a Blob object representing the SQL BLOB value in the specified column 
Throws: 
SQLException - if a database access error occurs
Since: 
1.2