I cant find in any of the books if all the queries in a CFTransaction block 
are single threaded.

Like if i have three querys in the CFTransaction:

<cftransaction>
Query #1: Insert into DB

Query #2: Select from DB to get highest number of Query #1 and increment by 1

Query #3: Insert into DB using the UID created in query #2
</cftransaction>

Will CFTransaction Only allow user 1 to do this, and user 2 has to wait?

Im afraid Query #2 will get bad data.  Will CFLOCK around a CFTransaction help?

Thanks!


______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to