Re: Can I get the underlying connection object?
"Sébastien Sablé" <[email protected]> Wed, 13 Dec 2006 16:55:58 +0100
| Newsgroups | gmane.comp.python.sybase |
|---|---|
| Message-ID | <[email protected]> |
Hi Skip, you can't do that at the moment. you would have to extend the following struct in conn.c in order to expose the 'conn' attribute: static struct memberlist CS_CONNECTION_memberlist[] regards -- S=E9bastien Sabl=E9 2006/12/12, [email protected] <[email protected]>: > Is it possible to get the underlying CS_CONNECTION object from the > ConnectionType object somehow? We have applications where both Python co= de > and wrapped C++ code make SQL queries and would like to make just a singl= e > connection to the database (modulo connection locking issues of course). > > -- > Skip Montanaro - [email protected] - http://www.mojam.com/ > "The hippies and the hipsters did some great stuff in the sixties, > but the geeks pulled their weight too." -- Billy Bragg > _______________________________________________ > Python-sybase mailing list > [email protected] > https://www.object-craft.com.au/cgi-bin/mailman/listinfo/python-sybase >