2003 14:31
An: [EMAIL PROTECTED]
Betreff: Re: [JBoss-user] CMP support for blobs broken using Sybase
Hi,
The current JBoss implementation does the following mapping for JDBC
access:
Types.CLOB, LONGVARCHAR:use set/getCharacterStream
Types.BLOB, LONGVARBINARY use set/getBinaryS
cc:
Subject: Re: [JBoss-user] CMP support for blobs broken using Sybase
Hi,
The current JBoss implementation does the following mapping for JDBC
access:
Types.CLOB, LONGVARCHAR: use set/getCharacterStream
Types.BLOB, LONGVARBINARYuse set/getB
Hi,
The current JBoss implementation does the following mapping for JDBC
access:
Types.CLOB, LONGVARCHAR:use set/getCharacterStream
Types.BLOB, LONGVARBINARY use set/getBinaryStream
Types.BINARY, VARBINARY use set/getBytes
So, you could try setting the JDBC type to LONGVAR
Further migration problems have reared their head. The Sybase JDBC driver
throws an exception when I try to write a blob using CMP. It complains
that SQL Type 1004 is not supported. This is SqlType.BLOB.
On talking to colleagues who have written JDBC code for sybase and blobs,
I have been told