Thank guys for immediate suppprt ...
Maciej waht kinf of logs of Hibernate I need to activate to help you help me :-) ?
I'm investigating ... I found that in AcquireDbidBlockCmd property object result from the query obtained from the code reported below is null .
public Long execute(Environment environment) throws Exception {
Session session = environment.get(Session.class);
PropertyImpl property = (PropertyImpl) session.createQuery(
"select property " +
"from "+PropertyImpl.class.getName()+" as property " +
"where property.key = '"+PropertyImpl.NEXT_DBID_KEY+"'"
).uniqueResult();
Here property is null !!
My interested configuration is
....
<task-service />
<object class="org.jbpm.pvm.internal.id.DatabaseDbidGenerator">
<field name="commandService">
<ref object="txRequiredCommandService" />
</field>
</object>
<object class="org.jbpm.pvm.internal.id.DatabaseIdComposer" init="eager" />
Is it correct ?
How I can debug and understand wich transcations objects are playing and its state ?