Edgar Poce wrote:

I think it is, at least with OJB. In ORMBlobValue you should change private byte[] blobValue to private BlobFileValue blobValue;
In OJB you can use a FieldConversion to create the BlobFilevalue, the resultset inputstream can be passed to the BlobFileValue constructor.


e.g.
new BLOBFileValue(rs.getBinaryStream([number or name of the column]))

I don't know if it's possible with hibernate.

I'm not sure either. I know we can define custom mapping types in Hibernate, but I'm not sure how to integrate that with BLOBs...


Regards,
 Serge Huber.

Reply via email to