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

前端 未结 3 1627
情歌与酒
情歌与酒 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 12:57

    Another answer may be to check schema permissions - which may be useful for others who happen to come across the subject heading of this question. I had the same exact symptoms regarding the error message which was;

    
    
    

    The solution was to enable permissions on that schema for the user I was using to log in with.

    Also: Noting that a good diagnostic tool here is to log into the postgres command line console with the same user your program is using and attempt to access the table and schema in the same way.

提交回复
热议问题