hibernate could not get next sequence value

后端 未结 11 1435
夕颜
夕颜 2020-11-29 23:32

i have gwt application connect to postgres DB at the backend, and a java class \'Judgement\' mapping the table \'judgements\' in DB, when i tried to persistent a judgement i

11条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-30 00:23

    If using Postgres, create sequence manually with name 'hibernate_sequence'. It will work.

提交回复
热议问题