深入浅出HIBERNATE好象有提到BLOB操作.

解决方案 »

  1.   

    Using database specific column type for the hibernate "binary" type does bring you one advantage: you can optimize the buffer size for your database: 
    - For Oracle you use "blob" and stick to the 4k limit. 
    only if you can handle blob yourself then you can exceed this limitation of 4k.
      

  2.   

    用10g的jar驱动,好像叫ojdbc14.jar