This content has been marked as final.
Show 2 replies
-
1. Re: Task Assignment Expression, Hibernate Parameter Error
johnhurtchan Nov 14, 2008 6:38 PM (in response to johnhurtchan)I look at the source for IdentitySession.java and see this code...
It looks like "groupName" is a parameter as set by query.setString(). So what can I do to fix this problem? Please help. Thanks.
public Group getGroupByName(String groupName)
{
Group group = null;
Query query = session.createQuery("select g " + "from org.jbpm.identity.Group as g " + "where g.name = :groupName");
query.setString("groupName", groupName);
List groups = query.list();
if ((groups != null) && (groups.size() > 0))
{
group = (Group)groups.get(0);
}
return group;
} -
2. Re: Task Assignment Expression, Hibernate Parameter Error
salaboy21 Nov 14, 2008 8:33 PM (in response to johnhurtchan)This kind of warning / error could be that in you hibernate.cfg.xml you don't have the group, user and membership entities mapper.. maybe there are commented....
Take a look