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

Mapping when using List in the value of Map in hibernate

 
Vish Shukla
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I want to map an attribute of type Map<String, List<Person>> using hibernate. I googled it out and gone through some tutorials & books but couldn't find any clue to map this. Is this possible using Hibernate?

Please help. Thanks in advance.

 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. Have a read of the Hibernate documentation - always the best place to find answers like this.
 
Vish Shukla
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Paul,

Thanks for prompt reply. I tried to get solution from this but I felt its too abstract for me to interpret and get it done.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic