| Author |
javax.sql.rowset.serial.SerialBlob cannot be cast to oracle
|
Manuel Leiria
Ranch Hand
Joined: Jul 13, 2007
Posts: 171
|
|
Hi there,
I'm facing this exception.
My code:
and the object rta will be inserted into another object.
The variable of interest in FileBlob hbm is defined as follows:
where the type blob is oracle.sql.BLOB
If I change the oracle.sql.BLOB to javax.sql.rowset.serial.SerialBlob in the hbm, I can insert but when I try to get the blob back I get a deserialize exception so this change is not an option.
but when I save the main Object (a cascade operation) I get the following exception:
Any light on the subject?
Thanks in advance,
mleiria
|
Manuel Leiria<br /> <br />--------------<br />Peace cannot be kept by force; it can only be achieved by understanding. <br /> Albert Einstein
|
 |
 |
|
|
subject: javax.sql.rowset.serial.SerialBlob cannot be cast to oracle
|
|
|