These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: ERROR while executing same querry.
PostPosted: Mon Mar 14, 2005 3:24 am 
Newbie

Joined: Wed Mar 09, 2005 2:15 am
Posts: 3
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.