On 6/21/07, Aaron Bostick <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I am using the sybase SO adapter to talk to a ASA database.
>
> hub.begin() and hub.commit() don't seem to work for my particular
> database setup.
>
> Is there a simple way to run an execute on a connection cursor to
> explicity force a commit?
>
hi you may want to forward this to the SO list as the main maintainer
doesn't read this list. I'm sure it's either a small bug or just a
couple of lines the initial driver didn't had.
> I looked in the sybaseconnection.py and do not see how hub.begin() and
> commit() relate to the lower level adapter except to say autocommit is
> turned off/does not work for my database.
>
As for doing raw queries, although you should fix the above.
YourSQLObjectClass._connection.queryAll("COMMIT")
should work
> Any help greatly appreciated!
>
> Aaron
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---