File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes JDBC-PostgreSQL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "JDBC-PostgreSQL" Watch "JDBC-PostgreSQL" New topic


sahidul karim

Joined: Sep 19, 2006
Posts: 28
I am getting this error while ruuning an application. My database is in PostgreSQL 8.1 and "emp_info" is a table. I have postgresql-8.1-408.jdbc3.jar in WEB-INF/lib.What is the solution to remove this error?

org.postgresql.util.PSQLException: ERROR: relation "emp_info" does not e
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryEx
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutor
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.ja
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Stat
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(Abstract
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc
Prabhu Venkatachalam
Ranch Hand

Joined: Nov 16, 2005
Posts: 502

Check in DB you are connecting to has emp_info table.

you will mention the DB(in bold) in JDBC URL:


Prabhu Venkatachalam<br />SCJP 1.4,SCWCD 1.4<br />
sahidul karim

Joined: Sep 19, 2006
Posts: 28
I have mention database name. database name is wisdb.
is it ok?
I agree. Here's the link:
subject: JDBC-PostgreSQL
It's not a secret anymore!