[JDBC] Failed Connection?

2001-04-17 Thread Steven Smith
I am trying to access a PostgreSQL 7.0 database through JDBC. I get an 'Error connecting to database' message everytime I try to connect. I have setup the network and database to handle JDBC (atleast I think it is) but still the problem persists. I have tried to run the same program from the

[JDBC] InputStream as parameter not supported

2001-04-18 Thread Steven Smith
I am using PostgreSQL 7.0, with the jdbc7.0-1.2.jar file. I am trying to send a Large Object to the database but get an error saying 'InputStream as parameter not supported' The offending statement is 'stmt.setBinaryStream(1, geomStream, geomStream.available());' where geomStream is an instanceof