Quantcast
Channel: BizTalk Server General Forum
Viewing all articles
Browse latest Browse all 872

Does a SQL Connection initialized inside a atomic scope gets released or closed on exception

$
0
0

Hi All,

I have a orchestartion where i am calling a BRE rules having a database connection variable to fetch some values from database.I intialize the connection and open it inside a atomic scope.After excecuting the BRE i explicitly close the connection also.I am catching the exception from the atomic scope by wrapping the atomic scope inside a long running scope.

If a exception comes from the database inside  the atomic scope it gets caught by the exception block.But does the connection also gets disposed or closed if any exception comes inside the atomic scope?


Alok



Viewing all articles
Browse latest Browse all 872

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>