SQLServer2005Dialect: pagination query fails if terminating with a semicolon

Description

Following query using using pagination:

throws SQLServerException: Incorrect syntax near ';'

Indeed it is working, when not using pagination feature.
Pullrequest will follow asap...

Environment

SQLServer2005, SQLServer2008, SQLServer2010

Status

Assignee

Lukasz Antoniak

Reporter

Guenther Demetz

Fix versions

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Trivial
Configure