[jboss-user] [jBPM Users] - Re: How can I query run my own HQL in jBPM 4.x?

vchira do-not-reply at jboss.com
Wed Oct 28 07:08:01 EDT 2009

I can't inject the hibernate session.. i am doing this:

  | <bean id="processEngine" factory-bean="jbpmConfiguration" factory-method="buildProcessEngine" >
  | 		<property name="hibernateSession" ref="jbpmSessionFactory"/>
  | 	</bean>

and I get this error:
anonymous wrote : 
  | Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'hibernateSession' of bean class [org.jbpm.pvm.internal.cfg.SpringConfiguration]: Bean property 'hibernateSession' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262655#4262655

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262655

More information about the jboss-user mailing list