hi,
I am using
Hibernate version: 2.
I was using the following querry querry:
Code:
JbpmQuery jbpmquery;
jbpmquery=new JbpmQuery( "select il " +
"from il in class org.jbpm.model.log.impl.InvocationLogImpl");
reports.addAll( executionService.findByQuery(jbpmquery) );
but am getting the following error..
ERROR ServiceRequestAction : (net.sf.hibernate.PropertyAccessException) exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of org.jbpm.model.log.impl.VariableUpdateLogImpl.setVariableInstance.
but when i try using the same querry...
Code:
JbpmQuery jbpmquery;
jbpmquery=new JbpmQuery( "select def " +
"from def in class org.jbpm.model.log.impl.DefinitionImpl");
reports.addAll( executionService.findByQuery(jbpmquery) );
there is no error and everything seems working fine.
Why am i facing such a problem...
Thanks,
Andrew.