• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!