Element 'query-param' in *.hbm.xml files causes ClassCastException

Description

When using *.hbm.xml files with a query with parameters the parsing finishes with a CCE as below:

The attached archive contains a project with a unit test that reproduces the problem.

Environment

None

Activity

Show:
Koen Aers
December 2, 2015, 12:04 PM

I have opened a PR that fixes this issue: https://github.com/hibernate/hibernate-orm/pull/1173

Assignee

Unassigned

Reporter

Koen Aers

Fix versions

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure