[Zope-DB] Oracle cursor: integer required!

Dieter Maurer dieter@handshake.de
Mon, 13 Jan 2003 20:36:42 +0100


centershock@t-online.de wrote at 2003-1-13 15:49 +0100:
 > I want to connect an Oracl Database through an external Methode of
 > Zope. 
 > It is no problem to connect the database. I have a problem with the
 > cursor. If  I construct a Coursor and deliver a SQL-statement, Zope
 > reports:
 > 
 > Error Type: TypeError
 > Error Value: an integer is required
 > 
 > code:
 > c = db.cursor()
 > c.execute("select * from test")
Look at the traceback (in "/errorlog").

   It tells you where the exception was raised.

   It was not in the code you have shown us...


Dieter