Added sharing of connection, session and transaction