[Orclib-users] OCILIB : Problem with OCI_LOB ( blob)
Open source C and C++ library for accessing Oracle Databases
Brought to you by:
vince_del_paris
|
From: Coulibaly O. D. <cou...@ca...> - 2011-03-10 19:44:33
|
Hi,
I have a problem when i try to insert a array of blob.
There is a part of code :
if (OCI_IsNull(rs_src, i))
{
OCI_BindSetNullAtPos(bnd, pos);
}
else if (OCI_ColumnGetType(col)==OCI_CDT_LOB)
{
OCI_Lob * data = (OCI_Lob *) OCI_BindGetData(bnd);
OCI_Lob **photo = (OCI_Lob **)data;
photo[pos] =OCI_GetLob(rs_src, i);
}
else
{.....}
........
OCI_Execute(st)
the OCI_Execute(st) encounter errors
|