Hi,
I have managed to avoid the exception by declaring my custom object as serializable.
Regarding persistence I am using HSQL without writing any file (memory tables), but I am still interested in removing all the hibernate from JBPM if possible.
Dario