Sorry the ClassCastException was from a custom hibernate type. Here are the
real errors I am getting
Here is the ejbql
select tempUser from User tempUser
Here is the restriction
tempUser.role in (#{exampleRoles})
Here is the exception
| org.hibernate.PropertyAccessException: could not get
Is it possible to use the in statement in an EntityQuery restriction. I am
trying to do something like the following:
| framework:hibernate-entity-query name=testList
| ejbql=select test from Test test
| framework:restrictions
| valuetest.name in #{exampleNameList}/value