Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB General » View Thread |
Messages 11 to 14 of 14 total |
Handling Transactions |
Tue, Jul 31 2007 8:46 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Gordon,
<< Before the rollback or commit. I pause the executable in the IDE to step through the code. While stepping through the code I complete the update to the first table and then pause code execution - refresh my view of the data in the EDBManager - and see the change that was made. >> In that case there definitely is not a transaction in progress. Are you checking the TEDBDatabase.InTransaction property for the database during the execution to make sure that the database is definitely in the middle of a transaction ? -- Tim Young Elevate Software www.elevatesoft.com |
Thu, Aug 2 2007 11:47 AM | Permanent Link |
Gordon Turner | Tim Young [Elevate Software] wrote:
> > In that case there definitely is not a transaction in progress. Are you > checking the TEDBDatabase.InTransaction property for the database during the > execution to make sure that the database is definitely in the middle of a > transaction ? Yes. I've sent you a sample project with a stripped down COM object and a program module that shows the behavior I'm describing. -- Gordon Turner Mycroft Computing http://www.mycroftcomputing.com |
Mon, Aug 6 2007 4:14 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Gordon,
<< Yes. I've sent you a sample project with a stripped down COM object and a program module that shows the behavior I'm describing. >> Okay, I finally figured out the problem. You're calling FlushBuffers after the updates, and EDB has a bug whereby it is ignoring the transaction when FlushBuffers is being called. The workaround until the next build is to not call FlushBuffers if you're in the middle of a transaction. -- Tim Young Elevate Software www.elevatesoft.com |
Mon, Aug 6 2007 4:39 PM | Permanent Link |
Gordon Turner | Tim Young [Elevate Software] wrote:
> > Okay, I finally figured out the problem. You're calling FlushBuffers after > the updates, and EDB has a bug whereby it is ignoring the transaction when > FlushBuffers is being called. The workaround until the next build is to not > call FlushBuffers if you're in the middle of a transaction. OK. I can live with that since I'm still in development. I'm glad you found the problem as I was beginning to think I was just a little crazy. (Although I probably am a little crazy anyway.) -- Gordon Turner Mycroft Computing http://www.mycroftcomputing.com |
« Previous Page | Page 2 of 2 | |
Jump to Page: 1 2 |
This web page was last updated on Monday, May 6, 2024 at 03:23 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |