Jump to content

PostgreSql JDBC Driver


openxadmin

Recommended Posts

Hi everyone.

I have installed PostgreSql-8.2.3(latest version) and want to create a report using IReport-1.3.1.

 

I first tried to create the connection, the JDBC driver was in the drop down list, but when I asked to test the connection, IReport displayed an error message telling that the JAR file couldn´t be located in the classpath.

Then I downloaded the JDBC driver from www.postgreSql.com. I got the driver for JDBC 4 which is the standard API used by Java 1.6.0 and copied the file to <IREPORT-INSTALL>lib directory. Then the connection test worked.

 

Another problema came, The next step in Report Wizard asks you to provide a SQL statement. I entered the following SQL stat.

select * from cliente;

 

but it simply says:

SQL problems: ERROR: relation "cliente" does not exist{2}

 

I have checked if the table exists and entered the SQL statement "select * from cliente;" in the PGSQL and it worked fine.

 

Anybody helps??

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...