From: SERXIO B. P. Generali-E. <s.b...@ge...> - 2008-02-27 14:44:54
|
Hi! I'm struggling to retrieve a LONGVARBINARY column with pydb2 module. By using several fetchone(), or one fetchall() I get several 32000 bytes chunks that are the ascii hex representation of the binary data in the database. The problem is that I should be getting chunks of 32000 bytes being them the real binary data, not its ascii hex double-byte representation. And of course, If I translate these ascii data to the binary data, I do have just 16000 bytes, missing 16000 more. I'm using pydb2 1.1.1 Any help will be greatly appreciated! Regards, Serxio Barral. --------------- AVISO LEGAL Le informamos, como destinatario de este mensaje, que el correo electrónico y las comunicaciones por medio de Internet no permiten asegurar ni garantizar la confidencialidad de los mensajes transmitidos, así como tampoco su integridad o su correcta recepción, por lo que el emisor no asume responsabilidad alguna por tales circunstancias. La información contenida en este mensaje de correo electrónico y, en su caso, en cualquier fichero anexo al mismo, tiene carácter reservado y confidencial y sujeta al secreto profesional para uso exclusivo de su destinatario o destinatarios, por lo que su divulgación, copia o distribución a terceros están expresamente prohibidas por la Ley. En el caso de haber recibido este mensaje por error se ruega comunicarlo inmediatamente mediante reenvío a la dirección electrónica del remitente, eliminándolo a continuación. |