problem with LOB's and DCOracle2

Daniel dlUN-SPAMrubin at yahoo.com
Wed Jun 4 13:58:34 EDT 2003


I'm trying to create a new LOB to insert into a table, but get an error
when I try to read it back in (in fact, it's a very bad error--a seg
fault). I'm using DCOracle2 1.3b Any suggestions?

>>> db=DCOracle2.connect('me/pw at db')
>>> clob=db.LobLocator('SQLT_CLOB')
>>> d='insert into foo values(9, XMLTYPE.createXML(:m))'
>>> clob.write('<f>foo</f>')
10
>>> db.execute(d, clob)
4
>>> c=db.cursor()
>>> c.execute("select * from foo")
1
>>> a=c.fetchall()
Segmentation fault



--
To reply to me directly, please remove "UNSPAM" from my email address






More information about the Python-list mailing list