Jbpm 3 might not be optimized for your needs out of the box. But you can easily create your own flavour task instances (look at the TaskInstanceFactory) - and link this to any domain object you choose. The hibernate mapping is then completely up to you.