Add setReadOnly(true) method to the Criteria interface

Description

Currently the Query interface has a setReadOnly(true) method but the Criteria interface does not, this makes it impractical to use the Criteria API for read-only queries.

Environment

None

Assignee

Gail Badner

Reporter

Graeme Rocher

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Major
Configure