ERROR: relation does not exist

痞子三分冷 提交于 2019-12-02 08:01:09

My first thought was that you were using double quotes for values, but then I looked again and realized you were assembling a query using string concatenation.

DON'T DO THAT. In addition to making these problems impossible to debug you open yourself up to sql injection.

In debugging something like this, you should first port to use placeholder syntax (which PostgreSQL's JDBC driver supports) and then, if that doesn't work, then post the server logs.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!