Joined: Tue Sep 14, 2004 8:44 am Posts: 1
|
Hi
what is your opinion what is best Blob or byte[] ?
I had many problems with Blobs, e.g. reading datas from blob more than one time (problem was reading twice from InputStream returned by Blob)
What is difference between byte[] and Blob ?
for byte[] i'm using maping :
name="documentBody"
type="binary"
update="true"
insert="true"
access="property"
column="documentBody"
not-null="false"
for Blob i used
name="documentBody"
type="java.sql.Blob"
update="true"
insert="true"
access="property"
column="documentBody"
Name and version of the database I'm using:
Max DB 7
|
|