休眠-关系“ xyz”不存在

时间:2019-03-21 09:11:26

标签: spring hibernate spring-boot jdbc

我有时会出现此错误。仅重新启动应用程序有帮助。
我有多个使用同一数据库的实例,这可能是问题吗?

Hibernate: select user0_.id as id1_4_, user0_.email as email2_4_, user0_.name as name3_4_, user0_.prefs as prefs4_4_ from acm_user user0_ where user0_.email=?
07:15:38.948 [http-nio-8094-exec-9] WARN  o.h.e.jdbc.spi.SqlExceptionHelper - SQL Error: 0, SQLState: 42P01
07:15:38.948 [http-nio-8094-exec-9] ERROR o.h.e.jdbc.spi.SqlExceptionHelper - ERROR: relation "acm_user" does not exist
  Position: 112
07:15:38.949 [http-nio-8094-exec-9] WARN  c.a.d.security.OpenIdConnectFilter - org.springframework.dao.InvalidDataAccessResourceUsageException: could not extract ResultSet; SQL [n/a]; nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet

我已配置的Spring Boot:

  

spring.jpa.hibernate.ddl-auto = update

0 个答案:

没有答案