Subject | Re: [Firebird-Architect] The Wolf on Firebird 3 |
---|---|
Author | Jim Starkey |
Post date | 2005-11-07T17:46:20Z |
Ivan Prenosil wrote:
offset, int length, const void *buffer) and fetched with
ResultSet::getBlob, Blob::length(), and Blob::getBytes(long offset, long
length, void *buffer). ResultSet::getBlob works with any database data
type.
I should probably make the offsets and lengths int64's on general
principles.
--
Jim Starkey
Netfrastructure, Inc.
978 526-1376
>>>Not at all. Binary data is set with PreparedStatement::setBytes(int
>>>
>>ResultSet::getString returns a null terminated string. You use it,
>>assign it to a string class, and copy it before the next "next()". You
>>don't worry about the length. It's a string.
>>
>>
>
>Does it mean binary data (containing zeros) will not be supported any more ?
>
>
>
>
offset, int length, const void *buffer) and fetched with
ResultSet::getBlob, Blob::length(), and Blob::getBytes(long offset, long
length, void *buffer). ResultSet::getBlob works with any database data
type.
I should probably make the offsets and lengths int64's on general
principles.
--
Jim Starkey
Netfrastructure, Inc.
978 526-1376