org.postgresql.util.PSQLException: ERROR: column "loginid" of relation "userinfo" does not exist

前端之家收集整理的这篇文章主要介绍了org.postgresql.util.PSQLException: ERROR: column "loginid" of relation "userinfo" does not exist前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

背景:postsql 初始接触,把字段全部大写了。

postsql字段需要小写,不然会出现以下错误

Caused by: org.postgresql.util.PsqlException: ERROR: column "loginid" of relation "userinfo" does not exist
  位置:30
	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2101)
	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1834)
	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
	at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:510)
	at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:386)
	at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:332)
	at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPreparedStatement.java:104)
	at org.hibernate.jdbc.NonBatchingBatcher.addToBatch(NonBatchingBatcher.java:46)
	at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2265)
	... 78 more
原文链接:https://www.f2er.com/postgresql/196469.html

猜你在找的Postgre SQL相关文章