This content has been marked as final.
Show 1 reply
-
1. Re: Add Actor to ActorPool
trisko Jul 7, 2006 3:17 AM (in response to trisko)Problem solved! I simply have forgotten to add the pooled actor also to the task instance itself, so that's the correct code:
[...]
PooledActor pooledActor = new PooledActor(actorId);
pooledActor.addTaskInstance(taskInstance);
hbSession.save(pooledActor);
pooledActors.add(pooledActor);
taskInstance.setPooledActors(pooledActors);
hbSession.save(taskInstance);
[...]