Am 10.11.2009 15:44, schrieb Peter Eberlein:
Hi,

our dba has changed one column type from LONG RAW to BLOB.

After that, the method setBinaryStream() doesn't work anymore. I get
ORA-01460 "unimplemented or unreasonable conversion requested" after
executing the prepared Statement.

I'm using StarBasic with 320m3.

The same method in Java (with only one argument needed) seems to work
fine, so I consider this a bug in OpenOffice.

How to workaround?
The method setBytes() does not work for large files.
May be setBlob(XBlob) is a solution until this is fixed.

Any example for this?

also tried without success: oStat.setObjectWithInfo(column, stream, com.sun.star.sdbc.DataType.BLOB,0) (cannot cast Java.String to oracle.BLOB??)

Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@dba.openoffice.org
For additional commands, e-mail: dev-h...@dba.openoffice.org

Reply via email to