Does anyone know of a way, using the ADO Connection object and SQLOLEDB Provider, to determine if that connection is currently in a transaction. I'm coding in C++.I was not able to find a way
i had to encapsulate anything related to DB connections into a class, and had an instance variable store where a transaction was active.|||Yeah, that's what we did too. I guess the design mistake we made was sharing 1 connection accross multiple instances of this class. I guess we could change the m_bTrans member to be static.
Thanks,
Monday, February 13, 2012
ADO Connection BeginTrans() CommitTrans() RollbackTrans()
Labels:
ado,
begintrans,
committrans,
connection,
database,
determine,
microsoft,
mysql,
object,
oracle,
provider,
rollbacktrans,
server,
sql,
sqloledb,
transaction
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment