You should be able to map a java.sql.Blob as an attribute type, and
get a stream for it. However be careful in doing so, as a Blob requires a
live connection, and cannot be detached. If the Blob is too big to be
read, you may consider dealing with it directly through JDBC or a native
query, not mapping it to your object model.