I have the same Problem with an Oracle Long Raw Field. If you solve that please write it down here.
Thank you for answers!
Instead of setting Blob and living it to implementation class like in classes12.zip, can we not convert blobs to streams and write it ....
for instance we have package org.jboss.resource.adapter.jdbc.local.LocalPreparedStatement.java
method setBlob can be changed to call setBinaryStream as show in belo snippet
public void setBlob(int parameterIndex, Blob value) throws SQLException
Long l =new Long(value.length() );
int leng = l.intValue();
setBinaryStream(parameterIndex, value.getBinaryStream() , leng);
// ps.setBlob(parameterIndex, value);
catch (SQLException e)
} // end of try-catch
like wise, change setClob to call setASCIIStream
What do you think of this idea. Kind of worked for me. But I get IllegalStateException now. I am not sure, this is because of the bug I just inserted.!!!