[Twisted-Python] adbapi and pymssql
Dave Peticolas
dave at krondo.com
Fri May 27 19:25:00 MDT 2005
On Fri, 2005-05-27 at 09:09 +0200, Alessandro Praduroux wrote:
> The problem as I recall was related to the fact that a commit() not coupled
> with a begin() threw an exception, while all other DBAPI implementations were
> resilient to this kind of problem. So I use a slightly modified version of
> Sybase (that I'll send to you separately to avoid traffic on the list, if
> anyone else is interested I'll post it here too, I lost the original patch
> but I have the full package and I'm too lazy to recreate the patch).
>
> A little disclaimer: freetds and thus Sybase.py do not yet implement query
> parameters, if you try using them you will get an error until the freetds
> people figure out how to implement this. I don't know if the mssql module
> implement a workaround for this, Sybase.py doesn't (but it should be fairly
> easy to do it in a compatible way).
As far as I can tell, begin() isn't actually a part of the DBAPI
standard: http://www.python.org/peps/pep-0249.html
That would explain why most DBAPI implementations do not require it :)
dave
More information about the Twisted-Python
mailing list