#1245 - Refactor internals - move Transaction ProfileStream creation

Stops the profileId parameter pollution, enables to potentially use transaction label
and runtime toggling of collecting transaction profiling detail.
This commit is contained in:
Rob Bygrave committed 2018-01-31 14:02:50 +13:00
1 parent a92e620f7e
commit 851f1c98b0
14 files changed
+62 -45

No files matched your search

@@ -19,7 +19,7 @@ public class AutoCommitTransactionManager extends TransactionManager {
* Create an autoCommit based Transaction.
*/
@Override
protected SpiTransaction createTransaction(int profileId, boolean explicit, Connection c, long id) {
protected SpiTransaction createTransaction(boolean explicit, Connection c, long id) {
return new AutoCommitJdbcTransaction(prefix + id, explicit, c, this);
}