ClassCast exception in PagingState using StatementWrapper

Description

We are using StatementWrapper and ran into a class cast problem with PagingState because it's hash method only expects either a BoundStatement or a RegularStatement. It should also check for and unwrap and StatementWrapper statements.

Environment

None

Pull Requests

None

Status

Assignee

Olivier Michallat

Reporter

Dan Jatnieks

Labels

None

PM Priority

None

Reproduced in

None

Affects versions

Fix versions

Pull Request

None

Doc Impact

None

Size

None

External issue ID

None

External issue ID

None

Components

Sprint

Priority

Major
Configure