i am working with blob on oracle 9 (thin). I have made a cmp bean that stores data on a blob field in database. The ejb field is from type Object according from oracle 9 jdbc mapping it's blob on database but all insertions in database are null.
Another thing if i use the constructor of the ejb to store the object in the database i get a "java.sql.SQLException: I/O Exception: Connection reset by peer: socket write error". If i use null in constructor and use the setter method of the bean to set the object no cause error but the field is null.
Can anyone helpme with this cmp/blob hell
Very thank you all, and sorry for my english.
Use the OCI driver for large and efficient BLOB support