SQLite TransactionScope

Need help? Post your questions here.

Moderator: moderators

SQLite TransactionScope

Postby mateuszos » Thu Jul 16, 2009 5:15 pm

Hi,

I'm using Subsonic with SQLite database. And when I do some inserts or updates within TransactionScope (using(..){}) and then dispose the scope, changes are still saved to the database. I don't have this problem with MySQL database.

Is it possible to use TransactionScope with SQLite provider?
mateuszos
 
Posts: 1
Joined: Thu Jul 16, 2009 5:10 pm

Postby Serphiot » Thu Jul 23, 2009 8:23 pm

I have the same issue, i am using the transactionscope and connectionscope but changes are saved to the database while transactionscope.complete() is not called.

It should not save the changes unless i call Complete(), please help.
Serphiot
 
Posts: 1
Joined: Thu Jul 23, 2009 8:20 pm

Postby sindre_mehus » Fri Jul 24, 2009 5:12 am

Sorry guys, you're on the wrong forum :wink:

This is Subsonic, a music streaming server, not SubSonic the database O-R tool.
Subsonic developer
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway


Return to Help

Who is online

Users browsing this forum: No registered users and 9 guests