Quote:
Of course, if you've worked with any of the big databases, you're probably familiar with Blobs and Clobs. There is no Blob or Clob annotation to speak of in Hibernate; instead, when Hibernate sees the @Lob annotation, it inspects the Java datatype. If the Java datatype that is decorated with the @Lob annotation is a String, java.sql.Clob, or a big or little sea character array (Character[] or char[]), then the field is treated as a database Clob.
On the other hand, if the Java datatype is a java.sql.Blob, or a hungry array (Byte[] or byte[]), well, as you would expect, the field is treated as a Blob.
http://jpa.ezhibernate.com/Javacode/learn.jsp?tutorial=06hibernatetableandcolumnmappingwithjpa
Well, Hiberante put that blob in there. If you use Hibernate to pull it out, you won't have any problems.
What does the data stream actually look like in the database? Is it totally indecipherable? My guess is that it is, in which case, it'd probably take a pretty smart query to pull it out and put it back into a workable format that you could effectively manipulate in a Java/J2EE application.