Re: SQLObject connection/transaction blowing up

2006-01-14 Thread jacob . miles
No - I want autoCommit to be false. It defaults to true. SQLObject's documentation says to leave the value blank for false, and to specify any non-blank value for true. Is the SQLObject documentation wrong? Should I specify autoCommit=0? -- http://mail.python.org/mailman/listinfo/python-list

Re: SQLObject connection/transaction blowing up

2006-01-14 Thread paul kölle
[EMAIL PROTECTED] wrote: > I'm trying to connect to a mysql database, with autoCommit and caching > off, and I'm trying to create a transaction. Why does this blow up? As the traceback is telling you, your connectionString is missing the actual values. Not sure about the cache parameter but: conne

SQLObject connection/transaction blowing up

2006-01-14 Thread jacob . miles
I'm trying to connect to a mysql database, with autoCommit and caching off, and I'm trying to create a transaction. Why does this blow up? >>> from sqlobject import * >>> connectionString = 'mysql://[EMAIL >>> PROTECTED]/mc_image_library_dev?cache=&autoCommit=' >>> connection = connectionForURI