I am using jboss portal 2.6.1. I built if from source code and deployed on jboss Application server 4.0.5.
I want to assign contextual roles to user. socreated new table called contextual_roles. where i mapped user role to jbp_uid i.
i have created a domain class corresponding to contextual_role table and did the mapping accordingly (hibernate.xml and *.hbm.xml). Things are working find and am able to access the table using HQL and get the roles. However after i execute
List result = session.createQuery(hql).list();
ERROR [CachedConnectionValve] Application error: PortalServletWithPathMapping did not complete its transaction