dcoracle2: clob error understood

Ville Vainio vvainio at tp.spt.fi
Tue Feb 4 13:32:36 CET 2003


I take back my previous posting about segfault on passing clob to
callproc. Apparenty one has to instantiate a clob via
Connection.LobLocator. The following code works:
-------------------
import DCOracle2
db = DCOracle2.connect(...)
c = db.cursor()

lob = db.LobLocator()
lob.write("hei")

c.callproc("myproc",lob)
---------------------------




More information about the Python-list mailing list