[jboss-user] [JBoss Seam] - Re: How to use in (#{exampleList}) in HibernateEntityQuery

2008-02-12 Thread so38
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

[jboss-user] [JBoss Seam] - How to use in (#{exampleList}) in HibernateEntityQuery

2008-02-06 Thread so38
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