title: Database Connection and Rollback Process
body: <p>I wonder a case. I have a project using a database (Oracle and Mssql). My project has a framework that I manage transactions. 
  In thread I open a database connection and start a transaction.(In transaction, there are many update and insert queries.) While code is running, somehow connection is closed. Because I have try-catch block, I catch exception and rollback transaction. BUT; if my connection is closed because some reasons, how rollback query can run on database? How can I handle this situation? If I open a new connection and rollback, does it work? </p>
  
  <p>Thanks.</p>