ClassCastException when using a single region name for both entity and query results

Description

Declared a named cacheable query for an entity and specifying the same region name for both the query and the entity.

When executing the named query the first time, the exception below is raised:

 

Environment

  • Hibernate 5.3

  • Infinispan 9.3

  • JBoss Enterprise Application Platform (EAP) 7.2

Status

Assignee

Gail Badner

Reporter

Stephen Fikes

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Worked in

5.1.17

Components

Affects versions

Priority

Major
Configure