[#3191] ResultQuery.keepStatement(true) doesn't work correctly with DataSourceConnectionProvider - Added failing integration test