hibernate h2 embeddable list expected “identifier”

前端 未结 7 1880
别那么骄傲
别那么骄傲 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:19

    in my case problem cause was incorrect syntax in insert statement problem :

    insert into 'table name missing' (column names...) values(values...);
    

    after adding table name

    fix:

    insert into 'table name specified' (column names...) values(values...);
    

    some times trivial mistakes are hard to spot :)

提交回复
热议问题