[DB-SIG] Problems w/BLOBs

Matthew T. Kromer matt@zope.com
Wed, 18 Dec 2002 09:48:21 -0500


George Jones wrote:

>Hello,
>     I'm trying to store binary data in a BLOB in an
>Oracle 9i db(Is that, 9i rather than 8, my problem?). 
>I'm new to Python, and very new to DCOracle2, which is
>the module I'm using to connect to the db.  I'm able
>to load the data into the db, although not in the way
>that the documentation suggests, but when I retrieve
>it the LobLocator Object's read method wont work.
>
>  
>

You're doing it exactly right -- the packaged release has a 1-liner bug 
that causes it to think that all LOBS are temporary lobs.  If you get 
the CVS release  and recompile you should be OK.