Details
-
Type:
Pruning
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Works as Designed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Transaction
-
Labels:None
-
Last commented by a User:true
Description
Java serialization is an anti-pattern now, most TransactionManagers rely on DataSource which is not serializable, and neither define `serialVersionUID` nor `readObject()` will cause potential exception, I think is time to remove java.io.Serializable from TransactionInterceptor and *TransactionManager. Any one can explain what is the purpose to make them serializable?