vertx-sql-client icon indicating copy to clipboard operation
vertx-sql-client copied to clipboard

Add transaction accessor in `Connection`

Open FroMage opened this issue 5 years ago • 0 comments

Once a transaction has been created with Connection.begin it will be associated with the connection, so its implementation keeps it in a field.

It can be useful to add an accessor for it, so that we can check if a connection is in a transaction already, and to obtain the transaction without having to hang on to the connection/transaction tuple.

FroMage avatar May 20 '20 08:05 FroMage