mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-29 23:31:58 +00:00
#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:
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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user