You did not list much code, but a quick glance at org.jbpm.graph.exe.ProcessInstance.instances seems to indicate that instances are a List not a Map, and lists should be mapped with <list> in hibernate (no <map>) and need an <index> column reference.
The only thing that kept the leeches off of me was this tiny ad:
Gift giving made easy with the permaculture playing cards