Re: CFC's and transactions

2003-03-01 Thread Christian Cantrell
In reference to the quote below, although this issue is not technically a bug, that doesn't mean the behavior will not change in the future. I completely agree that it is not optimal behavior, and I would like to see it eventually change it, too. It's in the bugbase, and the product is

CFC's and transactions

2003-02-28 Thread Gyrus
I'm still trying to work out how I can build on CFC's for my new site template system, and I was worried to read something on the list recently saying that CFC's have problems calling methods in parent components. Say I've got a 'people' DB table, with general info on people whether they're

Re: CFC's and transactions

2003-02-28 Thread Alexander Sherwood
At 03:21 PM 2/28/2003 +, you wrote: I'm still trying to work out how I can build on CFC's for my new site template system, and I was worried to read something on the list recently saying that CFC's have problems calling methods in parent components. Say I've got a 'people' DB table, with

Re: CFC's and transactions

2003-02-28 Thread Marius Milosav
- Original Message - From: Gyrus [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, February 28, 2003 10:21 AM Subject: CFC's and transactions I'm still trying to work out how I can build on CFC's for my new site template system, and I was worried to read something on the list recently

Re: CFC's and transactions

2003-02-28 Thread Gyrus
From: Alexander Sherwood [EMAIL PROTECTED] As for CFTRANSACTION, I'm not aware of any problems. I could be wrong, but if you're calling an inherited functions that contains a set of CFTRANSACTION tags, there should not be an issue because of the way CFCs are compiled. From: Marius Milosav

Re: CFC's and transactions

2003-02-28 Thread Sean A Corfield
On Friday, Feb 28, 2003, at 07:21 US/Pacific, Gyrus wrote: Obviously the advantage of CFC's is that I can updateUser() or whatever, and have that method call the updatePerson() method if necessary. Can this not be done? Yes. user.cfc's updateUser() method can call person.cfc's

Re: CFC's and transactions

2003-02-28 Thread Jochem van Dieten
Sean A Corfield wrote: cftransaction ... some code ... callAnotherDatabaseMethod() ... more code ... /cftransaction Any database activity in callAnotherdatabaseMethod() would not be rolled back if you tried to rollback the

CFC's and transactions

2002-12-08 Thread Ulf Unger
Hi, I have a problem using CFTRANSACTION and CFC's with my DBMS (MySQL): If I start a transaction and in this transaction I invoke a method which returns my next primary key ID (cause it is stored in another table, and I update the primary key table with an incremented value) and I have to do a

Re: CFC's and transactions

2002-12-08 Thread Marius Milosav
Company (VICO) Application Demo www.scorpiosoft.com/vicodemo/login.cfm - Original Message - From: Ulf Unger [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, December 08, 2002 6:20 PM Subject: CFC's and transactions Hi, I have a problem using CFTRANSACTION and CFC's

Re: CFC's and transactions

2002-12-08 Thread Sean A Corfield
On Sunday, Dec 8, 2002, at 15:20 US/Pacific, Marius Milosav wrote: It's a known problem. cfunctions are not transaction aware, meaning the any query inside a cffunction will be automatically committed\rollback . That's not quite true. If you have a cftransaction with a single function call,