Hibernate + PostgreSQL : relation does not exist - SQL Error: 0, SQLState: 42P01

前端 未结 3 1629
情歌与酒
情歌与酒 2021-01-04 12:22

I am having some problems trying to work with PostgreSQL and Hibernate, more specifically, the issue mentioned in the title. I\'ve been searching the net for a few hours now

3条回答
  •  情书的邮戳
    2021-01-04 13:11

    I've just solved the same / similar problem by specifying the schema.

    @Entity
    @Table(name = "mytable", schema="myschema")
    public class MyTable implements Serializable {
        ...
    

提交回复
热议问题