Introduce getBytes() interface in ResultSet class???
Hi all,
I could be wrong.
After browsing through the source code of connector c++, I found there is no way to read BLOB type column data from MySQL. The available getString() couldn't do this, as the size of the got string will be affected by '\0' byte within BLOB data. And also, the char* data() return by string is not complete as the original BLOB data in my test.
Is there a need to introduce a new interface getBytes() to do this? Or I just missed something in the code that could achieve this?
Any suggestions? Thanks.
Edited 1 time(s). Last edit at 12/20/2008 05:29AM by Bingjun Zhang.
Subject
Views
Written By
Posted
Introduce getBytes() interface in ResultSet class???
4277
December 20, 2008 05:27AM
2620
December 24, 2008 08:32AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.