Skip to content

[spring-tx] Unable to override prepareSynchronization of AbstractPlatformTransactionManager from v6.1.0 #32000

Closed
@tagorenathv

Description

From spring-framework v6.1.0, prepareTransactionStatus() has been changed from protected to private in AbstractPlatformTransactionManager.
With this we are unable to extend JpaTransactionManager to override prepareSynchronization() to set SESSION encrypt.key for new transactions.

Is this intended ? If yes, how to set for latest versions?
Reference doc links: 6.0.9 vs 6.1.0

Thanks in advance.

Metadata

Assignees

Labels

in: dataIssues in data modules (jdbc, orm, oxm, tx)type: regressionA bug that is also a regression

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions