CFTRANSACTION not working anymore in our environment
Greetings,
I just discovered based on incomplete recording in PROD database that CFTRANSACTION tag is not working anymore. Not sure if that specific to our environment or global issue. Don't know if CF upgade or MS SQL upgrade caused that.. I know that it was working in CF11 environment, we have switched to CF18 about a year and half ago.
My environment:
ColdFusion 2018
Version 2018.0.09.318650
Edition- developer(but it doesn't work in enteprize also)
Microsoft SQL Server Enterprise
Platform NTx64
Version 13.0.5081.1
Example of simple test code below:
<cftransaction action="begin" >
<cfquery name="Test1" datasource="XXX">
INSERT INTO TrTest1 (TestString)
VALUES('Recording 1')
</cfquery>
<cfquery name="Test2" datasource="XXX">
INSERT INTO TrTest2 (TestString)
VALUES('Recording 2')
</cfquery>
<cftransaction action="rollback" />
Rollback is not working, records are inserted Can anybody verfy that or point if that simple test case incorrect. It is pretty much a disaster. I hope it is connected with some setting for MS SQL.
Regards,
Simon Litvak
UC Berkeley
