IsolationLevelDataSourceRouter.determineCurrentLookupKey returns the result was null, since AbstractPlatformTransactionManager.getTransaction (TransactionDefinition definition) before calling doBegin(Object transaction, TransactionDefinition definition), setCurrentTransactionIsolationLevel(Integer isolationLevel) is not set, but get a connection, it's bug.
Comment From: pivotal-issuemaster
@springrain Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.
Comment From: pivotal-issuemaster
@springrain Thank you for signing the Contributor License Agreement!
Comment From: snicoll
@springrain please create an issue for this change and provide more details about the use case.
Comment From: springrain
Comment From: snicoll
@springrain thanks for the PR but we can't really proceed without a test that exercise the change. I can see that @jhoeller is now assigned to the original issue so let's keep the conversation there. Thanks for the PR, in any case!