Re: [Zope-DB] Getting a cursor?

2006-09-28 Thread Dieter Maurer
Paul Winkler wrote at 2006-9-27 17:44 -0400: >I have the impression that there is no standard way to get access to a >cursor from a Zope DA. >Is that true? True. But you can get at a cursor for each DA using DA specific implementation details, as the DA needs a cursor itself. And as most Zope

Re: [Zope-DB] Getting a cursor?

2006-09-28 Thread Charlie Clark
Am 28.09.2006, 18:33 Uhr, schrieb Paul Winkler <[EMAIL PROTECTED]>: Yes! Thank you very much. Somehow I failed to notice that the connection had a connection attribute. Not surprising really. Most people are quite happy with ZopeDA's the way they are and so we only very rarely get questions

Re: [Zope-DB] Getting a cursor?

2006-09-28 Thread Paul Winkler
On Thu, Sep 28, 2006 at 12:16:54PM -0400, Paul Winkler wrote: > On Thu, Sep 28, 2006 at 06:11:01PM +0200, Charlie Clark wrote: > > Am 28.09.2006, 17:30 Uhr, schrieb Paul Winkler <[EMAIL PROTECTED]>: > > > > >>conn.callproc(procedure_name, params) > > >>while True: > > >>rset = conn.fetchone()

Re: [Zope-DB] Getting a cursor?

2006-09-28 Thread Paul Winkler
On Thu, Sep 28, 2006 at 06:11:01PM +0200, Charlie Clark wrote: > Am 28.09.2006, 17:30 Uhr, schrieb Paul Winkler <[EMAIL PROTECTED]>: > > >>conn.callproc(procedure_name, params) > >>while True: > >>rset = conn.fetchone() > >No dice, it barfs on that line: > >Traceback (most recent call last): >

Re: [Zope-DB] Getting a cursor?

2006-09-28 Thread Paul Winkler
On Thu, Sep 28, 2006 at 11:20:13AM +0200, Charlie Clark wrote: > Am 28.09.2006, 00:26 Uhr, schrieb Paul Winkler <[EMAIL PROTECTED]>: > > >I'll be writing product code, and am currently just experimenting via > >zopectl debug, so I have full access to everything. But I still can't > >see how to ge

Re: [Zope-DB] Getting a cursor?

2006-09-28 Thread Charlie Clark
Am 28.09.2006, 00:26 Uhr, schrieb Paul Winkler <[EMAIL PROTECTED]>: I'll be writing product code, and am currently just experimenting via zopectl debug, so I have full access to everything. But I still can't see how to get a cursor or anything else that will let me retrieve multiple record sets

Re: [Zope-DB] Getting a cursor?

2006-09-27 Thread Paul Winkler
On Wed, Sep 27, 2006 at 11:51:40PM +0200, Charlie Clark wrote: > Am 27.09.2006, 23:44 Uhr, schrieb Paul Winkler <[EMAIL PROTECTED]>: > > >Any suggestions? > >p.s. I'll be asking egenix too, we'll see if they reply to help requests > >without a purchased license... but then, if I can't get this to

Re: [Zope-DB] Getting a cursor?

2006-09-27 Thread Charlie Clark
Am 27.09.2006, 23:44 Uhr, schrieb Paul Winkler <[EMAIL PROTECTED]>: Any suggestions? p.s. I'll be asking egenix too, we'll see if they reply to help requests without a purchased license... but then, if I can't get this to work there's no point in purchasing one :-] Why shouldn't we answer supp