Huge performance issue with @Transactional [SPR-15909] #20463
Labels
in: data
Issues in data modules (jdbc, orm, oxm, tx)
status: declined
A suggestion or change that we don't feel we should currently apply
Ács Ádám opened SPR-15909 and commented
Enabling
@Transaction
on a spring service makes a method execution time 100x slower. I set up a minimum example, it shows the following:1 spring bean + 1 pojo, both has a trivial method to execute. Mesured with spring stopwatch.
Without transaction:
pojo: 1ms
bean: 1ms
With transaction:
pojo: 1ms
bean: 89ms
Affects: 4.3.10
Attachments:
The text was updated successfully, but these errors were encountered: