hibernate h2 embeddable list expected “identifier”

前端 未结 7 2025
别那么骄傲
别那么骄傲 2021-01-17 16:31

I\'m trying to associate a list of function (whom Embeddable) within my Employee Entity and H2 seems unhappy with this saying that it expected an \"identifier\"

7条回答
  •  孤独总比滥情好
    2021-01-17 17:20

    I have the same problem while naming the fields: private String to and private String from , changed to ex. dayTo , dayFrom , and it worked.

提交回复
热议问题