Hi Bjarne,
Now I have a problem with MySQL and the BLOB field. I streamed a file to a
bytearray (byte[]) en defined a BLOB field for that. Until the bean is
passivated all thing go right and the byte[] can be streamed back to a
copy of the original file. but when the file has to be loaded from the
database the byte array gets corrupted and can't be used to copy the
original file.
I looked into the problem and found that the following code is added in
the front of the array:
objBytesq ~ xp±Ï×pur [B¬óøTà xp ¬í ur [B¬óøTà xp ö
Can anyone explain this and when explained give me a solution?
Greetz Ralph
On 01/30/2001 09:50:36 AM jboss-user wrote:
> Hello Per!
>
> Thanks for your help. I've fixed my problem. It was my failure. I stared
at
> my deployment descriptor, compared it with your snippet and this morning
I
> saw that I put BLOB into the jdbc-type directive and vice versa.
>
> Thank you a lot.
> Bjarne
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]