Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

org.hibernate.HibernateException: null index column for collection: org.jbpm.graph.exe.ProcessInstan

 
Ashok Mor
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I am getting following error

org.hibernate.HibernateException: null index column for collection: org.jbpm.graph.exe.ProcessInstance.instances

My mapping for map is something like below





So any clue in this?
 
Emanuel Kadziela
Ranch Hand
Posts: 187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic