Can not sort on fields with private getters

Description

Build a criteria.
add order to the criteria
the order field should be one with only private getters and setters
an exception is thrown saying that there is no such method in the object

I am applying a patch that fixes this issue

Environment

hibernate 3.2.0

Assignee

Max Ross

Reporter

Aviad Lichtenstadt

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Affects versions

Priority

Minor
Configure