How do I map a nested collection, Map>, with hibernate JPA annotations?

后端 未结 3 1385
自闭症患者
自闭症患者 2020-12-08 16:25

I have a class I am not sure how to annotate properly.

My goal for Holder::data:

  • List should maintain order not by comparator but by the natural orde
3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-08 17:06

    Please note that the referred link to the Hibernate documentation seems out of date, I found the following working: http://docs.jboss.org/hibernate/core/3.5/reference/en/html/collections.html

提交回复
热议问题