TransactionTemplate inherits equals()/hashCode() from DefaultTransactionDefinition [SPR-16572] #21114
Labels
in: data
Issues in data modules (jdbc, orm, oxm, tx)
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
Arne Vandamme opened SPR-16572 and commented
Two
TransactionTemplate
instances are considered equal purely based on theirDefaultTransactionDefinition
properties, without taking the actual configuredPlatformTransactionManager
into account.Cause: the
TransactionTemplate
class inheritsequals()
andhashCode()
fromDefaultTransactionDefinition
. I would assume the actualPlatformTransactionManager
should also be taken into account.Affects: 4.3.14, 5.0.4
Referenced from: pull request #1736, and commits b1295d0, df80614
Backported to: 4.3.15
The text was updated successfully, but these errors were encountered: