Details
-
Bug
-
Resolution: Done
-
Major
-
8.0.1.Final
-
None
Description
Default value for transaction().useSynchronization() is false, so when the configuration is build programmatically, it is set to false. However, if I configure a non-transactional cache in XML and read the configuration, it is set to true.
This complicates testing, when I want to compare programmatic and XML configurations, and generally it is inconsistent.
When doing equals() operation on configurations. transaction-only attributes should not be compared if transactionMode == NONE, since they actually don't matter.