Ask a Question related to Coldfusion - Getting Started, Design and Development.
-
Mattastic #1
using cftransaction with queries
Hi,
If cfquery fails, how can cftransaction recognise this?
If a query fails I need to roll it back.
Thanks
Mattastic Guest
-
cftransaction
I have a question about CFTRANSACTION. We are currently using CF6.0 with various versions of Oracle and SQL Server. In our server settings we do... -
cftransaction across cfcs
Hi there, There seems to be a REALLY irritating 'feature' of Coldfusion MX, to do with using cftransaction across function call boundaries, which... -
Queries Of Queries Single Quote Problem
When using queries of queries I'm having the following issue. Select Company_ID From qry_MyQuery Where Company_NM = 'MyString''s' <----... -
CFTRANSACTION w/ ROLLBACK
Here's what I'm trying to do, this worked in CF 5, but bombs with the following error in CFMX 6: The <CFCATCH> tag requires an end tag to nest... -
is this possible - cftransaction
I don't want to get into the whole 'users shouldn't have access to the db' discussion. It's a battle that's been lost. We are looking at... -
cf_menace #2
Re: using cftransaction with queries
[url]http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-c15.htm[/url]
<cftransaction action="BEGIN">
<cftry>
<cfquery ... >
INSERT statement
</cfquery>
<cfcatch type="Database">
<cftransaction action="ROLLBACK" />
</cfcatch>
</cftry>
<cftransaction action="COMMIT" />
</cftransaction>
cf_menace Guest
-
Latino #3
Re: using cftransaction with queries
[url]http://www.tecito.com:[/url] Hi. I need some clarification on this topic too. Is
it necessary to use and EXCLUSIVE CFLOCK around the CFTRANSACTION? I have been
using cftransactions around my queries without CFLOCK, but i was reading an
O'Reilly book, they were using both cflock and cftransaction in their queries.
Bye.
Latino Guest
-
vkunirs #4
Re: using cftransaction with queries
Hi
I think we dont reuiqre to use the cflock for cftransaction.
and another thing is the even we dont require to use the rollback ofthe
transaction in the cftransaction.
this will take care automatically. that means either all the cfqueries will be
executed or none.
vkunirs Guest



Reply With Quote

