hi,
iam executing the followinf hql query :
String qsMember = " select new com.v2solutions.gn.cdtool.dto.UserList(m.memberId," +
"m.username,m.firstName,m.lastName,m.email,m.active,m.adminFlag,tm) " +
" from Member m,TeamMember tm" +
" where tm.teamMemberId In (select max(tmember.teamMemberId) from TeamMember tmember group by tmember.member)" +
" And m.memberId = tm.member"+
" order by m.memberId";
but iam getting this exception:
net.sf.cglib.beans.BulkBeanException
exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of com.v2solutions.gn.cdtool.dto.TeamMember.setMember
org.hibernate.PropertyAccessException: exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of com.v2solutions.gn.cdtool.dto.TeamMember.setMember
Iam unable to figure it out.I have been struggling with it for 2 days with no solution.
Kindly help me in this.Thanks
|