Added support to use transaction between two contexts using the same database connection